/* ============================================================
   Multi-Shop SMS — Soft UI Dashboard Pro Theme
   Premium Dark Sidebar + Glassmorphism Header + Full Responsive
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&family=Manrope:wght@500;600;700;800&display=swap');

/* ─── CSS Variables ─── */
:root {
    --sui-purple:   #627BFF;
    --sui-green:    #2DCE89;
    --sui-cyan:     #11CDEF;
    --sui-red:      #F5365C;
    --sui-orange:   #FB6340;
    --sui-yellow:   #FFD600;

    --primary:      #005eb8;
    --primary-dark: #0052a2;
    --primary-soft: #d5e4f7;
    --primary-mid:  #609efc;
    --danger:       #a83836;
    --danger-soft:  #fa746f;
    --warning:      #B45309;
    --warning-soft: #FEF3C7;
    --info:         #005eb8;
    --info-soft:    #d5e4f7;
    --purple:       #665882;
    --purple-soft:  #deccfd;

    --bg:           #F0F2F5;
    --surface:      #ffffff;
    --surface2:     #f3f3fa;
    --border:       #e0e2ec;
    --border-light: #e6e8f1;

    --text:         #344767;
    --text-sec:     #7B809A;
    --text-muted:   #9CA3AF;

    --nav-h:        68px;
    --sidebar-w:    250px;
    --radius:       16px;
    --radius-sm:    10px;
    --radius-xs:    6px;
    --shadow-sm:    0 2px 12px rgba(0,0,0,0.06);
    --shadow:       0 4px 24px rgba(0,0,0,0.10);
    --shadow-lg:    0 10px 40px rgba(0,0,0,0.12);
    --shadow-card:  0 20px 27px 0 rgba(0,0,0,0.05);
    --transition:   0.2s ease;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; }
body {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 99px; }
.custom-scrollbar::-webkit-scrollbar { width: 4px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 4px; }

/* ════════════════════════════════════
   MATERIAL SYMBOLS
════════════════════════════════════ */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

/* ════════════════════════════════════
   APP SHELL — Page Layout
════════════════════════════════════ */
.app-shell {
    min-height: 100vh;
    background: var(--bg);
}

/* ════════════════════════════════════
   SUI DASHBOARD — Stat Cards (Soft UI Style)
════════════════════════════════════ */
.sui-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}
@media (max-width: 1100px) { .sui-stats-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .sui-stats-row { grid-template-columns: 1fr; } }

.sui-stat-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0,0,0,0.04);
    padding: 20px;
    position: relative;
    overflow: visible;
    transition: transform 0.22s, box-shadow 0.22s;
}
.sui-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.sui-stat-icon-box {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-top: -36px;
    margin-bottom: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}
.sui-stat-label {
    font-size: 11px; font-weight: 700;
    color: var(--text-sec);
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 4px;
}
.sui-stat-value {
    font-size: 24px; font-weight: 800;
    color: var(--text); line-height: 1.1;
    font-family: 'Manrope', sans-serif;
}
.sui-stat-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.06);
    font-size: 12px; font-weight: 600;
    color: var(--text-sec);
    display: flex; align-items: center; gap: 5px;
}
.sui-stat-footer .up   { color: var(--sui-green); }
.sui-stat-footer .down { color: var(--sui-red); }

/* ════════════════════════════════════
   SUI CARDS
════════════════════════════════════ */
.sui-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
}
.sui-card-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 22px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.sui-card-title {
    font-size: 15px; font-weight: 700; color: var(--text);
}
.sui-card-subtitle {
    font-size: 12px; color: var(--text-sec); margin-top: 2px;
}
.sui-card-body { padding: 20px 22px; }

