/* Ticket Plugin Admin Styles - ticket-admin.css */

.ust-admin-orders-container {
  background: #fff;
  border-radius: 6px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.ust-admin-orders-table,
.ust-superadmin-orders-table,
table.widefat.ust-superadmin-orders-table {
  width: 100%;
  border-collapse: collapse;
}

.ust-admin-orders-table th,
.ust-admin-orders-table td,
.ust-superadmin-orders-table th,
.ust-superadmin-orders-table td,
table.widefat.ust-superadmin-orders-table th,
table.widefat.ust-superadmin-orders-table td {
  padding: 10px 12px;
    border-bottom: 1px solid #eee;
  text-align: left;
}

.ust-admin-orders-table th,
table.widefat.ust-superadmin-orders-table th {
  background: #fafafa;
  font-size: 12px;
  text-transform: uppercase;
  color: #333;
}

/* Ensure status pills and action buttons are visible */
.ust-superadmin-orders-table .ust-status-pill,
.ust-admin-orders-table .ust-status-pill {
    display: inline-block;
    padding: 6px 10px;
    color: #fff;
    font-weight: 700;
}

/* Modal display overrides */
#ust-order-modal.us-modal { display: none; }

.ust-superadmin-orders-table-wrap {
    overflow-x: auto;
}

.ust-admin-pill {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.ust-admin-pill.success { background:#dcfce7; color:#047857 }
.ust-admin-pill.warning { background:#fef3c7; color:#92400e }
.ust-admin-pill.danger { background:#fee2e2; color:#7f1d1d }

.ust-admin-actions { display:flex; gap:8px; }
.ust-admin-btn { padding:6px 10px; border-radius:4px; background:#fff; border:1px solid #ddd; cursor:pointer }

/* Shared toggle switch styling used in the event form advanced settings */
.us-switch-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.us-switch-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.us-switch-slider {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    background: #cbd5e1;
    border-radius: 24px;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.us-switch-slider::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.us-switch-input:checked + .us-switch-slider {
    background: #7c3aed;
}

.us-switch-input:checked + .us-switch-slider::after {
    transform: translateX(20px);
}

.us-switch-input:focus + .us-switch-slider {
    box-shadow: 0 0 0 3px rgba(124, 58, 234, 0.15);
}

.us-switch-text {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
}

@media (max-width:800px) {
  .ust-admin-orders-table { font-size:13px; }
}

/* End ticket-admin.css */
/**
 * UNITEDSAMAJ Tickets — Admin styles (event form ticket settings).
 * Most styling is inline in the admin form. This file is for any admin-specific overrides.
 */

#ticket-advanced-settings {
    animation: ust-fadein 0.3s ease;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
}

@keyframes ust-fadein {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.ust-ticket-type-item {
    position: relative;
    border: 1px solid #dbe5f0;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
    padding: 14px 16px;
    cursor: default;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ust-ticket-type-item:hover {
    border-color: #93c5fd;
    background: #ffffff;
    box-shadow: 0 5px 14px rgba(30, 64, 175, 0.1);
}

.ust-ticket-type-item.ust-ticket-expanded {
    border-color: #60a5fa;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(30, 64, 175, 0.12);
}

.ust-ticket-collapsed-header {
    display: flex;
    align-items: stretch;
    gap: 4px;
    min-height: 28px;
}

.ust-ticket-collapse-toggle {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: inherit;
}

.ust-ticket-collapse-toggle .ust-ticket-summary-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ust-ticket-collapsed-header .ust-ticket-status-indicator {
    flex: 0 0 auto;
    margin: 0 0 0 10px;
}

.ust-ticket-collapse-icon {
    position: relative;
    flex: 0 0 auto;
    margin-left: auto;
    width: 18px;
    height: 18px;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    background: #f8fafc;
    color: #2563eb;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.ust-ticket-collapse-icon::before,
.ust-ticket-collapse-icon::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 4px;
    width: 8px;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.2s ease;
}

.ust-ticket-collapse-icon::after {
    transform: rotate(90deg);
}

.ust-ticket-expanded .ust-ticket-collapse-icon {
    border-color: #93c5fd;
    background: #eff6ff;
}

.ust-ticket-expanded .ust-ticket-collapse-icon::after {
    transform: rotate(0deg);
}

.ust-ticket-details {
    padding-top: 8px;
}

.ust-ticket-details[hidden] {
    display: none;
}

.ust-ticket-action-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 5px 9px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ust-ticket-action-icon {
    font-size: 13px;
    line-height: 1;
}

.ust-ticket-edit-button {
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.ust-ticket-edit-button:hover {
    background: #eff6ff;
    border-color: #93c5fd;
}

.ust-ticket-action-button.is-delete {
    border-color: #fecaca;
    color: #b91c1c;
}

.ust-ticket-action-button.is-delete:hover {
    background: #fef2f2;
    border-color: #fca5a5;
}

.ust-ticket-action-button.is-close {
    border-color: #fed7aa;
    color: #c2410c;
}

.ust-ticket-action-button.is-close:hover {
    background: #fff7ed;
    border-color: #fdba74;
}

.ust-ticket-action-button.is-resume {
    border-color: #bbf7d0;
    color: #15803d;
}

.ust-ticket-action-button.is-resume:hover {
    background: #f0fdf4;
    border-color: #86efac;
}

.ust-ticket-sort-hint {
    display: block;
    margin: 0 0 10px;
    color: #64748b;
    font-size: 12px;
}

.ust-ticket-drag-handle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 6px;
    color: #64748b;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
}

.ust-ticket-type-placeholder {
    min-height: 78px;
    border: 2px dashed #93c5fd;
    border-radius: 12px;
    background: #eff6ff;
}

.ust-ticket-type-item.ui-sortable-helper {
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
    cursor: grabbing;
}

.ust-ticket-type-item.ui-sortable-helper * {
    cursor: grabbing !important;
}

.ust-admin-page-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 28px;
    margin: 18px 0 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 55%, #60a5fa 100%);
    color: #fff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.ust-admin-page-hero h1 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 30px;
    line-height: 1.15;
}

.ust-admin-page-hero p {
    margin: 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
}

.ust-admin-page-hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    max-width: 420px;
}

.ust-admin-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.ust-admin-badge-mode {
    background: rgba(34, 197, 94, 0.2);
    color: #dcfce7;
}

.ust-admin-tickets-page {
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    padding: 22px 24px 26px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.ust-admin-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 16px;
}

.ust-admin-subnav-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dbe3ef;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
}

.ust-admin-subnav-link.active {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}

.ust-admin-page-hero-simple {
    margin-top: 0;
}

.ust-admin-tickets-tabs {
    margin: 0 0 22px;
    border-bottom: 1px solid #dbe3ef;
}

.ust-admin-tickets-tabs .nav-tab {
    border: none;
    background: transparent;
    color: #475569;
    font-weight: 600;
    margin-left: 0;
    margin-right: 8px;
    padding: 12px 16px;
    border-radius: 10px 10px 0 0;
}

.ust-admin-tickets-tabs .nav-tab-active {
    background: #eff6ff;
    color: #1d4ed8;
    box-shadow: inset 0 -3px 0 #1d4ed8;
}

.ust-admin-section h3 {
    margin-top: 0;
}

.ust-admin-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.ust-admin-overview-card,
.ust-admin-note-card {
    padding: 18px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.ust-admin-overview-kicker {
    margin-bottom: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ust-admin-overview-value {
    margin-bottom: 8px;
    color: #0f172a;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.ust-admin-overview-card p,
.ust-admin-note-card p {
    margin: 0;
    color: #475569;
}

.ust-admin-overview-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.ust-admin-note-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.ust-superadmin-orders-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
}

.ust-superadmin-orders-filter input,
.ust-superadmin-orders-filter select {
    min-height: 38px;
    min-width: 180px;
}

.ust-superadmin-orders-table-wrap {
    overflow-x: auto;
}

.ust-superadmin-orders-table th,
.ust-superadmin-orders-table td {
    vertical-align: top;
}

.ust-superadmin-orders-table td:nth-child(8) {
    min-width: 240px;
}

.ust-events-empty-state {
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 8px;
    color: #666;
}

.ust-events-empty-icon {
    font-size: 18px;
}

.ust-event-row {
    border-bottom: 1px solid #eee;
}

.ust-event-cell {
    padding: 10px;
}

.ust-event-cell.is-center {
    text-align: center;
}

.ust-event-name {
    font-weight: 600;
}

.ust-event-date {
    text-align: center;
    font-size: 13px;
    color: #666;
}

.ust-event-metric {
    font-weight: 600;
}

.ust-event-metric.is-revenue {
    color: #2e7d32;
}

.ust-event-metric-note {
    color: #e65100;
    font-size: 12px;
}

.ust-event-empty-dash {
    color: #999;
}

.ust-events-mobile-past {
    display: none;
}

.ust-event-card.is-muted {
    opacity: 0.75;
}

.ust-dashboard-table-wrap {
    overflow: visible;
}

.ust-dashboard-table-wrap.is-hidden {
    display: none;
}

.ust-dashboard-events-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.ust-dashboard-events-table thead tr {
    background: #f5f5f5;
}

.ust-dashboard-events-table th {
    padding: 10px;
    text-align: left;
    border-bottom: 2px solid #ddd;
}

.ust-dashboard-events-table th.is-center,
.ust-dashboard-events-table td.is-center {
    text-align: center;
}

.ust-dashboard-events-table td {
    padding: 10px;
}

.ust-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.ust-admin-empty-state {
    padding: 30px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    color: #64748b;
    text-align: center;
}

.ust-admin-refund-reason,
.ust-admin-refund-amount {
    display: block;
    width: 100%;
    margin-bottom: 8px;
}

@media (max-width: 960px) {
    .ust-admin-page-hero {
        flex-direction: column;
    }

    .ust-admin-page-hero-badges {
        justify-content: flex-start;
        max-width: none;
    }
}

/* ─── Shared admin modal utilities ─── */
.us-modal,
.ust-modal {
    --us-modal-shell-padding: 20px;
    --us-modal-max-width: 560px;
    --us-modal-max-height: 92vh;
    --us-modal-radius: 14px;
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--us-modal-shell-padding);
    box-sizing: border-box;
}

.us-modal--sm {
    --us-modal-max-width: 560px;
}

.us-modal--md {
    --us-modal-max-width: 960px;
}

.us-modal--full {
    --us-modal-shell-padding: 0;
    --us-modal-max-width: 100vw;
    --us-modal-max-height: 100vh;
    --us-modal-radius: 0;
}

.us-modal-overlay,
.ust-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.us-modal-content,
.ust-modal-content {
    position: relative;
    background: #fff;
    border-radius: var(--us-modal-radius);
    max-width: var(--us-modal-max-width);
    width: 100%;
    max-height: var(--us-modal-max-height);
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.us-modal--full .us-modal-content,
.us-modal--full .ust-modal-content {
    max-width: none;
    height: 100%;
    max-height: none;
    border-radius: 0;
}

.us-modal-header,
.ust-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    background: #fff;
    border-radius: 8px 8px 0 0;
    z-index: 2;
}

.us-modal-header h3,
.ust-modal-header h3 {
    margin: 0;
    font-size: 17px;
    color: #1d2327;
    font-weight: 600;
}

.us-modal-close,
.ust-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    line-height: 1;
}

.us-modal-close:hover,
.ust-modal-close:hover {
    color: #333;
}

.us-modal-body,
.ust-modal-body {
    padding: 20px;
}

.us-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

body.ust-modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .us-modal,
    .ust-modal {
        --us-modal-shell-padding: 10px;
        --us-modal-max-height: 95vh;
        --us-modal-radius: 12px;
    }

    .us-modal--full {
        --us-modal-shell-padding: 0;
        --us-modal-max-width: 100vw;
        --us-modal-max-height: 100vh;
        --us-modal-radius: 0;
    }
}

.ust-dashboard-page-shell {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
}

.ust-dashboard-page-head {
    margin-bottom: 20px;
}

.ust-dashboard-back-link {
    color: #007cba;
    text-decoration: none;
    font-size: 13px;
}

.ust-dashboard-page-title {
    margin: 8px 0 0;
}

.ust-dashboard-empty-state {
    text-align: center;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    color: #666;
}

.ust-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.ust-summary-card {
    padding: 16px 14px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid transparent;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.ust-summary-card.is-blue {
    background: #eff7ff;
    border-color: #bfdbfe;
}

.ust-summary-card.is-green {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.ust-summary-card.is-amber {
    background: #fffbeb;
    border-color: #fed7aa;
}

.ust-summary-card.is-purple {
    background: #faf5ff;
    border-color: #e9d5ff;
}

.ust-summary-number {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.ust-summary-number.is-blue {
    color: #1d4ed8;
}

.ust-summary-number.is-green {
    color: #15803d;
}

.ust-summary-number.is-amber {
    color: #c2410c;
}

.ust-summary-number.is-purple {
    color: #7e22ce;
}

.ust-summary-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
    margin-top: 4px;
}

.ust-orders-table-wrap {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.ust-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 640px;
}

.ust-orders-table thead tr {
    background: #f8fafc;
}

.ust-orders-table th,
.ust-orders-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
    white-space: nowrap;
}

.ust-orders-table tbody tr:last-child td {
    border-bottom: none;
}

.ust-orders-table tbody tr:hover {
    background: #f9fafb;
}

.ust-orders-table th {
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
    border-bottom: 2px solid #e5e7eb;
}

.ust-orders-table th.is-center,
.ust-orders-table td.is-center {
    text-align: center;
}

.ust-orders-table td.is-compact {
    font-size: 12px;
    color: #4b5563;
}

.ust-orders-table td.ust-nowrap {
    white-space: nowrap;
}

.ust-order-customer-name {
    font-weight: 600;
    color: #111827;
}

.ust-order-customer-email {
    font-size: 12px;
    color: #6b7280;
    margin-top: 1px;
}

.ust-order-note-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #c2410c;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.6;
}

.ust-order-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #fff;
    white-space: nowrap;
}

.ust-order-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    transition: opacity 0.15s;
    min-width: 32px;
    min-height: 30px;
}

.ust-order-action-btn:hover {
    opacity: 0.85;
}

.ust-order-action-btn.is-confirm {
    background: #15803d;
    color: #fff;
}

.ust-order-action-btn.is-cancel {
    background: #dc2626;
    color: #fff;
}

.ust-order-action-btn.is-view {
    background: #2563eb;
    color: #fff;
}

.ust-order-actions-cell {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.ust-order-modal-frame {
    display: none;
}

.ust-control-input,
.ust-control-select {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    color: #111827;
}

.ust-control-input {
    padding: 8px 12px;
}

.ust-control-input:focus,
.ust-control-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.ust-control-select {
    padding: 8px 10px;
}

.ust-control-clear {
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.15s;
}

.ust-control-clear:hover {
    background: #f3f4f6;
    color: #111827;
}

.ust-export-orders-btn {
    background: #f8fafc;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 7px 14px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.15s;
}

.ust-export-orders-btn:hover {
    background: #f0f4f8;
}

.ust-empty-panel {
    text-align: center;
    padding: 40px 30px;
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 10px;
    color: #6b7280;
}

/* Orders page — mobile card layout */
@media (max-width: 640px) {
    .ust-summary-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .ust-summary-number {
        font-size: 22px;
    }

    .ust-orders-table-wrap {
        border-radius: 8px;
    }

    .ust-orders-table {
        font-size: 13px;
    }

    .ust-orders-table th,
    .ust-orders-table td {
        padding: 8px 10px;
    }
}

.ust-checkin-stat--success {
    background: linear-gradient(180deg, #ecfdf5, #f0fdf4);
}

.ust-checkin-stat--warning {
    background: linear-gradient(180deg, #fff7ed, #fffbeb);
}

.ust-checkin-stat--info {
    background: linear-gradient(180deg, #eff6ff, #f8fbff);
}

.ust-checkin-stat-value--success {
    color: #15803d;
}

.ust-checkin-stat-value--warning {
    color: #c2410c;
}

.ust-checkin-stat-value--info {
    color: #1d4ed8;
}

.ust-checkin-feedback--spaced {
    margin-top: 12px;
}

.ust-checkin-hidden {
    display: none;
}

.ust-checkin-input {
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
}

.ust-checkin-submit {
    background: #0f172a;
    color: #fff;
    border: 1px solid #0f172a;
}

.ust-checkin-clear {
    background: #fff;
    color: #334155;
    border: 1px solid #cbd5e1;
    text-align: center;
}

.ust-checkin-mobile-stat--success {
    background: linear-gradient(180deg, #ecfdf5, #f0fdf4);
}

.ust-checkin-mobile-stat--warning {
    background: linear-gradient(180deg, #fff7ed, #fffbeb);
}

.ust-checkin-mobile-stat--info {
    background: linear-gradient(180deg, #eff6ff, #f8fbff);
}

.ust-checkin-mobile-stat-value--success {
    color: #15803d;
}

.ust-checkin-mobile-stat-value--warning {
    color: #c2410c;
}

.ust-checkin-mobile-stat-value--info {
    color: #1d4ed8;
}

.ust-checkin-stats--spaced {
    margin-top: 14px;
}

.ust-stripe-view-shell {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ust-stripe-card.is-warning {
    border-color: #fde68a;
}

.ust-stripe-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.ust-stripe-card-header.is-center {
    align-items: center;
    gap: 10px;
}

.ust-stripe-card-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.ust-stripe-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ust-stripe-link {
    margin: 0 0 4px;
    color: #374151;
    font-size: 14px;
}

.ust-stripe-btn-primary {
    background: #635bff;
    color: #fff;
    border: none;
}

.ust-stripe-btn-outline {
    background: #fff;
    color: #dc2626;
    border: 1px solid #dc2626;
}

.ust-stripe-btn-disputes {
    background: #fff;
    color: #92400e;
    border: 1px solid #fbbf24;
    white-space: nowrap;
}

.ust-stripe-info {
    margin-top: 14px;
    padding: 12px;
    background: #f0f4ff;
    border-radius: 8px;
    font-size: 13px;
    color: #374151;
}

.ust-stripe-stat {
    text-align: center;
    border-radius: 8px;
    padding: 14px;
}

.ust-stripe-stat.is-green {
    background: #f0fdf4;
}

.ust-stripe-stat.is-amber {
    background: #fef9c3;
}

.ust-stripe-stat.is-blue {
    background: #eff6ff;
}

.ust-stripe-stat .amount {
    font-size: 26px;
    font-weight: 800;
}

.ust-stripe-amount.is-green {
    color: #15803d;
}

.ust-stripe-amount.is-amber {
    color: #a16207;
}

.ust-stripe-amount.is-blue {
    color: #1d4ed8;
}

.ust-stripe-stat .label {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.ust-stripe-loading-card {
    padding: 14px;
    background: #f9fafb;
    border-radius: 8px;
    text-align: center;
}

.ust-stripe-loading-card.is-centered {
    text-align: center;
    padding: 20px;
}

.ust-stripe-loading-text {
    font-size: 13px;
    color: #6b7280;
}

.ust-stripe-empty-state {
    color: #6b7280;
    font-size: 13px;
}

.ust-stripe-table-wrap {
    overflow-x: auto;
}

.ust-stripe-refund-reason {
    font-size: 12px;
    padding: 4px 6px;
    min-width: 160px;
}

.ust-stripe-refund-amount {
    font-size: 12px;
    padding: 4px 6px;
    width: 80px;
}

.ust-mono {
    font-family: monospace;
}

.ust-mono-wide {
    letter-spacing: 0.06em;
}

.ust-text-danger {
    color: #dc2626;
}

.ust-text-muted {
    color: #6b7280;
    font-size: 13px;
}

.ust-text-success {
    color: #15803d;
    font-weight: 700;
}

.ust-loading-panel {
    text-align: center;
    padding: 12px 0;
}