/* ════════════════════════════════════
   BADGES / STATUS PILLS
════════════════════════════════════ */
.badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px; border-radius: 99px;
    font-size: 11px; font-weight: 700; letter-spacing: .02em;
}
.badge-active, .badge-completed     { background: #D1FAE5; color: #065F46; }
.badge-pending                      { background: #FEF3C7; color: #92400E; }
.badge-processing                   { background: #DBEAFE; color: #1E40AF; }
.badge-rejected, .badge-failed      { background: #FEE2E2; color: #991B1B; }
.badge-closed                       { background: #F3F4F6; color: #6B7280; }
.badge-admin                        { background: #FEE2E2; color: #B91C1C; }
.badge-owner                        { background: #DBEAFE; color: #1E40AF; }
.badge-staff                        { background: #D1FAE5; color: #065F46; }
.badge-expired                      { background: #FEE2E2; color: #991B1B; }
.badge-credit                       { background: #D1FAE5; color: #065F46; }
.badge-debit                        { background: #FEF2F2; color: #DC2626; }
.badge-green                        { background: rgba(45,206,137,0.12); color: #0f9a5f; }
.badge-blue                         { background: rgba(99,123,255,0.12); color: #4f63e0; }
.badge-red                          { background: rgba(245,54,92,0.12); color: #c0132e; }
.badge-orange                       { background: rgba(251,99,64,0.12); color: #d04000; }

/* ════════════════════════════════════
   BUTTONS
════════════════════════════════════ */
.btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 18px; border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 700;
    border: 1.5px solid transparent;
    transition: all 0.2s; cursor: pointer;
    white-space: nowrap; font-family: inherit;
    text-decoration: none; letter-spacing: .01em;
}
.btn:active { transform: scale(.97); }

.btn-primary {
    background: linear-gradient(195deg, var(--sui-purple), #4F46E5);
    color: #fff; border-color: transparent;
    box-shadow: 0 4px 14px rgba(99,123,255,0.4);
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(99,123,255,0.5); }

.btn-success {
    background: linear-gradient(195deg, var(--sui-green), #059669);
    color: #fff; box-shadow: 0 4px 14px rgba(45,206,137,0.4);
}
.btn-success:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-danger {
    background: linear-gradient(195deg, var(--sui-red), #B91C1C);
    color: #fff; box-shadow: 0 4px 14px rgba(245,54,92,0.4);
}
.btn-danger:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-info {
    background: linear-gradient(195deg, var(--sui-cyan), #0284C7);
    color: #fff; box-shadow: 0 4px 14px rgba(17,205,239,0.4);
}
.btn-info:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-outline {
    background: #fff; color: var(--text-sec);
    border-color: var(--border);
}
.btn-outline:hover { background: var(--bg); border-color: var(--text-sec); color: var(--text); }

.btn-sm  { padding: 6px 14px; font-size: 12px; }
.btn-xs  { padding: 4px 10px; font-size: 11px; }
.btn-block { width: 100%; justify-content: center; }

/* ════════════════════════════════════
   TABLES
════════════════════════════════════ */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }

table { width: 100%; border-collapse: collapse; font-size: 13px; }

thead th {
    background: #F8FAFC;
    padding: 12px 16px;
    text-align: left;
    font-size: 10.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--text-sec);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    white-space: nowrap;
}

tbody td {
    padding: 13px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    vertical-align: middle; font-size: 13px;
}
tbody tr { transition: background 0.15s; }
tbody tr:hover { background: #FAFBFF; }
tbody tr:last-child td { border-bottom: none; }

.row-avatar {
    width: 32px; height: 32px;
    background: rgba(99,123,255,0.1);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; color: var(--sui-purple);
    flex-shrink: 0; margin-right: 8px;
}

/* ════════════════════════════════════
   FORMS
════════════════════════════════════ */
.form-group  { margin-bottom: 16px; }
.form-label  { display: block; font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.form-control {
    width: 100%; padding: 10px 14px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px; color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit; outline: none; appearance: none;
}
.form-control:focus {
    border-color: var(--sui-purple);
    box-shadow: 0 0 0 3px rgba(99,123,255,0.12);
}
textarea.form-control { resize: vertical; min-height: 80px; }
select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}
.form-hint { font-size: 11.5px; color: var(--text-sec); margin-top: 4px; }

/* ════════════════════════════════════
   PAGE HEADER
════════════════════════════════════ */
.page-header {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px; margin-bottom: 24px;
}
.page-header h2 { font-size: 22px; font-weight: 800; color: var(--text); line-height: 1.2; }
.page-header p  { font-size: 13px; color: var(--text-sec); margin-top: 2px; }

/* ════════════════════════════════════
   STAT CARDS (legacy support)
════════════════════════════════════ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px; margin-bottom: 24px;
}
.stat-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px;
    display: flex; align-items: center; gap: 16px;
    transition: var(--transition); box-shadow: var(--shadow-sm);
    position: relative; overflow: hidden;
}
.stat-card::after {
    content: ''; position: absolute; top: 0; left: 0;
    width: 4px; height: 100%; border-radius: 0 2px 2px 0;
}
.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.stat-icon-wrap {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0;
}
.stat-label { font-size: 12px; color: var(--text-sec); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.stat-value { font-size: 26px; font-weight: 800; color: var(--text); line-height: 1.1; margin-top: 2px; }
.stat-sub   { font-size: 11px; color: var(--text-muted); margin-top: 3px; }

.stat-green::after  { background: var(--sui-green); }
.stat-green .stat-icon-wrap { background: rgba(45,206,137,0.1); color: var(--sui-green); }
.stat-red::after    { background: var(--sui-red); }
.stat-red .stat-icon-wrap   { background: rgba(245,54,92,0.1); color: var(--sui-red); }
.stat-blue::after   { background: var(--sui-purple); }
.stat-blue .stat-icon-wrap  { background: rgba(99,123,255,0.1); color: var(--sui-purple); }
.stat-orange::after  { background: var(--sui-orange); }
.stat-orange .stat-icon-wrap { background: rgba(251,99,64,0.1); color: var(--sui-orange); }
.stat-purple::after  { background: #8B5CF6; }
.stat-purple .stat-icon-wrap { background: rgba(139,92,246,0.1); color: #8B5CF6; }

/* ════════════════════════════════════
   CARDS (legacy)
════════════════════════════════════ */
.card {
    background: var(--surface); border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden;
}
.card-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid rgba(0,0,0,0.05);
}
.card-header h3 { font-size: 15px; font-weight: 700; color: var(--text); }
.card-body { padding: 20px; }

/* ════════════════════════════════════
   MODAL
════════════════════════════════════ */
.modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.5); z-index: 10000;
    align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal {
    background: #fff; border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    width: 96%; overflow: auto; max-height: 90vh;
    animation: suiFadeIn 0.25s ease;
}
.modal-footer {
    display: flex; justify-content: flex-end; gap: 8px;
    padding: 12px 20px; border-top: 1px solid rgba(0,0,0,0.06);
    background: #fafafa;
}
@keyframes suiFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════
   ALERTS
════════════════════════════════════ */
.alert { padding: 12px 16px; border-radius: 10px; font-size: 13px; margin-bottom: 12px; }
.alert-danger  { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.alert-success { background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; }
.alert-warning { background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; }
.alert-info    { background: #EFF6FF; border: 1px solid #BFDBFE; color: #1E40AF; }

/* ════════════════════════════════════
   QUICK ACTIONS
════════════════════════════════════ */
.quick-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.quick-btn {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 20px; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 600; color: var(--text);
    transition: var(--transition); box-shadow: var(--shadow-sm); cursor: pointer;
}
.quick-btn:hover {
    background: rgba(99,123,255,0.05); border-color: rgba(99,123,255,0.4);
    color: var(--sui-purple); box-shadow: var(--shadow); transform: translateY(-1px);
}
.q-icon { font-size: 20px; }

/* ════════════════════════════════════
   TOAST
════════════════════════════════════ */
#toast-container {
    position: fixed; bottom: 24px; right: 24px;
    display: flex; flex-direction: column; gap: 8px; z-index: 99999;
}
.toast {
    background: #1e293b; color: #fff;
    padding: 12px 18px; border-radius: 12px;
    font-size: 13px; font-weight: 600;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    animation: suiFadeIn 0.3s ease;
    min-width: 220px; max-width: 360px;
}
.toast.success { background: linear-gradient(135deg, #059669, #065f46); }
.toast.error   { background: linear-gradient(135deg, #DC2626, #991B1B); }

/* ════════════════════════════════════
   GLOBAL NOTICE / MARQUEE
════════════════════════════════════ */
.global-notice { margin-bottom: 16px; }
.notice-shell {
    display: flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, #627BFF, #8B5CF6);
    border-radius: 12px; padding: 10px 16px; overflow: hidden;
    box-shadow: 0 4px 16px rgba(99,123,255,0.4);
}
.notice-badge {
    background: rgba(255,255,255,0.25); color: #fff;
    font-size: 9px; font-weight: 800; letter-spacing: 0.12em;
    padding: 3px 10px; border-radius: 99px; flex-shrink: 0;
}
.notice-marquee { flex: 1; overflow: hidden; }
.notice-track {
    display: flex; gap: 40px; white-space: nowrap;
    animation: marquee 20s linear infinite;
    color: #fff; font-size: 12px; font-weight: 600;
}
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ════════════════════════════════════
   PREMIUM SERVICE SEARCH DROPDOWN
════════════════════════════════════ */

/* Search Input Wrapper */
.svc-search-wrapper { position: relative; }

/* Search Input */
.service-search-input {
    width: 100%;
    background: linear-gradient(135deg, #ffffff, #f8fffe);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 11px 40px 11px 42px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    cursor: text;
    transition: border-color .22s, box-shadow .22s, background .22s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2310B981' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 13px center;
    outline: none;
    font-family: inherit;
}
.service-search-input::placeholder { color: #adb5bd; font-weight: 400; }
.service-search-input:hover { border-color: #a7f3d0; background-color: #f8fffe; }
.service-search-input.svc-input-open,
.service-search-input:focus {
    border-color: #10B981;
    box-shadow: 0 0 0 4px rgba(16,185,129,.12), 0 2px 8px rgba(16,185,129,.08);
    background: #ffffff;
    outline: none;
}

/* ── Dropdown Panel ── */
.svc-dropdown-panel {
    position: fixed;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(16,185,129,.25);
    box-shadow:
        0 4px 6px rgba(0,0,0,.04),
        0 20px 60px rgba(0,0,0,.14),
        0 0 0 1px rgba(16,185,129,.06);
    z-index: 99999;
    overflow-y: auto;
    overflow-x: hidden;
    animation: svcPanelIn .22s cubic-bezier(.34,1.2,.64,1);
    scrollbar-width: thin;
    scrollbar-color: #a7f3d0 transparent;
}
@keyframes svcPanelIn {
    from { opacity: 0; transform: translateY(-10px) scale(.97); }
    to   { opacity: 1; transform: translateY(0)    scale(1);    }
}
.svc-dropdown-panel::-webkit-scrollbar { width: 4px; }
.svc-dropdown-panel::-webkit-scrollbar-track { background: transparent; }
.svc-dropdown-panel::-webkit-scrollbar-thumb { background: #a7f3d0; border-radius: 99px; }

/* ── Panel Top Bar ── */
.svc-panel-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 16px;
    background: linear-gradient(90deg, #ecfdf5, #f0fdf4);
    border-bottom: 1px solid #d1fae5;
    position: sticky; top: 0; z-index: 5;
    border-radius: 16px 16px 0 0;
}
.svc-panel-header > span:first-child { font-size: 11.5px; font-weight: 800; color: #047857; letter-spacing: .02em; }
.svc-panel-clear {
    font-size: 11px; font-weight: 700; color: #dc2626; cursor: pointer;
    padding: 3px 9px; border-radius: 8px; background: #fee2e2;
    transition: background .15s, transform .15s; border: 1px solid #fecaca;
}
.svc-panel-clear:hover { background: #fecaca; transform: scale(1.05); }

/* ── Category Group Label ── */
.svc-group-label {
    display: flex; align-items: center; justify-content: space-between;
    padding: 7px 16px 6px;
    background: #f9fafb;
    border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9;
    position: sticky; top: 41px; z-index: 3;
}
.svc-group-label > span:first-child {
    font-size: 10px; font-weight: 900; letter-spacing: .09em;
    text-transform: uppercase; color: #6b7280;
}
.svc-group-count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 18px; padding: 0 6px;
    background: linear-gradient(135deg, #6ee7b7, #34d399);
    color: #fff; font-size: 9px; font-weight: 900;
    border-radius: 99px;
}

/* ── Service Option Row ── */
.svc-option {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 16px 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f5f7fa;
    transition: background .12s, border-left-color .12s;
    gap: 10px;
    border-left: 3px solid transparent;
    min-height: 46px;
}
.svc-option:last-child { border-bottom: none; }
.svc-option:hover { background: linear-gradient(90deg, #f0fdf4, #f8fffb); border-left-color: #10B981; }
.svc-option.active { background: linear-gradient(90deg, #ecfdf5, #f0fff8); border-left-color: #10B981; }

.svc-opt-left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.svc-opt-icon {
    width: 30px; height: 30px; border-radius: 8px;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; flex-shrink: 0; transition: background .15s;
}
.svc-option:hover .svc-opt-icon,
.svc-option.active .svc-opt-icon { background: linear-gradient(135deg, #6ee7b7, #34d399); }

.svc-opt-name {
    font-size: 13px; font-weight: 600; color: #111827;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: color .12s;
}
.svc-option:hover .svc-opt-name,
.svc-option.active .svc-opt-name { color: #065F46; }

.svc-opt-price {
    font-size: 12px; font-weight: 800; color: #059669;
    background: linear-gradient(135deg, #d1fae5, #ecfdf5);
    border: 1px solid #a7f3d0;
    padding: 4px 11px; border-radius: 99px;
    white-space: nowrap; flex-shrink: 0; letter-spacing: .01em;
}
.svc-option:hover .svc-opt-price,
.svc-option.active .svc-opt-price {
    background: linear-gradient(135deg, #10B981, #059669);
    color: #fff; border-color: transparent;
}

/* ── Highlighted Match Text ── */
mark.svc-match {
    background: linear-gradient(135deg, #fef08a, #fde047);
    color: #78350f; border-radius: 4px; padding: 1px 3px;
    font-style: normal; font-weight: 800;
}

/* ── No Result ── */
.svc-no-result { padding: 28px 20px; text-align: center; font-size: 13px; color: #9ca3af; line-height: 1.7; }
.svc-no-result strong { color: #374151; }

/* ── Selected Pill (after choosing service) ── */
.svc-selected-pill {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; margin-top: 8px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 2px solid #6ee7b7; border-radius: 12px; padding: 10px 14px;
    animation: svcPillIn .28s cubic-bezier(.34,1.56,.64,1);
    box-shadow: 0 4px 14px rgba(16,185,129,.18);
}
@keyframes svcPillIn {
    from { opacity: 0; transform: scale(.9) translateY(6px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.svc-pill-left { display: flex; align-items: center; gap: 9px; min-width: 0; flex: 1; }
.svc-pill-check {
    width: 28px; height: 28px;
    background: linear-gradient(135deg, #10B981, #059669);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 13px; flex-shrink: 0; box-shadow: 0 3px 8px rgba(16,185,129,.35);
}
.svc-pill-name {
    font-size: 13px; font-weight: 700; color: #064e3b;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.svc-pill-price {
    font-size: 13px; font-weight: 900; color: #fff;
    background: linear-gradient(135deg, #10B981, #059669);
    padding: 4px 12px; border-radius: 99px; white-space: nowrap; flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(16,185,129,.3);
}

/* ════════════════════════════════════
   UTILITY
════════════════════════════════════ */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-muted  { color: var(--text-sec); }
.font-bold   { font-weight: 700; }
.font-semibold { font-weight: 600; }
.truncate    { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Section divider */
.section-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 28px 0 20px;
}
.section-divider::before,
.section-divider::after {
    content: ''; flex: 1;
    height: 1px; background: rgba(0,0,0,0.07);
}
.section-divider span {
    font-size: 10px; font-weight: 800; color: var(--text-sec);
    text-transform: uppercase; letter-spacing: 0.12em;
    white-space: nowrap;
}

/* Dashboard bento card hover */
.hover-lift { transition: transform 0.22s, box-shadow 0.22s; }
.hover-lift:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }

/* Progress bars */
.progress-bar {
    height: 6px; border-radius: 99px;
    background: rgba(0,0,0,0.08); overflow: hidden;
}
.progress-fill {
    height: 100%; border-radius: 99px;
    background: linear-gradient(90deg, var(--sui-purple), var(--sui-cyan));
    transition: width 0.6s ease;
}
.progress-fill.green  { background: linear-gradient(90deg, var(--sui-green), #34d399); }
.progress-fill.red    { background: linear-gradient(90deg, var(--sui-red), #fb7185); }
.progress-fill.orange { background: linear-gradient(90deg, var(--sui-orange), #fbbf24); }

/* ════════════════════════════════════
   PRINT
════════════════════════════════════ */
@media print {
    #sui-sidebar, #sui-topbar, #sui-footer,
    #sui-overlay, .no-print { display: none !important; }
    #sui-main { margin-left: 0 !important; padding-top: 0 !important; }
    body { background: #fff !important; }
}

/* ════════════════════════════════════
   OLD CLASS COMPAT (for pages using old header classes)
════════════════════════════════════ */
.app-shell { background: var(--bg); }
.topnav { display: none; } /* hidden — using new sui-topbar */
.global-sidebar { display: none; } /* hidden — using new sui-sidebar */
.page-wrapper {
    /* fallback if some page uses it */
    padding: 28px 28px 40px;
}

/* WA status chip (legacy) */
.wa-status-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 10px; border-radius: 999px;
    border: 1px solid var(--border); background: var(--surface2);
    font-size: 11px; font-weight: 700; color: var(--text-sec);
}
.wa-status-chip.is-connected { border-color: #86EFAC; background: #ECFDF3; color: #166534; }
.wa-status-chip.is-offline   { border-color: #FCA5A5; background: #FEF2F2; color: #991B1B; }
.wa-status-chip .wa-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #9CA3AF;
}
.wa-status-chip.is-connected .wa-dot { background: #22C55E; }
.wa-status-chip.is-offline   .wa-dot { background: #EF4444; }

/* ════════════════════════════════════
   RESPONSIVE HELPERS
════════════════════════════════════ */
@media (max-width: 767px) {
    .hide-mobile { display: none !important; }
    .stats-grid  { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .stats-grid  { grid-template-columns: 1fr; }
    .page-header { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 992px) {
    .show-mobile-only { display: none !important; }
}