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

:root {
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    /* Premium palette */
    --midnight: #060B1A;
    --midnight-soft: #0A1028;
    --royal: #1A3AFF;
    --royal-light: #4D6FFF;
    --teal: #2D5BFF;
    --teal-dark: #0A1F6E;
    --teal-light: #EEF2FF;
    --accent: #7C3AED;
    --accent-light: #EDE9FE;
    --gold: #E8B84B;
    --gold-light: #FDF6E3;
    --gold-dark: #B8860B;
    --champagne: #F5D061;
    --coral: #E85D4C;
    --coral-dark: #993C1D;
    --coral-light: #FAECE7;
    --success: #10B981;
    --success-light: #D1FAE5;
    --warning: #F59E0B;
    --warning-light: #FEF3C7;
    --danger: #EF4444;
    --danger-light: #FEE2E2;
    --sidebar-bg: rgba(255,255,255,0.88);
    --sidebar-text: #64748b;
    --sidebar-active: #1A3AFF;
    --sidebar-active-bg: #EEF2FF;
    --text-primary: #0A0F1E;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: rgba(15,23,42,0.08);
    --border-light: #F1F5F9;
    --surface: #ffffff;
    --page-bg: #F0F4FA;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --shadow-xs: 0 1px 2px rgba(6,11,26,0.04);
    --shadow-sm: 0 2px 8px rgba(6,11,26,0.06), 0 1px 2px rgba(6,11,26,0.04);
    --shadow-md: 0 8px 28px rgba(6,11,26,0.1);
    --shadow-lg: 0 20px 50px rgba(6,11,26,0.14);
    --shadow-brand: 0 12px 36px rgba(26,58,255,0.35);
    --shadow-gold: 0 8px 28px rgba(232,184,75,0.35);
    --gradient-brand: linear-gradient(135deg, #1A3AFF 0%, #4D6FFF 40%, #7C3AED 75%, #A855F7 100%);
    --gradient-brand-animated: linear-gradient(270deg, #1A3AFF, #6D28D9, #1A3AFF, #4D6FFF);
    --gradient-hero: linear-gradient(145deg, #060B1A 0%, #0A1028 30%, #1A1F6E 60%, #1A3AFF 100%);
    --gradient-gold: linear-gradient(135deg, #E8B84B 0%, #F5D061 50%, #E8B84B 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 100%);
    --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Premium navigation */
    --nav-width: 288px;
    --nav-accent-blue: #3B82F6;
    --nav-accent-green: #10B981;
    --nav-accent-orange: #F59E0B;
    --nav-accent-purple: #8B5CF6;
    --nav-accent-cyan: #06B6D4;
    --nav-accent-pink: #EC4899;
    --nav-accent-red: #EF4444;
    --nav-gradient: linear-gradient(135deg, #185FA5 0%, #4F46E5 55%, #7C3AED 100%);
    --nav-glow: 0 0 0 1px rgba(59,130,246,0.12), 0 8px 24px rgba(79,70,229,0.18);
}

* { box-sizing: border-box; }

body {
    font-family: var(--font);
    background: var(--page-bg);
    color: var(--text-primary);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
    overflow-x: hidden;
}

/* ===== Premium animated background mesh ===== */
body.has-mesh-bg::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(26,58,255,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 90% 80%, rgba(124,58,237,0.05) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(232,184,75,0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: meshDrift 18s ease-in-out infinite alternate;
}

/* ===== Layout ===== */
.app-shell { display: flex; min-height: 100vh; }

.sidebar {
    width: 240px;
    background: var(--sidebar-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-right: 1px solid var(--border);
    padding: 0 0 1.5rem;
    flex-shrink: 0;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    overflow-y: auto;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    box-shadow: 2px 0 24px rgba(6,11,26,0.04);
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 4px; }

.sidebar-brand {
    background: var(--gradient-brand);
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
    padding: 22px 20px 24px;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}
.sidebar-brand::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
    animation: shimmerSweep 4s ease-in-out infinite;
}
.sidebar-brand-icon {
    width: 40px; height: 40px; border-radius: 12px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.28);
    animation: iconPulse 3s ease-in-out infinite;
    position: relative; z-index: 1;
}
.sidebar-brand-icon i { color: #fff; font-size: 20px; }
.sidebar-brand-name { color: #fff; font-weight: 800; font-size: 16px; margin: 0; letter-spacing: -0.02em; }
.sidebar-brand-sub { color: rgba(255,255,255,0.72); font-size: 10.5px; margin: 2px 0 0; font-weight: 500; }
.sidebar-brand-inner { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }

.sidebar-logo { display: flex; align-items: center; gap: 10px; padding: 0 1.5rem 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.sidebar-logo .mark { width: 32px; height: 32px; border-radius: 10px; background: var(--gradient-brand); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(15,94,255,0.25); }
.sidebar-logo .mark i { font-size: 17px; color: #fff; }
.sidebar-logo span { font-size: 16px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.02em; }

.nav-section-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #94A3B8; padding: 1.2rem 1.25rem 0.5rem; }

.nav-item {
    display: flex; align-items: center; gap: 11px;
    padding: 11px 14px;
    color: var(--sidebar-text);
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 12px;
    margin: 2px 10px;
    transition: all var(--transition);
    position: relative;
}
.nav-item:hover { background: rgba(26,58,255,0.06); color: var(--text-primary); transform: translateX(3px); }
.nav-item.active {
    background: var(--gradient-brand);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    color: #fff;
    font-weight: 700;
    box-shadow: var(--shadow-brand);
}
.nav-item.active i { color: #fff !important; }
.nav-item i { font-size: 17px; width: 20px; text-align: center; }

.sidebar-promo {
    margin: 16px 14px 0;
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #FDF6E3, #FEF3C7);
    border: 1px solid rgba(232,184,75,0.4);
    position: relative;
    overflow: hidden;
    animation: promoGlow 3s ease-in-out infinite;
}
.sidebar-promo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmerSweep 3s ease-in-out infinite;
}
.sidebar-promo i { font-size: 18px; color: var(--warning); }
.sidebar-promo-title { font-size: 12px; font-weight: 700; margin: 8px 0 2px; color: var(--text-primary); }
.sidebar-promo-text { font-size: 10.5px; color: #78716C; margin: 0; }

.main-area { flex: 1; min-width: 0; margin-left: 240px; }

.topbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.9rem 1.75rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 50;
    box-shadow: var(--shadow-xs);
}
.topbar-left { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 22px; color: var(--text-primary); width: auto; margin: 0; padding: 4px; }

.wallet-pill {
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
    color: var(--teal-dark);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(26,58,255,0.15);
    box-shadow: 0 2px 12px rgba(26,58,255,0.1);
    animation: walletPulse 4s ease-in-out infinite;
}
.wallet-pill i { font-size: 15px; color: var(--teal); }

.bell-wrap { position: relative; cursor: pointer; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.bell-wrap:hover { background: var(--border-light); }
.bell-wrap i { font-size: 19px; color: var(--text-secondary); }
.bell-dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; background: var(--coral); border-radius: 50%; box-shadow: 0 0 0 2px #fff; animation: bellPulse 2s ease-in-out infinite; }

.notif-dropdown {
    display: none;
    position: absolute;
    top: 44px; right: 0;
    width: 320px;
    max-height: 420px;
    overflow-y: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 200;
}
.notif-dropdown.open { display: block; }
.notif-header { padding: 14px 16px; border-bottom: 1px solid var(--border-light); font-size: 13px; font-weight: 700; }
.notif-item { padding: 12px 16px; border-bottom: 1px solid var(--border-light); transition: background var(--transition); }
.notif-item:hover { background: var(--border-light); }
.notif-item.unread { background: #F8FAFF; }
.notif-item-title { margin: 0; font-size: 13px; font-weight: 600; }
.notif-item-msg { margin: 2px 0 0; font-size: 12px; color: var(--text-secondary); }
.notif-item-time { margin: 4px 0 0; font-size: 11px; color: var(--text-muted); }
.notif-empty { padding: 24px; font-size: 13px; color: var(--text-muted); text-align: center; }

.avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--gradient-brand);
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 13px;
    text-decoration: none;
    box-shadow: var(--shadow-brand);
    transition: transform var(--transition-spring), box-shadow var(--transition);
    position: relative;
}
.avatar::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: var(--gradient-gold);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition);
}
.avatar:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(26,58,255,0.45); }
.avatar:hover::before { opacity: 0.6; animation: spinSlow 3s linear infinite; }

.content-pad { padding: 1.75rem; max-width: 1240px; position: relative; z-index: 1; }

.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(11,15,30,0.6); backdrop-filter: blur(2px); z-index: 90; }
.sidebar-overlay.open { display: block; }

.announcement-banner {
    background: var(--coral);
    color: #fff;
    padding: 0.65rem 1.5rem;
    font-size: 13px;
    text-align: center;
}

/* ===== Page structure ===== */
.page-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 1.5rem; }
.page-header h1 { margin: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.page-header .hint { margin: 4px 0 0; font-size: 0.875rem; color: var(--text-secondary); }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn, button[type="submit"]:not(.btn-icon) {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 0.8rem 1.25rem;
    background: var(--gradient-brand);
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    color: #fff;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform var(--transition-spring), box-shadow var(--transition);
    box-shadow: var(--shadow-brand);
    width: auto;
    margin: 0;
    position: relative;
    overflow: hidden;
}
.btn::after, button[type="submit"]:not(.btn-icon)::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    animation: btnShimmer 3s ease-in-out infinite;
}
.btn-outline::after, .btn-ghost::after, .btn-white::after { display: none; }
.btn:hover, button[type="submit"]:not(.btn-icon):hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 36px rgba(26,58,255,0.4); }
.btn-sm { padding: 0.6rem 1rem; font-size: 13px; border-radius: 10px; }
.btn-outline {
    background: var(--surface);
    border: 1.5px solid var(--border);
    color: var(--text-primary);
    box-shadow: var(--shadow-xs);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); box-shadow: var(--shadow-sm); }
.btn-white { background: #fff; color: var(--teal-dark); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; box-shadow: none; color: var(--teal); border: 1.5px solid rgba(15,94,255,0.2); }
.btn-block { width: 100%; }
.btn-icon { width: auto; margin: 0; padding: 8px; background: transparent; border: none; box-shadow: none; color: var(--text-muted); cursor: pointer; border-radius: 8px; }
.btn-icon:hover { background: var(--border-light); color: var(--text-primary); transform: none; box-shadow: none; }

/* ===== Cards ===== */
.card {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255,255,255,0.8);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); }
.card-sm { padding: 1.25rem; }
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.card-title { font-size: 15px; font-weight: 800; margin: 0; }
.card-link { font-size: 12px; color: var(--teal); text-decoration: none; font-weight: 700; }

.dd-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); }
.dd-text-primary { color: var(--text-primary); }
.dd-text-secondary { color: var(--text-secondary); }
.dd-text-muted { color: var(--text-muted); }

/* ===== Stat cards ===== */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 1.5rem; }
.stat-card {
    border-radius: var(--radius-xl);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-spring), box-shadow var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity var(--transition);
}
.stat-card:hover { transform: translateY(-5px) scale(1.01); box-shadow: var(--shadow-lg); }
.stat-card:hover::before { opacity: 1; }
.stat-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.stat-card-icon { width: 42px; height: 42px; border-radius: 13px; display: flex; align-items: center; justify-content: center; }
.stat-card-icon i { font-size: 20px; }
.stat-card-badge { font-size: 10.5px; font-weight: 800; padding: 4px 10px; border-radius: 20px; }
.stat-card-value { font-size: 1.35rem; font-weight: 800; margin: 0; letter-spacing: -0.02em; }
.stat-card-label { font-size: 12.5px; color: var(--text-secondary); margin: 4px 0 0; }

.stat-card--amber { background: linear-gradient(145deg, #FFFBEB, #FEF9C3); border-color: rgba(232,184,75,0.3); }
.stat-card--amber .stat-card-icon { background: linear-gradient(135deg, #FEF3C7, #FDE68A); animation: iconFloat 3s ease-in-out infinite; }
.stat-card--amber .stat-card-icon i { color: var(--warning); }
.stat-card--amber .stat-card-badge { background: var(--success-light); color: var(--success); }

.stat-card--blue { background: linear-gradient(145deg, #EFF6FF, #DBEAFE); border-color: rgba(26,58,255,0.15); }
.stat-card--blue .stat-card-icon { background: linear-gradient(135deg, #DBEAFE, #BFDBFE); animation: iconFloat 3s ease-in-out infinite 0.2s; }
.stat-card--blue .stat-card-icon i { color: #2563EB; }
.stat-card--blue .stat-card-badge { background: #DBEAFE; color: #2563EB; }

.stat-card--red { background: linear-gradient(145deg, #FEF2F2, #FEE2E2); border-color: rgba(239,68,68,0.15); }
.stat-card--red .stat-card-icon { background: linear-gradient(135deg, #FEE2E2, #FECACA); animation: iconFloat 3s ease-in-out infinite 0.4s; }
.stat-card--red .stat-card-icon i { color: var(--danger); }
.stat-card--red .stat-card-badge { background: #FEE2E2; color: var(--danger); }

.stat-card--green { background: linear-gradient(145deg, #F0FDF4, #DCFCE7); border-color: rgba(16,185,129,0.15); }
.stat-card--green .stat-card-icon { background: linear-gradient(135deg, #DCFCE7, #BBF7D0); animation: iconFloat 3s ease-in-out infinite 0.6s; }
.stat-card--green .stat-card-icon i { color: var(--success); }
.stat-card--green .stat-card-badge { background: var(--success-light); color: var(--success); }

/* ===== Quick actions ===== */
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.quick-item {
    background: var(--border-light);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 10px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: block;
}
.quick-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #CBD5E1; }
.quick-item-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.quick-item-icon i { font-size: 18px; }
.quick-item-label { font-size: 12.5px; font-weight: 700; margin: 0; }

.network-quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 12px; }
.network-quick-item {
    text-align: center;
    text-decoration: none;
    padding: 16px 8px;
    border-radius: 14px;
    background: var(--border-light);
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}
.network-quick-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.network-quick-item img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; margin: 0 auto 8px; display: block; box-shadow: var(--shadow-xs); }
.network-quick-item p { font-size: 12px; font-weight: 700; margin: 0; color: var(--text-primary); }

/* ===== Activity list ===== */
.activity-list { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.activity-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--border-light); font-size: 13px; transition: background var(--transition); }
.activity-row:last-child { border-bottom: none; }
.activity-row:hover { background: var(--border-light); }
.activity-row .left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.activity-icon { width: 32px; height: 32px; border-radius: 10px; background: var(--teal-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.activity-icon i { font-size: 15px; color: var(--teal); }
.activity-row .amount { font-weight: 700; white-space: nowrap; font-size: 13px; }
.empty-state { padding: 2rem; text-align: center; color: var(--text-muted); font-size: 13px; }

/* ===== Alerts ===== */
.alert { border-radius: var(--radius); padding: 0.85rem 1rem; font-size: 0.85rem; margin-bottom: 1rem; }
.alert-warning { background: #FFF7ED; border-left: 3px solid var(--warning); }
.alert-warning-title { font-size: 13px; font-weight: 700; margin: 0 0 2px; color: #92400E; }
.alert-warning-text { font-size: 12px; margin: 0; color: #78716C; }
.error { background: var(--coral-light); color: var(--coral-dark); border-radius: var(--radius); padding: 0.85rem 1rem; font-size: 0.85rem; margin-top: 0.75rem; }
.error ul { margin: 0; padding-left: 1.1rem; }

/* ===== Forms ===== */
h1 { font-size: 1.4rem; margin: 0 0 0.5rem; font-weight: 800; letter-spacing: -0.02em; }
p.hint { font-size: 0.85rem; color: var(--text-secondary); margin: 0 0 1rem; }
label { display: block; margin-top: 0.9rem; font-size: 0.85rem; font-weight: 600; color: #334155; }
input, select, textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    margin-top: 0.35rem;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    box-sizing: border-box;
    font-family: var(--font);
    font-size: 15px;
    background: var(--surface);
    color: var(--text-primary);
    transition: border-color var(--transition), box-shadow var(--transition);
}
input::placeholder, textarea::placeholder { color: #64748b; opacity: 1; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,94,255,0.1); }
.links { margin-top: 1.25rem; font-size: 0.85rem; text-align: center; color: var(--text-secondary); }
.links a { color: var(--teal); font-weight: 700; text-decoration: none; }
.row { display: flex; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.row:last-child { border-bottom: none; }
.row span:first-child { color: var(--text-secondary); }
.row span:last-child { font-weight: 600; }
.pin-box { background: var(--teal-light); border: 1.5px dashed var(--teal); border-radius: var(--radius); padding: 1rem; margin: 1rem 0; text-align: center; }
.pin-value { font-size: 1.2rem; font-weight: 700; letter-spacing: 1px; font-family: monospace; color: var(--teal-dark); }
.success-badge { color: var(--teal-dark); font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; }
optgroup { font-weight: 600; }

.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-top: 20px; }

/* ===== Hero card (dashboard) ===== */
.hero-card {
    background: var(--gradient-brand);
    border-radius: var(--radius-xl);
    padding: 28px 30px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-brand);
}
.hero-card::before { content: ''; position: absolute; top: -40px; right: -30px; width: 180px; height: 180px; background: rgba(255,255,255,0.06); border-radius: 50%; }
.hero-card::after { content: ''; position: absolute; bottom: -60px; right: 60px; width: 110px; height: 110px; background: rgba(255,255,255,0.05); border-radius: 50%; }
.hero-card .label { font-size: 12px; color: rgba(255,255,255,0.75); margin: 0; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; position: relative; }
.hero-card .amount { font-size: 2.1rem; font-weight: 800; color: #fff; margin: 8px 0 18px; position: relative; letter-spacing: -0.02em; }
.hero-actions { display: flex; gap: 10px; position: relative; flex-wrap: wrap; }
.hero-actions a { background: #fff; color: var(--teal-dark); font-size: 13px; font-weight: 700; padding: 9px 16px; border-radius: 10px; text-decoration: none; transition: transform var(--transition); box-shadow: var(--shadow-sm); }
.hero-actions a:hover { transform: translateY(-1px); }
.hero-actions a.secondary { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.2); box-shadow: none; }

/* ===== Guest / auth ===== */
.guest-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: var(--gradient-hero); }
.guest-card { background: var(--surface); border-radius: var(--radius-xl); padding: 2rem; max-width: 420px; width: 100%; box-shadow: var(--shadow-lg); }
.guest-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 1.5rem; }
.guest-logo .mark { width: 36px; height: 36px; border-radius: 11px; background: var(--gradient-brand); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(15,94,255,0.25); }
.guest-logo .mark i { font-size: 18px; color: #fff; }
.guest-logo span { font-size: 17px; font-weight: 800; color: var(--text-primary); }

/* ===== Landing page ===== */
.landing-body { background: #fff; }
.landing-nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 1.75rem;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
}
.landing-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text-primary); font-size: 17px; text-decoration: none; }
.landing-logo-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--gradient-brand); display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 10px rgba(15,94,255,0.25); }
.landing-logo-mark i { color: #fff; font-size: 18px; }
.landing-nav-links { display: flex; align-items: center; gap: 8px; }
.landing-nav-links a { text-decoration: none; color: var(--text-secondary); font-size: 13.5px; font-weight: 600; padding: 8px 14px; border-radius: 10px; transition: color var(--transition), background var(--transition); }
.landing-nav-links a:hover { color: var(--text-primary); background: var(--border-light); }
.landing-nav-links a.btn-nav-primary {
    background: var(--gradient-brand);
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    color: #fff;
    box-shadow: var(--shadow-brand);
    position: relative;
    overflow: hidden;
}
.landing-nav-links a.btn-nav-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: btnShimmer 3s ease-in-out infinite;
}
.landing-nav-links a.btn-nav-primary:hover { transform: translateY(-1px); color: #fff; }

.landing-hero {
    background: var(--gradient-hero);
    background-size: 400% 400%;
    animation: heroGradient 12s ease infinite;
    padding: 5.5rem 1.5rem 5rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.landing-hero .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation: floatOrb 8s ease-in-out infinite;
}
.landing-hero .orb-1 { width: 320px; height: 320px; background: rgba(124,58,237,0.35); top: -80px; right: -60px; animation-delay: 0s; }
.landing-hero .orb-2 { width: 280px; height: 280px; background: rgba(26,58,255,0.3); bottom: -100px; left: -80px; animation-delay: -3s; }
.landing-hero .orb-3 { width: 200px; height: 200px; background: rgba(232,184,75,0.2); top: 40%; left: 50%; animation-delay: -5s; }
.landing-hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff; font-size: 12px; font-weight: 700;
    padding: 8px 18px; border-radius: 24px;
    margin-bottom: 1.25rem; position: relative;
    animation: badgeFloat 3s ease-in-out infinite;
}
.landing-hero-badge i { color: var(--champagne); animation: boltPulse 2s ease-in-out infinite; }
.landing-hero h1.hero-title {
    font-size: clamp(2.2rem, 5.5vw, 3.4rem);
    margin: 0 0 1rem; font-weight: 800;
    position: relative; letter-spacing: -0.03em; line-height: 1.12;
    animation: fadeSlideUp 0.8s ease both;
    background: linear-gradient(135deg, #fff 30%, var(--champagne) 70%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    animation: fadeSlideUp 0.8s ease both, goldShimmer 6s linear infinite;
}
.landing-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.82); margin: 0 auto 2rem; max-width: 520px; position: relative; line-height: 1.6; animation: fadeSlideUp 0.8s 0.15s ease both; }
.landing-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; animation: fadeSlideUp 0.8s 0.3s ease both; }
.landing-hero-actions a { padding: 15px 30px; border-radius: 14px; text-decoration: none; font-size: 14.5px; font-weight: 700; transition: transform var(--transition-spring), box-shadow var(--transition); position: relative; overflow: hidden; }
.landing-hero-actions a:hover { transform: translateY(-3px) scale(1.03); }
.landing-hero-actions .btn-hero-primary {
    background: #fff; color: var(--teal-dark);
    box-shadow: 0 12px 36px rgba(0,0,0,0.25);
}
.landing-hero-actions .btn-hero-primary::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26,58,255,0.1), transparent);
    animation: btnShimmer 2.5s ease-in-out infinite;
}
.landing-hero-actions .btn-hero-secondary {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.25);
}

.landing-stats { display: flex; justify-content: center; gap: 3.5rem; flex-wrap: wrap; padding: 3.5rem 1.5rem; background: linear-gradient(180deg, #F8FAFC 0%, #fff 100%); }
.landing-stat-item { text-align: center; animation: fadeSlideUp 0.6s ease both; }
.landing-stat-item:nth-child(1) { animation-delay: 0.1s; }
.landing-stat-item:nth-child(2) { animation-delay: 0.2s; }
.landing-stat-item:nth-child(3) { animation-delay: 0.3s; }
.landing-stat-num { font-size: 2.2rem; font-weight: 800; background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -0.02em; margin: 0; }
.landing-stat-label { font-size: 0.8rem; color: var(--text-secondary); font-weight: 600; margin: 4px 0 0; }

.landing-section { padding: 3.5rem 1.5rem; max-width: 1040px; margin: 0 auto; }
.landing-section h2 { font-size: 1.5rem; margin: 0 0 0.5rem; font-weight: 800; text-align: center; letter-spacing: -0.02em; }
.landing-section-sub { text-align: center; color: var(--text-secondary); font-size: 0.9rem; margin: 0 0 2rem; }

.network-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.network-card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-spring), box-shadow var(--transition), border-color var(--transition);
}
.network-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-lg); border-color: rgba(26,58,255,0.2); }
.network-card img { width: 48px; height: 48px; border-radius: 50%; margin-bottom: 12px; transition: transform var(--transition-spring); }
.network-card:hover img { transform: scale(1.1) rotate(-5deg); }
.network-card-name { font-weight: 700; margin: 4px 0; font-size: 14px; }
.network-card-status { font-size: 11px; color: var(--text-secondary); margin: 0; display: flex; align-items: center; justify-content: center; gap: 4px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); animation: statusPulse 2s ease-in-out infinite; box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }

.landing-bundles { background: var(--border-light); padding: 3.5rem 1.5rem; }
.landing-bundles-inner { max-width: 1040px; margin: 0 auto; }
.network-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 24px; flex-wrap: wrap; }
.network-tab-btn { width: auto; margin: 0; padding: 9px 18px 9px 9px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text-primary); font-weight: 700; font-size: 13px; cursor: pointer; display: flex; align-items: center; gap: 8px; font-family: var(--font); transition: all var(--transition); }
.network-tab-btn img { width: 26px; height: 26px; border-radius: 50%; }
.bundle-grid-landing { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.bundle-card-landing {
    text-decoration: none;
    border-radius: var(--radius-xl);
    padding: 1.35rem;
    box-shadow: var(--shadow-md);
    display: block;
    transition: transform var(--transition-spring), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}
.bundle-card-landing::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
    animation: shimmerSweep 5s ease-in-out infinite;
    pointer-events: none;
}
.bundle-card-landing:hover { transform: translateY(-5px) scale(1.03); box-shadow: var(--shadow-lg); }
.bundle-card-name { font-weight: 800; margin: 0 0 8px; font-size: 17px; }
.bundle-card-price { font-weight: 800; margin: 0; font-size: 15px; }

.landing-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 2rem; }
.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-xl);
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    transition: transform var(--transition-spring), box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(26,58,255,0.15); }
.feature-icon {
    width: 56px; height: 56px; border-radius: 16px;
    background: var(--teal-light);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    transition: transform var(--transition-spring);
}
.feature-card:hover .feature-icon { transform: scale(1.12) rotate(-6deg); }
.feature-icon i { font-size: 24px; color: var(--teal); }
.feature-title { font-size: 14px; font-weight: 800; margin: 0 0 6px; }
.feature-text { font-size: 12.5px; color: var(--text-secondary); margin: 0; line-height: 1.5; }

.landing-cta {
    background: var(--gradient-brand);
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
    border-radius: var(--radius-xl);
    padding: 3.5rem 2rem;
    text-align: center;
    color: #fff;
    box-shadow: var(--shadow-brand);
    position: relative;
    overflow: hidden;
}
.landing-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(232,184,75,0.2), transparent 60%);
    animation: ctaGlow 4s ease-in-out infinite alternate;
}
.landing-cta i { font-size: 40px; color: var(--champagne); animation: crownBounce 2s ease-in-out infinite; position: relative; }
.landing-cta h2 { color: #fff; margin: 14px 0 8px; font-size: 1.5rem; }
.landing-cta p { font-size: 0.9rem; color: rgba(255,255,255,0.85); max-width: 420px; margin: 0 auto 1.5rem; line-height: 1.6; }

.landing-footer { text-align: center; padding: 2.5rem 1.5rem; font-size: 0.8rem; color: var(--text-secondary); border-top: 1px solid var(--border); background: #F8FAFC; }
.landing-footer-about { max-width: 440px; margin: 0 auto 1rem; font-size: 12px; line-height: 1.6; }
.landing-footer a { color: inherit; text-decoration: none; font-weight: 600; }
.landing-footer a:hover { color: var(--teal); }

/* ===== Premium Home v2 ===== */
.hero-premium {
    background: var(--gradient-hero);
    background-size: 400% 400%;
    animation: heroGradient 14s ease infinite;
    position: relative;
    overflow: hidden;
    padding: 4rem 1.5rem 5rem;
}
.hero-grid-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
    pointer-events: none;
}
.hero-premium .orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; animation: floatOrb 9s ease-in-out infinite; }
.hero-premium .orb-1 { width: 400px; height: 400px; background: rgba(124,58,237,0.35); top: -100px; right: -80px; }
.hero-premium .orb-2 { width: 350px; height: 350px; background: rgba(26,58,255,0.28); bottom: -120px; left: -100px; animation-delay: -4s; }
.hero-premium .orb-3 { width: 250px; height: 250px; background: rgba(232,184,75,0.22); top: 30%; left: 40%; animation-delay: -7s; }

.hero-premium-inner {
    max-width: 1140px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 3rem; align-items: center;
    position: relative; z-index: 1;
}
.hero-content { text-align: left; color: #fff; }
.hero-live-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3);
    color: #6EE7B7; font-size: 12px; font-weight: 600;
    padding: 7px 14px; border-radius: 24px; margin-bottom: 1rem;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #10B981; animation: statusPulse 2s ease-in-out infinite; flex-shrink: 0; }
#liveTicker { transition: opacity 0.4s ease; }
.hero-content .landing-hero-badge { margin-bottom: 1rem; }
.hero-content .hero-title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800; line-height: 1.1; letter-spacing: -0.03em;
    margin: 0 0 1rem;
    background: linear-gradient(135deg, #fff 20%, var(--champagne) 60%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: goldShimmer 5s linear infinite;
}
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.78); line-height: 1.65; margin: 0 0 1.5rem; max-width: 480px; }
.hero-trust-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.75rem; }
.hero-trust-row span { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.7); }
.hero-trust-row i { color: var(--champagne); font-size: 15px; }
.hero-content .landing-hero-actions { justify-content: flex-start; margin-bottom: 1.75rem; }
.hero-rating { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-stars { display: flex; gap: 2px; }
.hero-stars i { color: var(--champagne); font-size: 14px; }
.hero-rating span { font-size: 12.5px; color: rgba(255,255,255,0.65); }
.hero-rating strong { color: #fff; }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 420px; }
.phone-mockup {
    width: 260px; background: #0A0F1E;
    border-radius: 36px; padding: 12px;
    border: 2px solid rgba(255,255,255,0.12);
    box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
    animation: phoneFloat 5s ease-in-out infinite;
    position: relative; z-index: 2;
}
.phone-notch { width: 80px; height: 22px; background: #0A0F1E; border-radius: 0 0 14px 14px; margin: 0 auto 8px; }
.phone-screen { background: linear-gradient(180deg, #0F172A, #1E1B4B); border-radius: 26px; padding: 20px 16px; overflow: hidden; }
.phone-header { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.phone-logo { width: 28px; height: 28px; border-radius: 8px; background: var(--gradient-brand); display: flex; align-items: center; justify-content: center; }
.phone-logo i { color: #fff; font-size: 14px; }
.phone-header span { color: #fff; font-weight: 700; font-size: 13px; }
.phone-balance { background: rgba(255,255,255,0.06); border-radius: 14px; padding: 14px; margin-bottom: 12px; border: 1px solid rgba(255,255,255,0.08); }
.phone-balance-label { font-size: 10px; color: rgba(255,255,255,0.5); margin: 0 0 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.phone-balance-amount { font-size: 22px; font-weight: 800; color: #fff; margin: 0; letter-spacing: -0.02em; }
.phone-order { display: flex; align-items: center; gap: 10px; background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.25); border-radius: 12px; padding: 12px; margin-bottom: 14px; animation: orderPulse 3s ease-in-out infinite; }
.phone-order-icon { width: 34px; height: 34px; border-radius: 10px; background: rgba(16,185,129,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.phone-order-icon i { color: #10B981; font-size: 16px; }
.phone-order-title { font-size: 12px; font-weight: 700; color: #fff; margin: 0; }
.phone-order-sub { font-size: 10px; color: #6EE7B7; margin: 2px 0 0; }
.phone-order-badge { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: #10B981; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.phone-order-badge i { color: #fff; font-size: 12px; }
.phone-networks { display: flex; gap: 8px; justify-content: center; }
.phone-networks img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.15); }

.hero-float-card {
    position: absolute; background: rgba(255,255,255,0.1);
    backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.18);
    border-radius: 14px; padding: 12px 16px;
    display: flex; align-items: center; gap: 10px;
    color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.hero-float-card i { font-size: 20px; color: var(--champagne); }
.hero-float-card p { margin: 0; font-size: 12px; font-weight: 700; }
.hero-float-card span { font-size: 10px; color: rgba(255,255,255,0.6); }
.hero-float-card--1 { top: 10%; right: -10px; animation: floatCard 4s ease-in-out infinite; }
.hero-float-card--2 { bottom: 15%; left: -20px; animation: floatCard 4s ease-in-out infinite 2s; }

/* Stats premium */
.landing-stats--premium { gap: 2rem; padding: 3rem 1.5rem; }
.landing-stats--premium .landing-stat-item {
    background: #fff; border-radius: var(--radius-xl);
    padding: 1.75rem 2rem; box-shadow: var(--shadow-md);
    border: 1px solid var(--border); min-width: 160px;
    transition: transform var(--transition-spring), box-shadow var(--transition);
}
.landing-stats--premium .landing-stat-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-icon-wrap { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.stat-icon-wrap i { font-size: 20px; }
.stat-icon-wrap--blue { background: #EEF2FF; } .stat-icon-wrap--blue i { color: #1A3AFF; }
.stat-icon-wrap--gold { background: #FDF6E3; } .stat-icon-wrap--gold i { color: #B8860B; }
.stat-icon-wrap--green { background: #D1FAE5; } .stat-icon-wrap--green i { color: #10B981; }

/* Section eyebrow */
.section-eyebrow {
    text-align: center; font-size: 11px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--royal); margin: 0 0 8px;
}

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 1rem; }
.step-card {
    background: #fff; border-radius: var(--radius-xl);
    padding: 2rem 1.5rem; border: 1px solid var(--border);
    box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
    transition: transform var(--transition-spring), box-shadow var(--transition);
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.step-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient-brand); }
.step-num { font-size: 11px; font-weight: 800; color: var(--royal); letter-spacing: 0.08em; margin-bottom: 12px; }
.step-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-light); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step-icon i { font-size: 22px; color: var(--royal); }
.step-title { font-size: 15px; font-weight: 800; margin: 0 0 6px; }
.step-text { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.55; }

/* Network cards premium */
.network-card--premium { padding: 1.75rem 1.25rem 1.25rem; }
.network-card-logo { width: 56px; height: 56px; border-radius: 50%; background: var(--border-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.network-card-logo img { width: 40px; height: 40px; margin: 0; }
.network-card-btn {
    display: inline-flex; align-items: center; gap: 4px;
    margin-top: 12px; font-size: 12px; font-weight: 700;
    color: var(--royal); text-decoration: none;
    padding: 7px 14px; border-radius: 20px;
    background: var(--teal-light); transition: all var(--transition);
}
.network-card-btn:hover { background: var(--royal); color: #fff; }

/* Bundle cards premium */
.bundle-card-premium {
    text-decoration: none; border-radius: var(--radius-xl);
    padding: 1.5rem; background: var(--card-bg);
    color: var(--card-text); display: flex; flex-direction: column;
    box-shadow: var(--shadow-md); position: relative; overflow: hidden;
    transition: transform var(--transition-spring), box-shadow var(--transition);
    min-height: 130px;
}
.bundle-card-premium::after {
    content: ''; position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
    animation: shimmerSweep 5s ease-in-out infinite; pointer-events: none;
}
.bundle-card-premium:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-lg); }
.bundle-card-premium .bundle-card-name { font-size: 18px; font-weight: 800; margin: 0 0 6px; color: var(--card-text); }
.bundle-card-premium .bundle-card-price { font-size: 22px; font-weight: 800; margin: 0 0 auto; color: var(--card-text); }
.bundle-card-cta {
    display: inline-flex; align-items: center; gap: 4px;
    margin-top: 14px; font-size: 12px; font-weight: 700;
    color: var(--card-accent); opacity: 0.85;
}

/* Feature cards premium */
.feature-card--premium { border-top: 3px solid transparent; background-image: linear-gradient(#fff,#fff), var(--gradient-brand); background-origin: border-box; background-clip: padding-box, border-box; }
.feature-icon--green { background: #D1FAE5 !important; } .feature-icon--green i { color: #10B981 !important; }
.feature-icon--gold { background: #FDF6E3 !important; } .feature-icon--gold i { color: #B8860B !important; }
.feature-icon--purple { background: #EDE9FE !important; } .feature-icon--purple i { color: #7C3AED !important; }

/* CTA premium */
.landing-cta--premium { padding: 4rem 2.5rem; }
.cta-glow { position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(232,184,75,0.25), transparent 55%); animation: ctaGlow 4s ease-in-out infinite alternate; pointer-events: none; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

/* Footer premium */
.landing-footer--premium { padding: 3rem 1.5rem; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 1rem; font-weight: 800; font-size: 16px; color: var(--text-primary); }
.footer-contact { font-size: 12px; margin-bottom: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 1rem; }
.footer-links a { font-size: 13px; font-weight: 600; color: var(--text-secondary); text-decoration: none; }
.footer-links a:hover { color: var(--royal); }
.footer-copy { font-size: 11px; color: var(--text-muted); margin: 0; }

/* Popup extras */
.popup-icon-wrap { width: 52px; height: 52px; border-radius: 50%; background: var(--gradient-brand); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-brand); flex-shrink: 0; animation: iconPulse 3s ease-in-out infinite; }
.popup-icon-wrap i { font-size: 26px; color: #fff; }
.popup-title { font-size: 17px; font-weight: 800; margin: 0; color: var(--text-primary); }
.popup-msg { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 14px 0 18px; }
.popup-dismiss { text-align: center; font-size: 12px; color: var(--text-muted); margin: 14px 0 0; cursor: pointer; }

/* Mobile sticky CTA */
.mobile-sticky-cta {
    display: none; position: fixed; bottom: 0; left: 0; right: 0;
    padding: 12px 16px; background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px); border-top: 1px solid var(--border);
    z-index: 200; box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.mobile-sticky-cta .btn-hero-primary { background: var(--gradient-brand); color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; }

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}
@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes orderPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
    50% { box-shadow: 0 0 0 6px rgba(16,185,129,0.15); }
}

@media (max-width: 900px) {
    .hero-premium-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-content { text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-trust-row { justify-content: center; }
    .hero-content .landing-hero-actions { justify-content: center; }
    .hero-rating { justify-content: center; }
    .hero-visual { min-height: 340px; margin-top: 1rem; }
    .hero-float-card--1 { right: 0; }
    .hero-float-card--2 { left: 0; }
    .steps-grid { grid-template-columns: 1fr; }
    .mobile-sticky-cta { display: flex; }
    .landing-footer--premium { padding-bottom: 5rem; }
}

/* ===== Premium 3D Dashboard ===== */
.dash-admin-body { --dash-bg: #EEF2FA; }
.dash-admin-body .content-pad {
    perspective: 1200px;
    background: var(--dash-bg);
}
.dash-admin-body .page-bg { background: var(--dash-bg); }

.topbar--premium { background: rgba(255,255,255,0.88) !important; backdrop-filter: blur(16px); border-bottom: 1px solid rgba(15,23,42,0.06); }
.topbar-left-wrap { display: flex; align-items: center; gap: 12px; }
.topbar-page-title { font-size: 15px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.01em; }

/* 3D card base */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1), box-shadow 0.35s ease;
    will-change: transform;
}
.card-3d:hover {
    transform: translateY(-6px) rotateX(2deg) rotateY(-1deg);
    box-shadow: 0 20px 40px rgba(6,11,26,0.12), 0 4px 12px rgba(6,11,26,0.06);
}

.dash-premium { position: relative; }

/* Header */
.dash-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 1.5rem; }
.dash-eyebrow { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--royal); margin: 0 0 6px; }
.dash-greeting { font-size: 1.5rem; font-weight: 800; margin: 0; letter-spacing: -0.02em; color: var(--text-primary); }
.dash-sub { font-size: 13.5px; color: var(--text-secondary); margin: 4px 0 0; }
.dash-header-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dash-btn-3d { box-shadow: 0 4px 14px rgba(26,58,255,0.2) !important; transition: transform 0.2s ease, box-shadow 0.2s ease !important; }
.dash-btn-3d:hover { transform: translateY(-2px) !important; box-shadow: 0 8px 24px rgba(26,58,255,0.3) !important; }
.dash-btn-glow { animation: gradientShift 5s ease infinite; background-size: 200% 200% !important; }

/* Alert */
.dash-alert {
    display: flex; align-items: flex-start; gap: 12px;
    background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
    border: 1px solid #FDE68A; border-left: 4px solid var(--warning);
    border-radius: var(--radius-lg); padding: 14px 16px; margin-bottom: 1.25rem;
    box-shadow: 0 4px 16px rgba(217,119,6,0.08);
}
.dash-alert i { font-size: 20px; color: var(--warning); margin-top: 2px; }
.dash-alert-title { font-size: 13px; font-weight: 700; margin: 0 0 2px; color: #92400E; }
.dash-alert-text { font-size: 12px; margin: 0; color: #78716C; }

/* Wallet hero 3D */
.dash-wallet-hero {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #060B1A 0%, #1A1F6E 40%, #1A3AFF 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    border-radius: var(--radius-xl);
    padding: 2rem 2.25rem; margin-bottom: 1.5rem;
    box-shadow: 0 20px 50px rgba(26,58,255,0.35), 0 0 0 1px rgba(255,255,255,0.08);
    transform-style: preserve-3d;
}
.dash-wallet-hero:hover { transform: translateY(-4px) rotateX(1deg); }
.dash-wallet-bg {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(232,184,75,0.15), transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(124,58,237,0.2), transparent 50%);
    pointer-events: none;
}
.dash-wallet-chip {
    position: absolute; top: 24px; right: 28px;
    width: 44px; height: 34px; border-radius: 6px;
    background: linear-gradient(135deg, #E8B84B, #F5D061);
    opacity: 0.7; box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transform: rotate(12deg);
}
.dash-wallet-content { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; position: relative; z-index: 1; }
.dash-wallet-label { font-size: 12px; color: rgba(255,255,255,0.65); margin: 0 0 8px; display: flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.dash-wallet-amount { font-size: 2.5rem; font-weight: 800; color: #fff; margin: 0 0 12px; letter-spacing: -0.03em; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.dash-wallet-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.dash-wallet-meta span { font-size: 11.5px; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 5px; }
.dash-wallet-meta i { color: #6EE7B7; font-size: 13px; }
.dash-wallet-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dash-wallet-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 11px 20px; border-radius: 12px;
    font-size: 13px; font-weight: 700; text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.25);
    color: #fff; background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.dash-wallet-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,0.18); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
.dash-wallet-btn--fill { background: #fff; color: var(--teal-dark); border-color: #fff; }
.dash-wallet-btn--fill:hover { background: #f0f4ff; }

/* 3D stat cards */
.dash-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 1.25rem; }
.dash-stat-card {
    background: #fff; border-radius: var(--radius-xl);
    padding: 1.25rem; border: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(6,11,26,0.06);
    display: flex; align-items: center; gap: 14px;
    position: relative; overflow: hidden;
}
.dash-stat-card::before {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.stat-3d--amber::before { background: linear-gradient(90deg, #F59E0B, #FDE68A); }
.stat-3d--blue::before { background: linear-gradient(90deg, #1A3AFF, #60A5FA); }
.stat-3d--red::before { background: linear-gradient(90deg, #EF4444, #FCA5A5); }
.stat-3d--green::before { background: linear-gradient(90deg, #10B981, #6EE7B7); }
.stat-3d-icon {
    width: 46px; height: 46px; border-radius: 13px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateZ(20px);
}
.stat-3d--amber .stat-3d-icon { background: linear-gradient(145deg, #FEF3C7, #FDE68A); }
.stat-3d--amber .stat-3d-icon i { color: #D97706; font-size: 20px; }
.stat-3d--blue .stat-3d-icon { background: linear-gradient(145deg, #DBEAFE, #BFDBFE); }
.stat-3d--blue .stat-3d-icon i { color: #2563EB; font-size: 20px; }
.stat-3d--red .stat-3d-icon { background: linear-gradient(145deg, #FEE2E2, #FECACA); }
.stat-3d--red .stat-3d-icon i { color: #EF4444; font-size: 20px; }
.stat-3d--green .stat-3d-icon { background: linear-gradient(145deg, #D1FAE5, #A7F3D0); }
.stat-3d--green .stat-3d-icon i { color: #10B981; font-size: 20px; }
.stat-3d-value { font-size: 1.4rem; font-weight: 800; margin: 0; letter-spacing: -0.02em; color: var(--text-primary); }
.stat-3d-label { font-size: 11.5px; color: var(--text-secondary); margin: 2px 0 0; font-weight: 600; }
.stat-3d-badge { position: absolute; top: 12px; right: 12px; font-size: 9.5px; font-weight: 800; padding: 3px 8px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.04em; }
.stat-3d--amber .stat-3d-badge { background: #FEF3C7; color: #D97706; }
.stat-3d--blue .stat-3d-badge { background: #DBEAFE; color: #2563EB; }
.stat-3d--red .stat-3d-badge { background: #FEE2E2; color: #EF4444; }
.stat-3d--green .stat-3d-badge { background: #D1FAE5; color: #10B981; }

/* Metrics pills */
.dash-metrics-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 1.5rem; }
.dash-metric-pill {
    background: #fff; border-radius: var(--radius-lg);
    padding: 14px 16px; border: 1px solid var(--border);
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 2px 10px rgba(6,11,26,0.05);
}
.dash-metric-pill > i { font-size: 22px; color: var(--royal); width: 36px; text-align: center; }
.dash-metric-val { font-size: 15px; font-weight: 800; margin: 0; color: var(--text-primary); letter-spacing: -0.01em; }
.dash-metric-lbl { font-size: 11px; color: #64748B; margin: 2px 0 0; font-weight: 600; }

/* Panels */
.dash-panel {
    background: #fff; border-radius: var(--radius-xl);
    padding: 1.5rem; border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(6,11,26,0.06);
    margin-bottom: 1.25rem;
}
.dash-panel-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.25rem; gap: 12px; }
.dash-panel-title { font-size: 15px; font-weight: 800; margin: 0; display: flex; align-items: center; gap: 8px; color: var(--text-primary); }
.dash-panel-title i { color: var(--royal); font-size: 17px; }
.dash-panel-sub { font-size: 12.5px; color: #64748B; margin: 3px 0 0; }

/* Network quick buy — logos untouched, only styled container */
.dash-network-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; }
.dash-network-card {
    text-align: center; text-decoration: none;
    padding: 1.25rem 0.75rem; border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #F8FAFC, #fff);
    border: 1.5px solid var(--border);
    box-shadow: 0 4px 14px rgba(6,11,26,0.05);
    transition: transform 0.3s cubic-bezier(0.34,1.3,0.64,1), box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex; flex-direction: column; align-items: center;
}
.dash-network-card:hover { transform: translateY(-8px) scale(1.03) rotateX(4deg); border-color: rgba(26,58,255,0.25); box-shadow: 0 16px 32px rgba(26,58,255,0.15); }
.dash-network-card img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; margin-bottom: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.dash-network-card p { font-size: 13px; font-weight: 700; margin: 0 0 8px; color: var(--text-primary); }
.dash-network-buy { font-size: 11px; font-weight: 700; color: var(--royal); display: flex; align-items: center; gap: 3px; opacity: 0; transform: translateY(4px); transition: opacity 0.2s ease, transform 0.2s ease; }
.dash-network-card:hover .dash-network-buy { opacity: 1; transform: translateY(0); }

.dash-network-card--express {
    background: linear-gradient(145deg, #FFFBEB, #FEF3C7);
    border-color: #FDE68A;
}
.dash-network-card--express:hover {
    border-color: #F59E0B;
    box-shadow: 0 16px 32px rgba(245,158,11,0.2);
}
.dash-network-logo--express {
    object-fit: contain;
    background: #fff;
    padding: 6px;
    border: 2px solid #FDE68A;
}
.dash-network-fallback {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #EFF6FF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: var(--royal);
    font-size: 22px;
}

/* Actions grid */
.dash-actions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dash-action-card {
    text-align: center; text-decoration: none; color: var(--text-primary);
    padding: 1.25rem 0.75rem; border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #F8FAFC, #fff);
    border: 1px solid var(--border);
    box-shadow: 0 3px 12px rgba(6,11,26,0.05);
    transition: transform 0.3s cubic-bezier(0.34,1.3,0.64,1), box-shadow 0.3s ease;
}
.dash-action-card:hover { transform: translateY(-6px) rotateY(3deg); box-shadow: 0 14px 28px rgba(6,11,26,0.1); }
.dash-action-icon { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.08); }
.dash-action-icon i { font-size: 20px; }
.dash-action-card p { font-size: 12.5px; font-weight: 700; margin: 0; }

/* Two col */
.dash-two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.dash-two-col .dash-panel { margin-bottom: 0; }

/* Activity */
.dash-activity-list { display: flex; flex-direction: column; gap: 2px; }
.dash-activity-item {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 10px; border-radius: 12px;
    transition: background 0.15s ease, transform 0.15s ease;
}
.dash-activity-item:hover { background: var(--border-light); transform: translateX(4px); }
.dash-activity-icon { width: 36px; height: 36px; border-radius: 11px; background: var(--teal-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 2px 8px rgba(26,58,255,0.1); }
.dash-activity-icon i { font-size: 16px; color: var(--royal); }
.dash-activity-info { flex: 1; min-width: 0; }
.dash-activity-label { font-size: 12.5px; font-weight: 600; margin: 0; color: var(--text-primary); }
.dash-activity-time { font-size: 11px; color: #64748B; margin: 2px 0 0; }
.dash-activity-amount { font-size: 13px; font-weight: 800; color: var(--text-primary); white-space: nowrap; }

.dash-empty { text-align: center; padding: 2rem 1rem; }
.dash-empty i { font-size: 36px; color: var(--text-muted); display: block; margin-bottom: 10px; }
.dash-empty p { font-size: 13px; color: var(--text-secondary); margin: 0 0 14px; }

/* Agent banner */
.dash-agent-banner {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    background: linear-gradient(135deg, #1A3AFF, #7C3AED);
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
    border-radius: var(--radius-xl); padding: 1.5rem 1.75rem;
    margin-top: 1.25rem;
    box-shadow: 0 16px 40px rgba(26,58,255,0.3);
    color: #fff;
}
.dash-agent-icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dash-agent-icon i { font-size: 24px; color: var(--champagne); animation: crownBounce 2s ease-in-out infinite; }
.dash-agent-text { flex: 1; min-width: 180px; }
.dash-agent-title { font-size: 15px; font-weight: 800; margin: 0 0 4px; }
.dash-agent-sub { font-size: 12.5px; margin: 0; color: rgba(255,255,255,0.8); line-height: 1.5; }

@media (max-width: 900px) {
    .dash-stat-grid { grid-template-columns: repeat(2, 1fr); }
    .dash-metrics-row { grid-template-columns: repeat(2, 1fr); }
    .dash-two-col { grid-template-columns: 1fr; }
    .dash-actions-grid { grid-template-columns: repeat(3, 1fr); }
    .dash-wallet-amount { font-size: 2rem; }
}
@media (max-width: 480px) {
    .dash-stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .dash-stat-card { padding: 1rem; flex-direction: column; text-align: center; }
    .dash-actions-grid { grid-template-columns: repeat(2, 1fr); }
    .dash-metrics-row { grid-template-columns: 1fr 1fr; }
}

.popup-overlay { position: fixed; inset: 0; background: rgba(6,11,26,0.7); backdrop-filter: blur(8px); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1.5rem; animation: fadeIn 0.3s ease; }
.popup-card { background: var(--surface); border-radius: var(--radius-xl); padding: 2rem; max-width: 420px; width: 100%; position: relative; box-shadow: var(--shadow-lg); animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both; border: 1px solid rgba(255,255,255,0.8); }
.popup-close { position: absolute; top: 16px; right: 16px; background: var(--border-light); border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 16px; cursor: pointer; color: var(--text-secondary); display: flex; align-items: center; justify-content: center; }
.popup-badges { display: flex; gap: 6px; margin-bottom: 4px; }
.badge { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 10px; text-transform: uppercase; letter-spacing: 0.03em; }
.badge-success { background: var(--success-light); color: var(--success); }
.badge-brand { background: var(--teal-light); color: var(--teal-dark); }

/* ===== Theme toggle ===== */
.theme-toggle {
    width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--border);
    background: var(--surface); cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: transform var(--transition);
}
.theme-toggle:hover { transform: scale(1.08); }
.theme-toggle i { font-size: 17px; color: var(--text-secondary); }

/* ===== Animations ===== */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes heroGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes shimmerSweep {
    0% { transform: translateX(-100%) rotate(25deg); }
    100% { transform: translateX(100%) rotate(25deg); }
}
@keyframes btnShimmer {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}
@keyframes goldShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}
@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -30px) scale(1.05); }
    66% { transform: translate(-15px, 20px) scale(0.95); }
}
@keyframes meshDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, -15px); }
}
@keyframes iconPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0.3); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(255,255,255,0); }
}
@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
@keyframes walletPulse {
    0%, 100% { box-shadow: 0 2px 12px rgba(26,58,255,0.1); }
    50% { box-shadow: 0 4px 20px rgba(26,58,255,0.2); }
}
@keyframes bellPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 2px #fff; }
    50% { transform: scale(1.2); box-shadow: 0 0 0 4px rgba(232,92,76,0.3); }
}
@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
    50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}
@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
@keyframes boltPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}
@keyframes promoGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(232,184,75,0); }
    50% { box-shadow: 0 0 20px 2px rgba(232,184,75,0.15); }
}
@keyframes crownBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(5deg); }
}
@keyframes ctaGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}
@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-in { animation: fadeSlideUp 0.55s cubic-bezier(0.34, 1.2, 0.64, 1) both; }
.animate-in-delay-1 { animation-delay: 0.1s; }
.animate-in-delay-2 { animation-delay: 0.2s; }
.animate-in-delay-3 { animation-delay: 0.3s; }
.animate-in-delay-4 { animation-delay: 0.4s; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s cubic-bezier(0.34, 1.2, 0.64, 1), transform 0.7s cubic-bezier(0.34, 1.2, 0.64, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

.stat-grid .stat-card:nth-child(1) { animation: fadeSlideUp 0.5s 0.05s ease both; }
.stat-grid .stat-card:nth-child(2) { animation: fadeSlideUp 0.5s 0.12s ease both; }
.stat-grid .stat-card:nth-child(3) { animation: fadeSlideUp 0.5s 0.19s ease both; }
.stat-grid .stat-card:nth-child(4) { animation: fadeSlideUp 0.5s 0.26s ease both; }

.landing-logo-mark { animation: iconPulse 4s ease-in-out infinite; }
.landing-nav { animation: fadeSlideUp 0.5s ease both; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ===== Dark theme ===== */
[data-theme="dark"] {
    --sidebar-bg: #0F172A;
    --sidebar-text: #94a3b8;
    --sidebar-active-bg: #1E3A5F;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: #1e293b;
    --border-light: #1e293b;
    --surface: #1E293B;
    --page-bg: #0F172A;
}
[data-theme="dark"] .nav-item:hover { background: #1e293b; }
[data-theme="dark"] input, [data-theme="dark"] select, [data-theme="dark"] textarea { background: #0F172A; color: #f1f5f9; border-color: #334155; }
[data-theme="dark"] .topbar { background: #1E293B; }
[data-theme="dark"] .sidebar { background: #0F172A; }
[data-theme="dark"] .activity-row:hover { background: #1e293b; }
[data-theme="dark"] .guest-card { background: #1E293B; }
[data-theme="dark"] .wallet-pill { background: #1E3A5F; color: #93C5FD; }

.dark-theme body { background: #0B0F1E; }
.dark-theme .sidebar { background: #0F1526; border-right-color: #1E293B; }
.dark-theme .sidebar-logo span { color: #fff; }
.dark-theme .nav-section-label { color: #64748B; }
.dark-theme .nav-item { color: #94A3B8; }
.dark-theme .nav-item:hover { background: #1A2138; color: #fff; }
.dark-theme .nav-item.active { background: var(--gradient-brand); color: #fff; }
.dark-theme .topbar { background: #0F1526; border-bottom-color: #1E293B; }
.dark-theme .topbar-left { color: #fff; }
.dark-theme .wallet-pill { background: #1A2138; color: #93C5FD; }
.dark-theme .content-pad { background: #0B0F1E; }
.dark-theme .dd-card { background: #131A2E; border: 1px solid #1E293B; }
.dark-theme .dd-text-primary { color: #fff; }
.dark-theme .dd-text-secondary { color: #94A3B8; }
.dark-theme .dd-text-muted { color: #64748B; }
.dark-theme .section-title { color: #94A3B8; }
.dark-theme .stat-card { border: 1px solid transparent; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.dark-theme .stat-card:hover { transform: translateY(-5px) scale(1.02); }
.dark-theme .quick-item { background: #131A2E; border: 1px solid #1E293B; color: #F1F5F9; }
.dark-theme .quick-item:hover { background: #1A2138; box-shadow: 0 12px 28px rgba(0,0,0,0.4); }
.dark-theme .activity-list { background: #131A2E; border: 1px solid #1E293B; }
.dark-theme .activity-row { border-bottom-color: #1E293B; }
.dark-theme .activity-row:hover { background: #1A2138; }
.dark-theme .hero-card:hover { transform: perspective(800px) rotateX(0deg) translateY(-4px); }
.dark-theme .menu-toggle { color: #F1F5F9; }
.dark-theme .sidebar-brand { background: linear-gradient(135deg, #0F5EFF, #7C3AED); }
.dark-theme .announcement-banner { background: linear-gradient(90deg, #D97706, #B45309); }

/* ===== Premium dashboard nav ===== */
.dash-shell { background: linear-gradient(160deg, #F8FAFF 0%, #F1F5F9 45%, #EEF2FF 100%); }

.sidebar--premium {
    width: 272px;
    top: 14px;
    bottom: 14px;
    left: 14px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    box-shadow:
        0 4px 6px rgba(15,23,42,0.02),
        0 20px 50px rgba(24,95,165,0.08),
        inset 0 1px 0 rgba(255,255,255,0.95);
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-glow {
    position: absolute;
    top: -40px;
    right: -30px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(124,58,237,0.18) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.sidebar--premium .sidebar-brand--premium {
    margin: 0;
    border-radius: 0;
    padding: 22px 18px 18px;
    background: linear-gradient(135deg, #185FA5 0%, #1A3AFF 50%, #7C3AED 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

.sidebar-wallet-chip {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.28);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.sidebar-wallet-chip i { font-size: 14px; opacity: 0.9; }

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 8px 10px 12px;
    position: relative;
    z-index: 1;
}

.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 4px; }

.nav-group { margin-bottom: 6px; }

.nav-group-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px 6px;
    margin: 0;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #94A3B8;
}

.nav-group-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #E2E8F0, transparent);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    margin: 3px 0;
    border-radius: 14px;
    text-decoration: none;
    color: #475569;
    font-size: 13.5px;
    font-weight: 600;
    position: relative;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 60%;
    border-radius: 0 4px 4px 0;
    background: var(--nav-accent, #185FA5);
    transition: transform 0.22s ease;
}

.nav-link:hover {
    background: rgba(24,95,165,0.06);
    color: #0F172A;
    transform: translateX(2px);
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(24,95,165,0.1), rgba(124,58,237,0.08));
    color: #0F172A;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(24,95,165,0.1);
}

.nav-link.active::before { transform: translateY(-50%) scaleY(1); }

.nav-link-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: var(--nav-bg, #EFF6FF);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.nav-link-icon i {
    font-size: 17px;
    color: var(--nav-accent, #185FA5);
    width: auto;
}

.nav-link:hover .nav-link-icon,
.nav-link.active .nav-link-icon {
    transform: scale(1.06);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--nav-accent, #185FA5) 25%, transparent);
}

.nav-link.active .nav-link-icon {
    background: var(--nav-accent, #185FA5);
}

.nav-link.active .nav-link-icon i { color: #fff; }

.nav-link-text { flex: 1; min-width: 0; }

.sidebar-promo--premium {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 12px 10px;
    padding: 14px;
    border-radius: 16px;
    text-decoration: none;
    background: linear-gradient(135deg, #FFF7ED, #FEF3C7);
    border: 1px solid rgba(217,119,6,0.25);
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-promo--premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217,119,6,0.18);
}

.sidebar-promo-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-promo-icon i { color: #fff; font-size: 18px; }

.sidebar-promo--premium .sidebar-promo-title { margin: 0; font-size: 12px; font-weight: 800; color: #92400E; }
.sidebar-promo--premium .sidebar-promo-text { margin: 2px 0 0; font-size: 10.5px; color: #B45309; }
.sidebar-promo-arrow { color: #D97706; font-size: 16px; margin-left: auto; }

.sidebar-footer {
    padding: 10px 12px 14px;
    border-top: 1px solid rgba(226,232,240,0.9);
    background: rgba(248,250,252,0.6);
    position: relative;
    z-index: 1;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    text-decoration: none;
    transition: background 0.2s ease;
    margin-bottom: 6px;
}

.sidebar-user:hover { background: rgba(24,95,165,0.06); }

.sidebar-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #185FA5, #7C3AED);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(24,95,165,0.3);
}

.sidebar-user-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sidebar-user-name { font-size: 13px; font-weight: 700; color: #0F172A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-role { font-size: 11px; color: #64748B; margin-top: 1px; }
.sidebar-user-chevron { color: #94A3B8; font-size: 16px; }

.sidebar-logout {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid #FECACA;
    border-radius: 12px;
    background: #FEF2F2;
    color: #DC2626;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
    box-shadow: none;
}

.sidebar-logout:hover {
    background: #FEE2E2;
    transform: translateY(-1px);
}

.dash-shell .main-area { margin-left: 286px; }

.topbar--premium {
    margin: 14px 14px 0 0;
    padding: 10px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.78);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.95);
    box-shadow:
        0 1px 3px rgba(15,23,42,0.03),
        0 12px 32px rgba(24,95,165,0.06);
    gap: 12px;
}

.topbar-breadcrumb {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94A3B8;
    line-height: 1.2;
}

.topbar-page-title {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.topbar-quicknav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border-radius: 999px;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
}

.topbar-quicknav-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    color: #64748B;
    text-decoration: none;
    transition: all 0.2s ease;
}

.topbar-quicknav-item i { font-size: 14px; }

.topbar-quicknav-item:hover {
    color: #185FA5;
    background: rgba(255,255,255,0.7);
}

.topbar-quicknav-item.active {
    background: linear-gradient(135deg, #185FA5, #1A3AFF);
    color: #fff;
    box-shadow: 0 4px 14px rgba(24,95,165,0.3);
}

.wallet-pill--premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 6px 6px 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff, #F8FAFF);
    border: 1.5px solid rgba(24,95,165,0.15);
    text-decoration: none;
    transition: all 0.22s ease;
    animation: none;
}

.wallet-pill--premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(24,95,165,0.15);
    border-color: rgba(24,95,165,0.3);
}

.wallet-pill-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #185FA5, #7C3AED);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wallet-pill-icon i { color: #fff; font-size: 14px; }

.wallet-pill-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94A3B8;
    line-height: 1;
}

.wallet-pill-amount {
    font-size: 13.5px;
    font-weight: 800;
    color: #185FA5;
    line-height: 1;
    padding-right: 6px;
}

.bell-wrap--premium {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
}

.bell-wrap--premium:hover {
    background: #EFF6FF;
    border-color: #BFDBFE;
}

.avatar--premium {
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(24,95,165,0.25);
}

.dash-shell .content-pad {
    padding: 1.25rem 14px max(1.75rem, env(safe-area-inset-bottom)) 0;
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
}

/* ===== Buy data page ===== */
.buy-page { max-width: 1100px; }

/* Hide duplicate topbar balance on buy page — chip is in page header */
body.page-buy-data .topbar .wallet-pill--premium { display: none !important; }

.buy-page-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.buy-page-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    flex: 1;
    min-width: 0;
}

.buy-page a.buy-wallet-3d,
a.buy-wallet-3d {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 5px 8px 5px 5px;
    border-radius: 999px;
    text-decoration: none !important;
    color: #fff !important;
    background: linear-gradient(145deg, #22C55E 0%, #16A34A 45%, #15803D 100%) !important;
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.35) inset,
        0 -2px 0 rgba(0,0,0,0.12) inset,
        0 6px 16px rgba(22,163,74,0.35),
        0 2px 4px rgba(0,0,0,0.08);
    transform: translateY(0);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.buy-page a.buy-wallet-3d:hover,
a.buy-wallet-3d:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.4) inset,
        0 -2px 0 rgba(0,0,0,0.12) inset,
        0 10px 22px rgba(22,163,74,0.42),
        0 4px 8px rgba(0,0,0,0.1);
}

.buy-wallet-3d__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(145deg, rgba(255,255,255,0.28), rgba(255,255,255,0.08));
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.buy-wallet-3d__icon i {
    font-size: 14px;
    color: #fff !important;
}

.buy-wallet-3d__body {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    min-width: 0;
}

.buy-wallet-3d__label {
    display: block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.88) !important;
}

.buy-wallet-3d__amount {
    display: block;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    white-space: nowrap;
}

.buy-wallet-3d__plus {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255,255,255,0.22);
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}

.buy-wallet-3d__plus i {
    font-size: 12px;
    font-weight: 700;
    color: #fff !important;
}

/* legacy alias */
.buy-page-wallet {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #15803D;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.buy-page-wallet i { font-size: 15px; }

.buy-bundle-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 16px;
    border: 1.5px dashed var(--border);
    background: #F8FAFC;
    color: var(--text-secondary);
}

.buy-bundle-empty i {
    font-size: 2rem;
    color: #94A3B8;
    display: block;
    margin-bottom: 8px;
}

.buy-bundle-empty p {
    margin: 0 0 4px;
    font-weight: 700;
    color: var(--text-primary);
}

.buy-hero {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #185FA5 0%, #1A3AFF 45%, #7C3AED 100%);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    box-shadow: 0 20px 50px rgba(24,95,165,0.22);
}

.buy-hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(255,255,255,0.18), transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(124,58,237,0.35), transparent 45%);
    pointer-events: none;
}

.buy-hero-content { position: relative; z-index: 1; padding: 26px 28px; }

.buy-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.buy-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.buy-hero-title {
    margin: 12px 0 6px;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
}

.buy-hero-sub {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.82);
    max-width: 480px;
    line-height: 1.5;
}

.buy-wallet-card {
    min-width: 180px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(12px);
}

.buy-wallet-label {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.88);
}

.buy-wallet-amount {
    display: block;
    margin-top: 4px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.buy-wallet-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff;
    color: #185FA5;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.buy-wallet-link:hover { transform: translateY(-2px); }

.buy-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.buy-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.14);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.buy-trust-item i { font-size: 14px; opacity: 0.9; }

.buy-error {
    margin-bottom: 1rem;
    padding: 14px 16px;
    border-radius: 14px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
    font-size: 13px;
}

.buy-network-card {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 30px rgba(24,95,165,0.06);
}

.buy-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.buy-section-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: #0F172A;
    display: flex;
    align-items: center;
    gap: 8px;
}

.buy-section-title i { color: #185FA5; }

.buy-section-sub {
    margin: 4px 0 0;
    font-size: 12.5px;
    color: #64748B;
}

.buy-section-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #15803D;
    font-size: 11.5px;
    font-weight: 700;
}

.buy-network-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.buy-network-tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 16px;
    border-radius: 18px;
    border: 2px solid #E2E8F0;
    background: #fff;
    color: #0F172A;
    font-family: var(--font);
    cursor: pointer;
    text-align: left;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(15,23,42,0.03);
    overflow: hidden;
}

.buy-network-tab:hover {
    transform: translateY(-3px);
    border-color: #CBD5E1;
    box-shadow: 0 10px 24px rgba(15,23,42,0.08);
}

.buy-network-tab.active { transform: translateY(-4px); font-weight: 800; }

.buy-network-tab-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.buy-network-tab.active .buy-network-tab-check { display: flex; }
.buy-network-tab-check i { color: #185FA5; font-size: 13px; }

.buy-network-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: #fff;
    padding: 3px;
    box-sizing: border-box;
}

.buy-network-tab-info { display: flex; flex-direction: column; min-width: 0; }
.buy-network-name { font-size: 14px; font-weight: 800; line-height: 1.2; }
.buy-network-count { font-size: 11px; font-weight: 600; opacity: 0.72; margin-top: 2px; }

.buy-delivery-widget {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    margin-bottom: 1.25rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #F0FDF4, #DCFCE7);
    border: 1px solid #BBF7D0;
    animation: fadeSlideUp 0.4s ease both;
}

.buy-delivery-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #16A34A;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.buy-delivery-icon i { color: #fff; font-size: 18px; }

.buy-delivery-title {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #15803D;
}

.buy-delivery-meta {
    margin: 3px 0 0;
    font-size: 11.5px;
    color: #166534;
}

.buy-delivery-meta span:last-child { font-weight: 800; }

.buy-delivery-tracker {
    display: none;
    margin-bottom: 1.25rem;
    animation: fadeSlideUp 0.35s ease both;
}

.buy-page .buy-delivery-tracker.is-visible,
.buy-page .buy-delivery-tracker[style*="block"] {
    display: block;
}

.buy-panel { animation: fadeSlideUp 0.35s ease both; }

.buy-panel-head { margin-bottom: 18px; }

.buy-panel-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.buy-panel-logo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    padding: 4px;
    box-sizing: border-box;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.buy-panel-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.02em;
}

.buy-panel-sub {
    margin: 3px 0 0;
    font-size: 12.5px;
    color: #64748B;
}

.buy-bundle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.buy-bundle-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 240px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(145deg, var(--card-bg), var(--card-bg2));
    color: var(--card-text);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15,23,42,0.12);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
}

.buy-bundle-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 45px rgba(15,23,42,0.18);
}

.buy-bundle-glow {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    pointer-events: none;
}

.buy-bundle-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.14) 50%, transparent 60%);
    animation: shimmerSweep 5s ease-in-out infinite;
    pointer-events: none;
}

.buy-bundle-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.buy-bundle-network-logo {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: contain;
    background: rgba(255,255,255,0.9);
    padding: 2px;
    box-sizing: border-box;
    border: 2px solid rgba(255,255,255,0.45);
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.buy-bundle-validity {
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.22);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.buy-bundle-body {
    flex: 1;
    position: relative;
    z-index: 1;
}

.buy-bundle-size {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.buy-bundle-label {
    margin: 6px 0 0;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.7;
}

.buy-bundle-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
    margin-top: 18px;
    position: relative;
    z-index: 1;
}

.buy-bundle-price-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.7;
}

.buy-bundle-price {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.buy-bundle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 11px 16px;
    border: none;
    border-radius: 12px;
    background: var(--card-btn);
    color: var(--card-btn-text);
    font-family: var(--font);
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.buy-bundle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.buy-bundle-card.selected {
    outline: 3px solid #185FA5;
    outline-offset: 3px;
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 16px 40px rgba(24,95,165,0.25);
}

/* Buy flow steps */
.buy-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 1.25rem;
    padding: 14px 16px;
    background: rgba(255,255,255,0.9);
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(24,95,165,0.05);
}

.buy-step {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.72;
    transition: opacity 0.2s ease;
}

.buy-step--active { opacity: 1; }
.buy-step--done { opacity: 1; }

.buy-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #E2E8F0;
    color: #64748B;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.buy-step--active .buy-step-num {
    background: linear-gradient(135deg, #185FA5, #1A3AFF);
    color: #fff;
    box-shadow: 0 4px 12px rgba(24,95,165,0.35);
}

.buy-step--done .buy-step-num {
    background: #16A34A;
    color: #fff;
}

.buy-step--done .buy-step-num::after { content: '✓'; font-size: 13px; }
.buy-step--done .buy-step-num { font-size: 0; }

.buy-step-text {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
}

.buy-step--active .buy-step-text { color: #0F172A; }
.buy-step--done .buy-step-text { color: #166534; }

.buy-step-line {
    flex: 1;
    height: 2px;
    background: #E2E8F0;
    margin: 0 10px;
    min-width: 20px;
    max-width: 60px;
}

/* Inline checkout panel */
.buy-checkout {
    margin-top: 1.5rem;
    scroll-margin-top: 80px;
}

.buy-checkout-header {
    text-align: center;
    margin-bottom: 1rem;
}

.buy-checkout-step-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    border: 1px solid #BFDBFE;
    color: #185FA5;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
}

.buy-checkout-title {
    margin: 0 0 6px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.02em;
}

.buy-checkout-sub {
    margin: 0;
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
}

.buy-checkout-card {
    background: #fff;
    border: 2px solid #185FA5;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 16px 48px rgba(24,95,165,0.12);
}

.buy-checkout-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #F8FAFC, #EFF6FF);
    border: 1px solid #E2E8F0;
    margin-bottom: 20px;
}

.buy-checkout-summary-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.buy-checkout-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.buy-checkout-summary-info { flex: 1; min-width: 0; }

.buy-checkout-summary-label {
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94A3B8;
}

.buy-checkout-summary-bundle {
    margin: 2px 0 0;
    font-size: 15px;
    font-weight: 800;
    color: #0F172A;
}

.buy-checkout-summary-network {
    margin: 2px 0 0;
    font-size: 12px;
    color: #64748B;
    font-weight: 600;
}

.buy-checkout-summary-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #185FA5;
    flex-shrink: 0;
}

.buy-checkout-phone-section { margin-bottom: 16px; }

.buy-checkout-phone-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 10px;
}

.buy-checkout-phone-label i { color: #185FA5; font-size: 18px; }

.buy-checkout-phone-wrap {
    display: flex;
    align-items: center;
    border: 2.5px solid #185FA5;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(24,95,165,0.12);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.buy-checkout-phone-wrap:focus-within {
    border-color: #1A3AFF;
    box-shadow: 0 0 0 4px rgba(24,95,165,0.15), 0 8px 24px rgba(24,95,165,0.15);
}

.buy-checkout-phone-prefix {
    padding: 16px 14px;
    background: #EFF6FF;
    color: #185FA5;
    font-size: 15px;
    font-weight: 800;
    border-right: 1.5px solid #BFDBFE;
    flex-shrink: 0;
}

.buy-checkout-phone-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 16px 14px;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font);
    color: #0F172A;
    letter-spacing: 0.02em;
    min-width: 0;
    background: transparent;
}

.buy-checkout-phone-input::placeholder {
    color: #94A3B8;
    font-weight: 500;
}

.buy-checkout-phone-input--error {
    color: #DC2626;
}

.buy-checkout-phone-wrap:has(.buy-checkout-phone-input--error) {
    border-color: #DC2626;
    box-shadow: 0 0 0 4px rgba(220,38,38,0.12);
}

.buy-checkout-phone-hint {
    margin: 8px 0 0;
    font-size: 12px;
    color: #64748B;
}

.buy-checkout-warning {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 12px;
    background: #FFF7ED;
    border: 1px solid #FDE68A;
    margin-bottom: 18px;
}

.buy-checkout-warning i { color: #D97706; font-size: 17px; flex-shrink: 0; margin-top: 1px; }

.buy-checkout-warning p {
    margin: 0;
    font-size: 12px;
    color: #92400E;
    line-height: 1.45;
}

.buy-checkout-actions {
    display: flex;
    gap: 10px;
}

.buy-checkout-change {
    flex: 0 0 auto;
    margin: 0;
    padding: 14px 18px;
    border: 1.5px solid #E2E8F0;
    border-radius: 14px;
    background: #F8FAFC;
    color: #475569;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: none;
    transition: background 0.2s ease;
}

.buy-checkout-change:hover { background: #F1F5F9; }

.buy-checkout-confirm {
    flex: 1;
    margin: 0;
    padding: 16px 20px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #185FA5, #1A3AFF);
    color: #fff;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(24,95,165,0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.buy-checkout-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(24,95,165,0.45);
}

.buy-checkout-confirm:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.buy-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.55);
    backdrop-filter: blur(6px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.buy-modal {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(15,23,42,0.25);
    animation: fadeSlideUp 0.3s ease both;
}

.buy-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 10px;
    background: #F1F5F9;
    color: #64748B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    box-shadow: none;
}

.buy-modal-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.buy-modal-icon i { font-size: 24px; color: #185FA5; }

.buy-modal-title {
    margin: 0 0 4px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0F172A;
}

.buy-modal-sub {
    margin: 0 0 16px;
    font-size: 12.5px;
    color: #64748B;
}

.buy-modal-summary {
    padding: 14px;
    border-radius: 14px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    margin-bottom: 16px;
}

.buy-modal-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 12.5px;
    color: #64748B;
    padding: 4px 0;
}

.buy-modal-summary-row strong { color: #0F172A; font-weight: 700; }

.buy-modal-label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
}

.buy-modal-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #E2E8F0;
    border-radius: 14px;
    font-size: 15px;
    font-family: var(--font);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.buy-modal-input:focus {
    outline: none;
    border-color: #185FA5;
    box-shadow: 0 0 0 4px rgba(24,95,165,0.12);
}

.buy-modal-warning {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
}

.buy-modal-warning i { color: #DC2626; font-size: 16px; flex-shrink: 0; margin-top: 1px; }

.buy-modal-warning p {
    margin: 0;
    font-size: 11.5px;
    color: #991B1B;
    line-height: 1.45;
}

.buy-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.buy-modal-cancel,
.buy-modal-confirm {
    flex: 1;
    margin: 0;
    padding: 13px;
    border: none;
    border-radius: 14px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.buy-modal-cancel {
    background: #F1F5F9;
    color: #0F172A;
    box-shadow: none;
}

.buy-modal-confirm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #185FA5, #0C447C);
    color: #fff;
}

/* ===== Global responsive fixes ===== */
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; }
.dash-shell { overflow-x: hidden; }
.dash-shell .main-area { min-width: 0; overflow-x: hidden; }
.dash-shell .content-pad { max-width: 100%; box-sizing: border-box; }

.stat-grid--five,
.stat-grid[style*="repeat(5"] { grid-template-columns: repeat(5, 1fr) !important; }

body, .sidebar, .topbar, input, select, textarea, .stat-card, .quick-item, .activity-list, .card {
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .stat-grid--five,
    .stat-grid[style*="repeat(5"] { grid-template-columns: repeat(3, 1fr) !important; }
    .buy-bundle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    .sidebar--premium {
        left: 0;
        top: 0;
        bottom: 0;
        border-radius: 0 22px 22px 0;
        width: min(280px, 88vw);
    }
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); box-shadow: 4px 0 24px rgba(0,0,0,0.15); }
    .dash-shell .main-area { margin-left: 0; }
    .topbar--premium {
        margin: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: max(10px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 10px max(12px, env(safe-area-inset-left));
        gap: 8px;
    }
    .topbar-quicknav { display: none; }
    .wallet-pill-label { display: none; }
    .dash-shell .content-pad { padding: 1rem; }
    .menu-toggle { display: block; }
    .topbar-page-title { font-size: 14px; max-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .topbar-breadcrumb { font-size: 9.5px; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-grid--five,
    .stat-grid[style*="repeat(5"] { grid-template-columns: repeat(2, 1fr) !important; }
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .two-col, .dd-three-col { display: flex !important; flex-direction: column !important; }
    .content-pad { padding: 1rem; }
    .landing-nav-links a:not(.btn-nav-primary) { display: none; }
    .landing-stats { gap: 2rem; }

    .buy-hero-content { padding: 20px 18px; }
    .buy-hero-top { flex-direction: column; }
    .buy-wallet-card { width: 100%; box-sizing: border-box; }
    .buy-network-card { padding: 16px; border-radius: 18px; }
    .buy-network-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
    }
    .buy-network-tab {
        flex: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 12px 8px;
        gap: 8px;
    }
    .buy-network-tab-info { align-items: center; }
    .buy-network-logo { width: 40px; height: 40px; }
    .buy-section-head { flex-direction: column; align-items: flex-start; }
    .buy-panel-title-wrap { flex-wrap: wrap; }
    .buy-bundle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .buy-modal {
        max-height: calc(100dvh - 2rem);
        overflow-y: auto;
        padding: 22px 18px;
        border-radius: 20px;
    }
    .buy-modal-overlay { padding: 1rem; align-items: flex-end; }
}

@media (max-width: 640px) {
    .wallet-pill--premium { padding: 4px 8px 4px 4px; }
    .wallet-pill-amount { font-size: 12px; padding-right: 2px; }
    .topbar-right { gap: 8px; }
    .avatar--premium { width: 34px; height: 34px; font-size: 12px; }
    .bell-wrap--premium { width: 34px; height: 34px; }
    .buy-trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .buy-trust-item { justify-content: center; font-size: 11px; padding: 8px 10px; }
    .buy-bundle-grid { grid-template-columns: 1fr; }
    .buy-bundle-card { min-height: auto; }
    .buy-bundle-footer { flex-direction: row; align-items: flex-end; }
    .buy-bundle-btn { padding: 10px 14px; white-space: nowrap; }
}

@media (max-width: 480px) {
    .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat-grid--five,
    .stat-grid[style*="repeat(5"] { grid-template-columns: 1fr 1fr !important; }
    .stat-card { padding: 14px; }
    .stat-card-value { font-size: 1.15rem; }
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .network-tab { padding: 10px 6px !important; font-size: 11px !important; }
    .bundle-card { padding: 12px !important; gap: 10px !important; }
    .wallet-pill { font-size: 12px; padding: 6px 12px; }
    .wallet-pill-amount { display: none; }
    .topbar-page-title { max-width: 110px; font-size: 13px; }
    .buy-hero { border-radius: 16px; margin-bottom: 1rem; }
    .buy-hero-content { padding: 18px 16px; }
    .buy-hero-title { font-size: 1.45rem; }
    .buy-hero-sub { font-size: 13px; }
    .buy-page-title { font-size: 1.15rem; }
    .buy-wallet-3d { gap: 6px; padding: 4px 7px 4px 4px; }
    .buy-wallet-3d__icon { width: 24px; height: 24px; }
    .buy-wallet-3d__icon i { font-size: 12px; }
    .buy-wallet-3d__amount { font-size: 11.5px; }
    .buy-wallet-3d__label { font-size: 8px; }
    .buy-wallet-3d__plus { width: 20px; height: 20px; }
    .buy-wallet-amount { font-size: 1.25rem; }
    .buy-network-card { padding: 14px; }
    .buy-network-tabs { gap: 6px; }
    .buy-network-tab { padding: 10px 6px; gap: 6px; }
    .buy-network-logo { width: 34px; height: 34px; }
    .buy-network-name { font-size: 11px; line-height: 1.2; }
    .buy-network-count { font-size: 9px; }
    .buy-network-tab-check { top: 6px; right: 6px; width: 18px; height: 18px; }
    .buy-network-tab-check i { font-size: 11px; }
    .buy-section-pill { font-size: 10.5px; }
    .buy-bundle-grid { grid-template-columns: 1fr; gap: 12px; }
    .buy-bundle-card { padding: 16px; }
    .buy-bundle-size { font-size: 1.85rem; }
    .buy-bundle-footer { flex-direction: column; align-items: stretch; gap: 12px; }
    .buy-bundle-btn { justify-content: center; width: 100%; }
    .buy-step-text { display: none; }
    .buy-step-line { max-width: 30px; margin: 0 6px; }
    .buy-checkout-card { padding: 18px 16px; border-radius: 18px; }
    .buy-checkout-title { font-size: 1.15rem; }
    .buy-checkout-phone-input { font-size: 16px; padding: 14px 12px; }
    .buy-checkout-phone-prefix { padding: 14px 12px; font-size: 14px; }
    .buy-checkout-actions { flex-direction: column; }
    .buy-checkout-change { justify-content: center; }
    .buy-checkout-confirm { width: 100%; }
    .buy-checkout-summary { flex-wrap: wrap; }
    .buy-checkout-summary-price { width: 100%; margin-top: 8px; }
    .buy-panel-logo { width: 44px; height: 44px; }
    .buy-panel-title { font-size: 1.1rem; }
    .buy-delivery-widget { flex-direction: column; align-items: flex-start; }
    .buy-modal { border-radius: 18px 18px 0 0; max-height: 92dvh; }
    .buy-modal-actions { flex-direction: column; }
    .buy-modal-cancel, .buy-modal-confirm { width: 100%; }
    .hero-card .amount { font-size: 1.65rem; }
    .hero-card { padding: 1.25rem; }
    .page-header { flex-direction: column; align-items: stretch; }
    .page-header .btn { width: 100%; text-align: center; }
}

@media (max-width: 360px) {
    .buy-hero-title { font-size: 1.3rem; }
    .buy-trust-row { grid-template-columns: 1fr; }
    .stat-grid--five,
    .stat-grid[style*="repeat(5"] { grid-template-columns: 1fr !important; }
    .quick-grid { grid-template-columns: 1fr; }
    .topbar-page-title { max-width: 90px; }
}

@media (min-width: 900px) {
    .guest-buy-container { max-width: 900px !important; }
    .bundle-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; }
    .bundle-card { flex-direction: column !important; align-items: flex-start !important; text-align: left; }
    .bundle-card > div:last-child { text-align: left !important; width: 100%; margin-top: 8px; }
    .bundle-card > div:last-child button { width: 100% !important; }
}

@media (max-width: 860px) {
    div[style*="grid-template-columns:1.2fr 1fr"],
    div[style*="grid-template-columns:1.3fr 1fr"],
    div[style*="grid-template-columns:1fr 1fr"] {
        display: block !important;
    }
    div[style*="grid-template-columns:1.2fr 1fr"] > *,
    div[style*="grid-template-columns:1.3fr 1fr"] > *,
    div[style*="grid-template-columns:1fr 1fr"] > * {
        margin-bottom: 16px;
    }
    .card { max-width: 100% !important; }
    table { font-size: 12px !important; }
    .dark-theme .content-pad > div[style*="grid-template-columns:1fr 1.3fr 1fr"] {
        display: flex !important;
        flex-direction: column !important;
    }
}

/* ── Result Checker pages ── */
.checker-page { max-width: 1100px; }

.checker-hero { background: linear-gradient(135deg, #0C447C 0%, #185FA5 45%, #7C3AED 100%); }
.checker-hero-glow {
    background: radial-gradient(ellipse at 80% 20%, rgba(124,58,237,0.45) 0%, transparent 55%),
                radial-gradient(ellipse at 20% 80%, rgba(24,95,165,0.35) 0%, transparent 50%);
    animation: checkerGlowPulse 6s ease-in-out infinite alternate;
}
.checker-hero-badge { background: rgba(255,255,255,0.18); backdrop-filter: blur(8px); }
.checker-wallet-card { background: rgba(255,255,255,0.14); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.22); }

.checker-steps { animation: fadeSlideUp 0.4s 0.1s ease both; }

.checker-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-bottom: 1.25rem;
}

.checker-product-card {
    position: relative;
    background: #fff;
    border-radius: 22px;
    padding: 22px;
    border: 2px solid #E2E8F0;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.25s ease, box-shadow 0.3s ease;
    animation: fadeSlideUp 0.45s var(--delay, 0s) ease both;
}
.checker-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(15,23,42,0.1);
}
.checker-product-card--selected {
    border-color: #185FA5;
    box-shadow: 0 16px 40px rgba(24,95,165,0.15);
    transform: translateY(-4px);
}
.checker-product-card--bece.checker-product-card--selected { border-color: #185FA5; }
.checker-product-card--waec.checker-product-card--selected { border-color: #7C3AED; }

.checker-product-glow {
    position: absolute;
    inset: -40%;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.checker-product-card--bece .checker-product-glow {
    background: radial-gradient(circle, rgba(24,95,165,0.12) 0%, transparent 65%);
}
.checker-product-card--waec .checker-product-glow {
    background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 65%);
}
.checker-product-card:hover .checker-product-glow,
.checker-product-card--selected .checker-product-glow { opacity: 1; }

.checker-product-shine {
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: skewX(-20deg);
    animation: checkerShine 4s ease-in-out infinite;
    pointer-events: none;
}

.checker-product-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}
.checker-product-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.checker-product-card:hover .checker-product-icon { transform: scale(1.08) rotate(-3deg); }
.checker-product-icon--bece { background: linear-gradient(135deg, #EFF6FF, #DBEAFE); color: #185FA5; }
.checker-product-icon--waec { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); color: #7C3AED; }

.checker-product-type {
    margin: 0;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.checker-product-card--bece .checker-product-type { color: #1D4ED8; }
.checker-product-card--waec .checker-product-type { color: #6D28D9; }

.checker-product-name {
    margin: 3px 0 0;
    font-size: 16px;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.02em;
}

.checker-product-pricing {
    margin: 6px 0 0;
    font-size: 13px;
    color: #334155;
    font-weight: 600;
    line-height: 1.45;
}

.checker-stock {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.checker-stock--in { background: #DCFCE7; color: #16A34A; }
.checker-stock--out { background: #FEE2E2; color: #DC2626; }
.checker-stock-pulse {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #16A34A;
    animation: checkerPulse 1.8s ease-in-out infinite;
}

.checker-qty-row { position: relative; z-index: 1; }
.checker-qty-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0F172A;
}
.checker-qty-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}
.checker-qty-btn {
    width: 44px; height: 44px;
    border-radius: 14px;
    border: 1.5px solid #E2E8F0;
    background: #F8FAFC;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    margin: 0;
    box-shadow: none;
    color: #0F172A;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, border-color 0.2s ease;
}
.checker-qty-btn:hover:not(:disabled) {
    background: #EFF6FF;
    border-color: #BFDBFE;
    transform: scale(1.06);
}
.checker-qty-btn:active:not(:disabled) { transform: scale(0.95); }
.checker-qty-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.checker-qty-input {
    width: 72px;
    text-align: center;
    border: 2px solid #E2E8F0;
    border-radius: 14px;
    padding: 11px;
    font-size: 18px;
    font-weight: 800;
    font-family: var(--font);
    color: #0F172A;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.checker-qty-input:focus {
    outline: none;
    border-color: #185FA5;
    box-shadow: 0 0 0 4px rgba(24,95,165,0.12);
}

.checker-product-note {
    margin: 14px 0 0;
    font-size: 12px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.checker-quote-panel,
.checker-checkout-panel {
    margin-bottom: 1.25rem;
    animation: fadeSlideUp 0.35s ease both;
}
.checker-panel-enter { animation: checkerPanelIn 0.4s cubic-bezier(0.34, 1.2, 0.64, 1) both; }

.checker-quote-lines { margin-bottom: 4px; }
.checker-quote-line {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: #334155;
    border-bottom: 1px solid #F1F5F9;
    animation: fadeSlideUp 0.3s ease both;
}
.checker-quote-line strong { color: #0F172A; }
.checker-quote-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    margin-top: 10px;
    border-top: 2px solid #E2E8F0;
    font-size: 15px;
    font-weight: 800;
}
.checker-quote-total span:last-child {
    font-size: 1.4rem;
    color: #185FA5;
}

.checker-step-badge { background: linear-gradient(135deg, #EDE9FE, #DBEAFE); color: #5B21B6; }
.checker-confirm-btn {
    width: 100%;
    margin: 0;
    background: linear-gradient(135deg, #185FA5, #7C3AED) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.checker-confirm-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(124,58,237,0.3);
}
.checker-confirm-btn:disabled { opacity: 0.55; transform: none; }

.checker-spin { animation: spin 0.8s linear infinite; display: inline-block; }

/* My Checkers */
.checker-page-header { margin-bottom: 1.25rem; }
.checker-list-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}
.checker-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.checker-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 800px;
}
.checker-table thead tr {
    border-bottom: 1.5px solid var(--border);
    background: linear-gradient(135deg, #F8FAFC, #EFF6FF);
}
.checker-table th {
    text-align: left;
    padding: 14px 16px;
    font-size: 10.5px;
    text-transform: uppercase;
    color: #334155;
    letter-spacing: 0.05em;
    font-weight: 700;
}
.checker-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}
.checker-table tbody tr:hover { background: #F8FAFC; }
.checker-table td {
    padding: 14px 16px;
    color: #0F172A;
}

.checker-type-badge {
    font-weight: 700;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 8px;
    display: inline-block;
}
.checker-type-badge--bece { background: #EFF6FF; color: #185FA5; }
.checker-type-badge--waec { background: #EDE9FE; color: #7C3AED; }

.checker-code {
    font-size: 12px;
    color: #0F172A;
    background: #F8FAFC;
    padding: 4px 8px;
    border-radius: 6px;
}
.checker-ref { font-family: monospace; font-size: 11px; color: #475569; }
.checker-date { font-size: 12px; color: var(--text-secondary); }

.checker-copy-btn {
    width: auto;
    margin: 0 0 0 6px;
    padding: 4px 8px;
    font-size: 10px;
    border-radius: 8px;
    background: #F1F5F9;
    border: none;
    cursor: pointer;
    font-weight: 700;
    color: #475569;
    box-shadow: none;
    transition: background 0.15s ease, transform 0.15s ease;
}
.checker-copy-btn:hover { background: #E2E8F0; transform: scale(1.04); }

.checker-sms-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.checker-result-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: auto;
    margin: 0;
    padding: 7px 14px;
    font-size: 11.5px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #16A34A, #15803D);
    box-shadow: 0 4px 12px rgba(22,163,74,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.checker-result-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(22,163,74,0.35); color: #fff; }
.checker-result-btn--full { width: 100%; justify-content: center; padding: 12px; font-size: 13px; margin-top: 4px; }

.checker-pagination { padding: 18px; }

.checker-empty { padding: 4rem 2rem; text-align: center; }
.checker-empty-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    background: #EFF6FF;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    font-size: 30px;
    color: #185FA5;
    animation: checkerFloat 3s ease-in-out infinite;
}
.checker-empty-title { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.checker-empty-sub { font-size: 13px; color: var(--text-secondary); margin: 0 0 20px; }

/* Receipt */
.checker-receipt-card {
    background: #fff;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 8px 32px rgba(15,23,42,0.06);
    max-width: 640px;
    margin: 0 auto;
}
.checker-receipt-success { text-align: center; margin-bottom: 1.5rem; }
.checker-receipt-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: #DCFCE7;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
    font-size: 32px;
    color: #16A34A;
}
.checker-receipt-icon--pulse { animation: checkerSuccessPulse 2s ease-in-out infinite; }
.checker-receipt-title { margin: 0; font-size: 1.4rem; font-weight: 800; }
.checker-receipt-sub { margin: 6px 0 0; font-size: 13px; color: var(--text-secondary); }

.checker-receipt-meta {
    background: #F8FAFC;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 1.25rem;
    border: 1px solid #E2E8F0;
}
.checker-receipt-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 6px 0;
}
.checker-receipt-total { font-weight: 800; color: #185FA5; font-size: 1.1rem; }

.checker-receipt-item {
    background: linear-gradient(135deg, #F8FAFC, #EFF6FF);
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.checker-receipt-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(24,95,165,0.1);
}
.checker-receipt-item-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.checker-receipt-credentials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.checker-credential-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #94A3B8;
    margin: 0 0 4px;
}
.checker-credential-value {
    font-size: 16px;
    font-weight: 800;
    font-family: monospace;
    margin: 0;
    word-break: break-all;
}

.checker-receipt-actions {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.checker-receipt-action { flex: 1; margin: 0; text-align: center; min-width: 120px; }

.checker-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #0F172A;
    color: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
    pointer-events: none;
}
.checker-toast--show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@keyframes checkerGlowPulse {
    0% { opacity: 0.7; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}
@keyframes checkerShine {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}
@keyframes checkerPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}
@keyframes checkerPanelIn {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes checkerFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes checkerSuccessPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0.35); }
    50% { box-shadow: 0 0 0 12px rgba(22,163,74,0); }
}

@media (max-width: 640px) {
    .checker-receipt-credentials { grid-template-columns: 1fr; }
    .checker-receipt-actions { flex-direction: column; }
    .checker-receipt-action { width: 100%; }
    .checker-product-grid { grid-template-columns: 1fr; }
}
/* ═══════════════════════════════════════════
   PREMIUM NAVIGATION — Sidebar & Drawer
   ═══════════════════════════════════════════ */

body.nav-drawer-open {
    overflow: hidden;
    touch-action: none;
}

.dash-banner-announcement {
    background: linear-gradient(90deg, #D85A30, #E11D48);
    color: #fff;
    padding: 0.65rem 1.25rem;
    font-size: 13px;
    text-align: center;
}

.app-shell--premium { min-height: 100vh; }

.sidebar--premium {
    width: var(--nav-width);
    padding: 0;
    border-right: 1px solid rgba(15,23,42,0.06);
    background: var(--surface);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(15,23,42,0.04);
}

.main-area--premium { margin-left: var(--nav-width); }

/* Header */
.sidebar-premium__header {
    position: relative;
    padding: 1.1rem 1rem 1.35rem;
    background: var(--nav-gradient);
    overflow: hidden;
}

.sidebar-premium__header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 15%, rgba(255,255,255,0.18), transparent 45%);
    pointer-events: none;
}

.sidebar-premium__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.sidebar-premium__logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.28);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.sidebar-premium__logo i {
    font-size: 20px;
    color: #fff;
}

.sidebar-premium__title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.sidebar-premium__account {
    margin: 2px 0 0;
    font-size: 10.5px;
    font-weight: 600;
    color: rgba(255,255,255,0.78);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sidebar-premium__header-actions {
    position: absolute;
    top: 1rem;
    right: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.sidebar-premium__icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.12);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease, background 0.2s ease;
}

.sidebar-premium__icon-btn:hover { background: rgba(255,255,255,0.2); }
.sidebar-premium__icon-btn:active { transform: scale(0.94); }

.sidebar-premium__dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #F87171;
    box-shadow: 0 0 0 2px rgba(24,95,165,0.9);
}

.sidebar-premium__avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255,255,255,0.95);
    color: #185FA5;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.sidebar-premium__avatar:hover { transform: scale(1.05); }

.sidebar-premium__live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 0.85rem;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.92);
    position: relative;
    z-index: 1;
}

.sidebar-premium__version {
    margin-left: 4px;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(255,255,255,0.2);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34D399;
    box-shadow: 0 0 0 0 rgba(52,211,153,0.6);
    animation: livePulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes livePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0.55); }
    50% { box-shadow: 0 0 0 5px rgba(52,211,153,0); }
}

@keyframes walletShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Wallet card */
.sidebar-wallet-card {
    display: block;
    margin: 0.85rem 0.85rem 0.25rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(135deg, #0C447C 0%, #2563EB 45%, #7C3AED 100%);
    background-size: 200% 200%;
    animation: walletShimmer 8s ease infinite;
    box-shadow: 0 10px 28px rgba(37,99,235,0.28), 0 0 0 1px rgba(255,255,255,0.08) inset;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    position: relative;
    overflow: hidden;
}

.sidebar-wallet-card::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    pointer-events: none;
}

.sidebar-wallet-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(37,99,235,0.35), 0 0 0 1px rgba(255,255,255,0.1) inset;
}

.sidebar-wallet-card:active { transform: scale(0.98); }

.sidebar-wallet-card__top {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.sidebar-wallet-card__icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(255,255,255,0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-wallet-card__icon i { font-size: 18px; color: #fff; }

.sidebar-wallet-card__label {
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255,255,255,0.72);
}

.sidebar-wallet-card__amount {
    margin: 2px 0 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.sidebar-wallet-card__arrow {
    margin-left: auto;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255,255,255,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.2s ease;
}

.sidebar-wallet-card:hover .sidebar-wallet-card__arrow { transform: translateX(2px); }

.sidebar-wallet-card__meta {
    margin: 0.55rem 0 0;
    font-size: 10.5px;
    color: rgba(255,255,255,0.65);
    position: relative;
    z-index: 1;
}

/* Nav items */
.sidebar-premium__nav {
    flex: 1;
    padding: 0.35rem 0.65rem 0.75rem;
    overflow-y: auto;
}

.sidebar-premium__section {
    margin: 1rem 0.55rem 0.45rem;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94A3B8;
}

.nav-premium-item {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    margin: 3px 0;
    padding: 10px 12px;
    border: none;
    border-radius: 13px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
    text-align: left;
}

.nav-premium-item__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease, background 0.2s ease;
}

.nav-premium-item__icon i { font-size: 17px; }

.nav-premium-item[data-accent="blue"] .nav-premium-item__icon { background: rgba(59,130,246,0.12); color: var(--nav-accent-blue); }
.nav-premium-item[data-accent="green"] .nav-premium-item__icon { background: rgba(16,185,129,0.12); color: var(--nav-accent-green); }
.nav-premium-item[data-accent="orange"] .nav-premium-item__icon { background: rgba(245,158,11,0.14); color: var(--nav-accent-orange); }
.nav-premium-item[data-accent="purple"] .nav-premium-item__icon { background: rgba(139,92,246,0.14); color: var(--nav-accent-purple); }
.nav-premium-item[data-accent="cyan"] .nav-premium-item__icon { background: rgba(6,182,212,0.14); color: var(--nav-accent-cyan); }
.nav-premium-item[data-accent="pink"] .nav-premium-item__icon { background: rgba(236,72,153,0.14); color: var(--nav-accent-pink); }
.nav-premium-item[data-accent="slate"] .nav-premium-item__icon { background: rgba(100,116,139,0.14); color: var(--nav-accent-slate); }
.nav-premium-item[data-accent="red"] .nav-premium-item__icon { background: rgba(239,68,68,0.12); color: var(--nav-accent-red); }

.nav-premium-item:hover {
    background: rgba(15,23,42,0.04);
    color: var(--text-primary);
    transform: translateX(2px);
}

.nav-premium-item:active { transform: scale(0.98); }

.nav-premium-item__glow {
    position: absolute;
    inset: 0;
    border-radius: 13px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.nav-premium-item.is-active {
    color: #fff;
    background: linear-gradient(135deg, #2563EB 0%, #4F46E5 55%, #7C3AED 100%);
    box-shadow: var(--nav-glow);
    transform: none;
}

.nav-premium-item.is-active .nav-premium-item__icon {
    background: rgba(255,255,255,0.18);
    color: #fff;
    transform: scale(1.05);
}

.nav-premium-item.is-active .nav-premium-item__glow {
    opacity: 1;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}

/* Promo card */
.sidebar-premium__promo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0.5rem 0.85rem 0;
    padding: 0.85rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #FFF7ED, #FEF3C7);
    border: 1px solid #FDE68A;
}

.sidebar-premium__promo i { font-size: 20px; color: #D97706; flex-shrink: 0; }
.sidebar-premium__promo p { margin: 0; font-size: 12px; font-weight: 700; color: #0F172A; }
.sidebar-premium__promo span { font-size: 10.5px; color: #78716C; }

.sidebar-premium__promo-link {
    margin-left: auto;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D97706;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(217,119,6,0.15);
    transition: transform 0.2s ease;
}

.sidebar-premium__promo-link:hover { transform: translateX(2px); }

/* Footer */
.sidebar-premium__footer {
    padding: 0.75rem 0.85rem 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-theme-toggle,
.sidebar-logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
    font-family: inherit;
}

.sidebar-theme-toggle:hover,
.sidebar-logout-btn:hover {
    background: #F8FAFC;
    color: var(--text-primary);
}

.sidebar-theme-toggle:active,
.sidebar-logout-btn:active { transform: scale(0.98); }

.sidebar-logout-btn i { color: #EF4444; }

/* Topbar */
.topbar--dash {
    background: rgba(255,255,255,0.92) !important;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(15,23,42,0.06);
    padding: 0.85rem 1.25rem;
}

.topbar--dash__left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar--dash__live {
    display: none;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.menu-toggle--premium {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    border: 1px solid var(--border);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.menu-toggle--premium:active { transform: scale(0.94); }

.wallet-pill--premium {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(24,95,165,0.1), rgba(124,58,237,0.1));
    border: 1px solid rgba(24,95,165,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wallet-pill--premium:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(24,95,165,0.12);
}

.avatar--premium { border-radius: 11px; }

.bell-wrap { position: relative !important; cursor: pointer; }

.content-pad--premium { padding: 1.5rem 1.25rem 2rem; }

/* Notifications */
.notif-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(320px, calc(100vw - 2rem));
    max-height: 400px;
    overflow-y: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(15,23,42,0.12);
    z-index: 200;
}

.notif-empty {
    padding: 1.25rem;
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.15s ease;
}

.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: #F8FAFC; }
.notif-item.is-read { opacity: 0.65; }

.notif-item__body { flex: 1; cursor: pointer; min-width: 0; }
.notif-item__title { margin: 0 0 3px; font-size: 13px; font-weight: 700; color: var(--text-primary); }
.notif-item__msg { margin: 0 0 4px; font-size: 12px; color: var(--text-secondary); line-height: 1.4; }
.notif-item__time { margin: 0; font-size: 10.5px; color: var(--text-muted); }

.notif-item__delete {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    flex-shrink: 0;
}

.notif-item__delete:hover { background: #FEE2E2; color: #DC2626; }

/* Mobile drawer */
@media (max-width: 860px) {
    .sidebar--premium {
        width: min(300px, 88vw);
        transform: translateX(-105%);
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .sidebar--premium.open {
        transform: translateX(0);
        box-shadow: 8px 0 40px rgba(15,23,42,0.2);
    }

    .main-area--premium { margin-left: 0; }

    .sidebar-overlay {
        opacity: 0;
        visibility: hidden;
        display: block;
        transition: opacity 0.25s ease, visibility 0.25s ease;
        backdrop-filter: blur(2px);
    }

    .sidebar-overlay.open {
        opacity: 1;
        visibility: visible;
    }

    .topbar--dash__live { display: inline-flex; }

    .menu-toggle--premium { display: flex; }
}

@media (min-width: 861px) {
    .menu-toggle--premium { display: none; }

    .sidebar-premium__header-actions { display: none; }

    .sidebar--premium {
        transform: none !important;
    }
}

/* Dark mode — premium nav */
[data-theme="dark"] .sidebar--premium,
.dark-theme .sidebar--premium {
    background: #0B1020;
    border-right-color: #1E293B;
}

[data-theme="dark"] .sidebar-premium__section,
.dark-theme .sidebar-premium__section { color: #64748B; }

[data-theme="dark"] .nav-premium-item,
.dark-theme .nav-premium-item { color: #94A3B8; }

[data-theme="dark"] .nav-premium-item:hover,
.dark-theme .nav-premium-item:hover {
    background: rgba(255,255,255,0.04);
    color: #E2E8F0;
}

[data-theme="dark"] .sidebar-premium__footer,
.dark-theme .sidebar-premium__footer { border-top-color: #1E293B; }

[data-theme="dark"] .sidebar-theme-toggle,
[data-theme="dark"] .sidebar-logout-btn,
.dark-theme .sidebar-theme-toggle,
.dark-theme .sidebar-logout-btn {
    background: #111827;
    border-color: #1E293B;
    color: #94A3B8;
}

[data-theme="dark"] .sidebar-theme-toggle:hover,
[data-theme="dark"] .sidebar-logout-btn:hover,
.dark-theme .sidebar-theme-toggle:hover,
.dark-theme .sidebar-logout-btn:hover {
    background: #1A2138;
    color: #E2E8F0;
}

[data-theme="dark"] .topbar--dash,
.dark-theme .topbar--dash {
    background: rgba(11,16,32,0.92) !important;
    border-bottom-color: #1E293B;
}

[data-theme="dark"] .menu-toggle--premium,
.dark-theme .menu-toggle--premium {
    background: #111827;
    border-color: #1E293B;
    color: #E2E8F0;
}

[data-theme="dark"] .wallet-pill--premium,
.dark-theme .wallet-pill--premium {
    background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(124,58,237,0.15));
    border-color: rgba(59,130,246,0.2);
    color: #93C5FD;
}

[data-theme="dark"] .sidebar-premium__promo,
.dark-theme .sidebar-premium__promo {
    background: linear-gradient(135deg, #1A1408, #1F1708);
    border-color: #422006;
}

[data-theme="dark"] .sidebar-premium__promo p,
.dark-theme .sidebar-premium__promo p { color: #FDE68A; }

[data-theme="dark"] .sidebar-premium__promo span,
.dark-theme .sidebar-premium__promo span { color: #A8A29E; }

[data-theme="dark"] .notif-dropdown,
.dark-theme .notif-dropdown {
    background: #111827;
    border-color: #1E293B;
}

[data-theme="dark"] .notif-item:hover,
.dark-theme .notif-item:hover { background: #1A2138; }

[data-theme="dark"] .dash-body,
.dark-theme.dash-body,
.dark-theme body { background: #070B16; }

[data-theme="dark"] .content-pad--premium,
.dark-theme .content-pad--premium { background: transparent; }

/* ═══════════════════════════════════════════
   GUEST RESULT CHECKER
   ═══════════════════════════════════════════ */

.guest-shop-hero--checker {
    background: linear-gradient(135deg, #5B21B6 0%, #7C3AED 45%, #4C1D95 100%);
}

.guest-checker-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.guest-checker-card {
    display: block;
    padding: 16px;
    border-radius: 16px;
    border: 2px solid var(--border);
    background: #fff;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.guest-checker-card input { position: absolute; opacity: 0; pointer-events: none; }

.guest-checker-card:hover:not(.is-disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15,23,42,0.08);
}

.guest-checker-card:has(input:checked) {
    border-color: #7C3AED;
    background: linear-gradient(180deg, #FAF5FF, #fff);
    box-shadow: 0 8px 24px rgba(124,58,237,0.15);
}

.guest-checker-card.is-disabled { opacity: 0.55; cursor: not-allowed; }

.guest-checker-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.guest-checker-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guest-checker-card--waec .guest-checker-card__icon { background: #EDE9FE; color: #7C3AED; }
.guest-checker-card--bece .guest-checker-card__icon { background: #DBEAFE; color: #2563EB; }

.guest-checker-card__type {
    margin: 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748B;
}

.guest-checker-card__name {
    margin: 2px 0 0;
    font-size: 15px;
    font-weight: 800;
    color: #0F172A;
}

.guest-checker-card__price {
    margin: 0 0 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #7C3AED;
    letter-spacing: -0.02em;
}

.guest-checker-card--bece .guest-checker-card__price { color: #2563EB; }

.guest-checker-card__stock {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.guest-checker-card__stock--ok { background: #DCFCE7; color: #16A34A; }
.guest-checker-card__stock--out { background: #FEE2E2; color: #DC2626; }

.guest-checker-card__link {
    margin: 10px 0 0;
    font-size: 11px;
    color: var(--text-muted);
}

.guest-checker-card__link i { font-size: 12px; vertical-align: -1px; }

.guest-checker-form__label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #334155;
}

.guest-checker-form__submit {
    width: 100%;
    margin-top: 1rem;
    padding: 14px 18px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #7C3AED, #5B21B6);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(124,58,237,0.28);
    transition: transform 0.2s ease;
    font-family: inherit;
}

.guest-checker-form__submit:hover { transform: translateY(-1px); }
.guest-checker-form__submit:active { transform: scale(0.98); }

.guest-service-tabs {
    display: flex;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 6px;
    margin: 1.25rem 0 1rem;
}

.guest-service-tabs a,
.guest-service-tabs a.store-tab-btn,
.guest-service-tabs button.store-tab-btn,
.guest-service-tabs span {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 6px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-secondary);
}

.guest-service-tabs a.store-tab-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    text-decoration: none;
    box-sizing: border-box;
}

.guest-service-tabs i { font-size: 18px; }

.guest-service-tabs a:hover,
.guest-service-tabs a.store-tab-btn:hover { background: #F8FAFC; color: var(--text-primary); }
.guest-service-tabs button.store-tab-btn:hover { background: #F8FAFC; color: var(--text-primary); }

.guest-service-tabs .is-active {
    background: #FAF5FF;
    color: #7C3AED;
}

@media (max-width: 480px) {
    .guest-checker-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   DASHBOARD RESULT CHECKER
   ═══════════════════════════════════════════ */

.checker-page { max-width: 900px; }

.checker-page__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.checker-page__title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.checker-page__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #7C3AED, #5B21B6);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(124,58,237,0.28);
}

.checker-page__icon i { font-size: 24px; color: #fff; }

.checker-page__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.checker-page__subtitle {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.checker-page__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.checker-page__balance {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(24,95,165,0.08), rgba(124,58,237,0.08));
    border: 1px solid rgba(24,95,165,0.12);
    font-size: 13px;
    font-weight: 700;
    color: var(--teal-dark);
}

.checker-page__balance i { font-size: 16px; }

.checker-page__history {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.checker-page__history:hover {
    background: #F8FAFC;
    transform: translateY(-1px);
}

.checker-page__alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: #FEE2E2;
    border: 1px solid #FECACA;
    color: #B91C1C;
    font-size: 13px;
}

.checker-page__alert ul { margin: 0; padding-left: 16px; }

.checker-page__section-label {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.checker-page__grid {
    margin-bottom: 1.5rem;
}

.checker-page__card {
    min-height: 220px;
}

.checker-page__card:has(input:checked) .checker-page__select-hint {
    color: #7C3AED;
    font-weight: 800;
}

.checker-page__select-hint {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.guest-checker-card__link a {
    color: inherit;
    text-decoration: none;
}

.guest-checker-card__link a:hover { text-decoration: underline; }

.checker-page__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 1.25rem;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(15,23,42,0.04);
}

.checker-page__info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 200px;
}

.checker-page__info i {
    font-size: 20px;
    color: #7C3AED;
    margin-top: 2px;
}

.checker-page__info p {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.45;
}

.checker-page__submit {
    width: auto;
    min-width: 200px;
    margin: 0;
    padding: 14px 24px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #7C3AED, #5B21B6);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(124,58,237,0.28);
    transition: transform 0.2s ease;
    font-family: inherit;
}

.checker-page__submit:hover { transform: translateY(-1px); }
.checker-page__submit:active { transform: scale(0.98); }

@media (max-width: 640px) {
    .checker-page__footer { flex-direction: column; align-items: stretch; }
    .checker-page__submit { width: 100%; }
    .checker-page__grid { grid-template-columns: 1fr; }
}

[data-theme="dark"] .checker-page__history,
.dark-theme .checker-page__history {
    background: #111827;
    border-color: #1E293B;
    color: #E2E8F0;
}

[data-theme="dark"] .checker-page__footer,
.dark-theme .checker-page__footer {
    background: #111827;
    border-color: #1E293B;
}

[data-theme="dark"] .guest-checker-card,
.dark-theme .guest-checker-card {
    background: #111827;
    border-color: #1E293B;
}

[data-theme="dark"] .guest-checker-card:has(input:checked),
.dark-theme .guest-checker-card:has(input:checked) {
    background: linear-gradient(180deg, #1A1033, #111827);
    border-color: #7C3AED;
}
.auth-page {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0;
    min-height: 100vh;
    color: #0F172A;
    -webkit-font-smoothing: antialiased;
}

.auth-shell { position: relative; min-height: 100vh; overflow-x: hidden; }
.auth-bg {
    position: fixed;
    inset: 0;
    background: linear-gradient(145deg, #060B1A 0%, #0A1028 30%, #1A1F6E 55%, #185FA5 100%);
    z-index: 0;
}
.auth-orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.auth-orb--1 { width: 420px; height: 420px; top: -10%; right: -5%; background: rgba(124,58,237,0.28); }
.auth-orb--2 { width: 380px; height: 380px; bottom: -8%; left: -8%; background: rgba(24,95,165,0.3); }
.auth-orb--3 { width: 260px; height: 260px; top: 40%; left: 35%; background: rgba(22,163,74,0.12); }

.auth-wrap { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 20px 24px 28px; min-height: 100vh; display: flex; flex-direction: column; }
.auth-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; animation: fadeSlideUp 0.4s ease both; }
.auth-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.auth-brand-icon { width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(135deg, #378ADD, #185FA5); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(24,95,165,0.4); font-size: 20px; }
.auth-brand-text { display: flex; flex-direction: column; }
.auth-brand-text strong { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.auth-brand-text small { font-size: 10px; color: #94A3B8; font-weight: 600; }
.auth-link-btn { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 12px; font-size: 12.5px; font-weight: 700; text-decoration: none; color: #fff; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); backdrop-filter: blur(8px); transition: background 0.2s ease, transform 0.2s ease; white-space: nowrap; }
.auth-link-btn:hover { background: rgba(255,255,255,0.18); transform: translateY(-1px); color: #fff; }

.auth-split { display: flex; align-items: center; gap: 48px; flex: 1; padding: 12px 0 24px; }
.auth-hero { flex: 1; min-width: 0; color: #fff; animation: fadeSlideUp 0.45s 0.05s ease both; }
.auth-hero-badge { display: inline-block; background: rgba(255,255,255,0.1); color: #fff; font-size: 12px; font-weight: 700; padding: 7px 16px; border-radius: 20px; margin-bottom: 18px; border: 1px solid rgba(255,255,255,0.14); }
.auth-hero-title { font-size: clamp(1.75rem, 4vw, 2.4rem); font-weight: 800; line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.03em; }
.auth-gradient-text { background: linear-gradient(135deg, #60A5FA, #C4B5FD); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-hero-desc { font-size: 14.5px; color: #CBD5E1; margin: 0 0 24px; max-width: 420px; line-height: 1.6; }
.auth-feature-list { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.auth-feature-list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #E2E8F0; }
.auth-feature-list i { width: 20px; height: 20px; border-radius: 50%; background: #185FA5; display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; }
.auth-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; background: rgba(255,255,255,0.06); border-radius: 18px; padding: 16px; border: 1px solid rgba(255,255,255,0.1); }
.auth-trust-grid > div { text-align: center; }
.auth-trust-icon { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin: 0 auto 6px; font-size: 16px; color: #fff; }
.auth-trust-grid strong { display: block; font-size: 14px; font-weight: 800; color: #fff; }
.auth-trust-grid small { display: block; font-size: 9px; color: #94A3B8; margin-top: 2px; }

.auth-main { width: 100%; max-width: 460px; flex-shrink: 0; animation: fadeSlideUp 0.45s 0.1s ease both; }
.auth-card { background: #fff; border-radius: 24px; padding: 32px 28px; box-shadow: 0 30px 80px rgba(0,0,0,0.35); }
.auth-card-head { text-align: center; margin-bottom: 24px; }
.auth-card-icon { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 26px; color: #fff; box-shadow: 0 8px 22px rgba(24,95,165,0.3); }
.auth-card-icon--blue { background: linear-gradient(135deg, #378ADD, #185FA5); }
.auth-card-icon--purple { background: linear-gradient(135deg, #A78BFA, #7C3AED); box-shadow: 0 8px 22px rgba(124,58,237,0.3); }
.auth-card-title { margin: 0; font-size: 1.35rem; font-weight: 800; color: #0F172A; letter-spacing: -0.02em; }
.auth-card-sub { margin: 6px 0 0; font-size: 12.5px; color: #64748B; line-height: 1.5; }

.auth-alert { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px; margin-bottom: 16px; font-size: 13px; font-weight: 600; }
.auth-alert i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.auth-alert ul { margin: 0; padding-left: 16px; }
.auth-alert--error { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.auth-alert--error i { color: #DC2626; }
.auth-alert--success { background: #F0FDF4; border: 1px solid #BBF7D0; color: #15803D; }
.auth-alert--success i { color: #16A34A; }

.auth-form { margin: 0; }
.auth-field { margin-bottom: 16px; }
.auth-field label { display: block; font-size: 12.5px; font-weight: 700; color: #334155; margin: 0 0 6px; }
.auth-optional { color: #94A3B8; font-weight: 500; }
.auth-field-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.auth-field-row label { margin: 0; }
.auth-inline-link { font-size: 12px; font-weight: 600; color: #185FA5; text-decoration: none; }
.auth-inline-link:hover { text-decoration: underline; }
.auth-input-wrap { position: relative; }
.auth-input-wrap i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #94A3B8; font-size: 17px; pointer-events: none; }
.auth-input { width: 100%; padding: 13px 14px 13px 44px; border-radius: 14px; border: 1.5px solid #E2E8F0; font-size: 14px; font-family: inherit; color: #0F172A; background: #fff; box-sizing: border-box; margin: 0; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.auth-input:focus { outline: none; border-color: #185FA5; box-shadow: 0 0 0 4px rgba(24,95,165,0.1); }
.auth-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-field-grid .auth-field { margin-bottom: 0; }
.auth-field-grid + .auth-field, .auth-field-grid + .auth-submit { margin-top: 16px; }

.auth-submit { width: 100%; padding: 14px 18px; border: none; border-radius: 14px; font-size: 14.5px; font-weight: 700; font-family: inherit; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 8px 0 0; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.auth-submit--blue { background: linear-gradient(135deg, #185FA5, #0C447C); box-shadow: 0 8px 22px rgba(24,95,165,0.35); }
.auth-submit--purple { background: linear-gradient(135deg, #7C3AED, #5B21B6); box-shadow: 0 8px 22px rgba(124,58,237,0.35); }
.auth-submit:hover { transform: translateY(-2px); }

.auth-card-footer { text-align: center; margin-top: 20px; padding-top: 18px; border-top: 1px solid #F1F5F9; font-size: 13px; color: #64748B; }
.auth-card-footer p { margin: 0; }
.auth-card-footer a { color: #185FA5; font-weight: 700; text-decoration: none; }
.auth-card-footer a:hover { text-decoration: underline; }
.auth-page--register .auth-card-footer a { color: #7C3AED; }

.auth-legal { text-align: center; margin: 16px 0 0; font-size: 11px; }
.auth-legal a { color: rgba(255,255,255,0.55); text-decoration: none; }
.auth-legal a:hover { color: rgba(255,255,255,0.8); }
.auth-footer { text-align: center; color: rgba(255,255,255,0.45); font-size: 12px; padding-top: 20px; animation: fadeSlideUp 0.45s 0.15s ease both; }

@media (max-width: 960px) {
    .auth-split { flex-direction: column-reverse; gap: 28px; align-items: stretch; }
    .auth-main { max-width: 100%; }
    .auth-hero { text-align: center; }
    .auth-hero-desc { margin-left: auto; margin-right: auto; }
    .auth-feature-list { align-items: center; }
    .auth-trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .auth-wrap { padding: 16px 16px 24px; }
    .auth-card { padding: 26px 20px; border-radius: 20px; }
    .auth-field-grid { grid-template-columns: 1fr; gap: 16px; }
    .auth-topbar-action { display: none; }
    .auth-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 14px; }
    .auth-hero-title { font-size: 1.6rem; }
    .auth-feature-list li { font-size: 13px; }
}
@media (max-width: 380px) {
    .auth-brand-text small { display: none; }
    .auth-card-title { font-size: 1.2rem; }
}
.auth-field-grid + .auth-field-grid { margin-top: 16px; }

/* Registration multi-step */
.auth-steps { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 22px; flex-wrap: wrap; }
.auth-step { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 52px; }
.auth-step-num {
    width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800;
    background: #F1F5F9; color: #94A3B8; border: 2px solid #E2E8F0;
}
.auth-step.is-active .auth-step-num { background: linear-gradient(135deg, #7C3AED, #5B21B6); color: #fff; border-color: transparent; box-shadow: 0 4px 12px rgba(124,58,237,0.3); }
.auth-step.is-done .auth-step-num { background: #16A34A; color: #fff; border-color: transparent; font-size: 14px; }
.auth-step-label { font-size: 9px; font-weight: 700; color: #94A3B8; text-transform: uppercase; letter-spacing: 0.04em; }
.auth-step.is-active .auth-step-label { color: #7C3AED; }
.auth-step.is-done .auth-step-label { color: #16A34A; }
.auth-step-line { width: 24px; height: 2px; background: #E2E8F0; margin: 0 2px 14px; border-radius: 2px; }
.auth-step-line.is-done { background: #16A34A; }

.auth-field-hint { font-size: 11.5px; color: #94A3B8; margin: 6px 0 0; }
.auth-input--otp { letter-spacing: 0.25em; font-weight: 700; text-align: center; padding-left: 14px !important; font-size: 18px; }

.auth-submit--outline {
    background: #fff !important;
    color: #475569 !important;
    border: 1.5px solid #E2E8F0 !important;
    box-shadow: none !important;
}
.auth-submit--outline:hover { background: #F8FAFC !important; }

.auth-referral-banner {
    display: flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, #FAF5FF, #EDE9FE);
    border: 1px solid #DDD6FE;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #6D28D9;
}
.auth-referral-banner i { font-size: 18px; }

.auth-verified-phone, .auth-verified-name {
    display: flex; align-items: center; gap: 12px;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
}
.auth-verified-name { background: #EFF6FF; border-color: #BFDBFE; }
.auth-verified-phone i, .auth-verified-name i { font-size: 22px; color: #16A34A; }
.auth-verified-name i { color: #185FA5; }
.auth-verified-label { margin: 0; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #64748B; }
.auth-verified-value { margin: 2px 0 0; font-size: 14px; font-weight: 800; color: #0F172A; }

@media (max-width: 540px) {
    .auth-step-label { display: none; }
    .auth-step-line { width: 16px; margin-bottom: 0; }
}

/* Wallet fund page */
.wallet-fund-page { max-width: 1100px; }
.wallet-fund-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.wallet-fund-title { margin: 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.wallet-fund-subtitle { margin: 4px 0 0; font-size: 13px; color: var(--text-secondary); }
.wallet-fund-history {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 14px; border-radius: 10px;
    background: #fff; border: 1px solid var(--border);
    color: var(--text-secondary); font-size: 12.5px; font-weight: 600;
    text-decoration: none; transition: all 0.15s ease;
}
.wallet-fund-history:hover { border-color: #BFDBFE; color: var(--teal); background: #F8FAFC; }

.wallet-balance-card {
    position: relative; overflow: hidden;
    background: linear-gradient(120deg, #16A34A 0%, #185FA5 100%);
    border-radius: 18px; padding: 24px 26px; margin-bottom: 20px;
    box-shadow: 0 8px 28px rgba(24,95,165,0.22);
}
.wallet-balance-card__glow {
    position: absolute; top: -40px; right: -20px;
    width: 160px; height: 160px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.wallet-balance-card__inner { position: relative; }
.wallet-balance-card__label { margin: 0; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.75); }
.wallet-balance-card__amount { margin: 6px 0 4px; font-size: 2rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.wallet-balance-card__hint { margin: 0; font-size: 12px; color: rgba(255,255,255,0.8); }

.wallet-alert {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 12px 14px; border-radius: 12px; margin-bottom: 16px;
    font-size: 13px; font-weight: 600;
}
.wallet-alert ul { margin: 0; padding-left: 16px; }
.wallet-alert--success { background: #DCFCE7; color: #15803D; border: 1px solid #BBF7D0; }
.wallet-alert--error { background: #FEE2E2; color: #B91C1C; border: 1px solid #FECACA; }
.wallet-alert--warning { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }
.wallet-alert i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

.wallet-method-tabs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    margin-bottom: 18px;
}
.wallet-method-tab {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; border-radius: 14px;
    border: 2px solid var(--border); background: #fff;
    cursor: pointer; text-align: left; transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}
.wallet-method-tab i { font-size: 22px; color: #94A3B8; }
.wallet-method-tab strong { display: block; font-size: 13.5px; color: var(--text-primary); }
.wallet-method-tab small { display: block; font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.wallet-method-tab.is-active {
    border-color: #16A34A; background: linear-gradient(135deg, #F0FDF4, #fff);
    box-shadow: 0 4px 14px rgba(22,163,74,0.12);
}
.wallet-method-tab.is-active i { color: #16A34A; }
.wallet-method-tab[data-tab="card"].is-active { border-color: #185FA5; background: linear-gradient(135deg, #EFF6FF, #fff); }
.wallet-method-tab[data-tab="card"].is-active i { color: #185FA5; }

.wallet-fund-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: start; }
.wallet-panel { display: none; }
.wallet-panel.is-active { display: block; }

.wallet-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: 16px; padding: 22px; margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}
.wallet-card--momo { border-color: #BBF7D0; }
.wallet-card--momo-pay { border-color: #BBF7D0; margin-bottom: 0; }
.wallet-card--pending { border-color: #BFDBFE; background: linear-gradient(180deg, #EFF6FF, #fff); }
.wallet-pending { text-align: center; padding: 1.5rem 1rem; }
.wallet-pending__icon {
    width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 14px;
    background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; color: #185FA5;
    animation: checkerPulse 1.8s ease-in-out infinite;
}
.wallet-pending h2 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 800; }
.wallet-pending p { margin: 0 0 14px; font-size: 13.5px; color: #475569; line-height: 1.55; }
.wallet-pending__status {
    display: inline-block; padding: 10px 16px; border-radius: 12px;
    background: #F8FAFC; border: 1px solid #E2E8F0;
    font-size: 13px; font-weight: 700; color: #334155;
}
.wallet-pending__status.is-success { background: #F0FDF4; border-color: #BBF7D0; color: #15803D; }
.wallet-pending__status.is-error { background: #FEF2F2; border-color: #FECACA; color: #B91C1C; }
.wallet-momo-pay-form select {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--border);
    border-radius: 12px; font-size: 15px; background: #fff;
}
.wallet-card--claim { border-color: #BFDBFE; }
.wallet-card--theteller { border-color: #E2E8F0; margin-bottom: 0; }
.wallet-card__head { display: flex; gap: 14px; margin-bottom: 20px; }
.wallet-card__head h2 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 800; }
.wallet-card__head p { margin: 0; font-size: 12.5px; color: var(--text-secondary); line-height: 1.5; }
.wallet-card__icon {
    width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.wallet-card__icon i { font-size: 20px; color: #fff; }
.wallet-card__icon--green { background: linear-gradient(135deg, #16A34A, #15803D); }
.wallet-card__icon--blue { background: linear-gradient(135deg, #185FA5, #0C447C); }
.wallet-card__icon--theteller { background: linear-gradient(135deg, #00A651, #006B3F); }

.wallet-steps { list-style: none; margin: 0; padding: 0; }
.wallet-step { display: flex; gap: 14px; margin-bottom: 18px; }
.wallet-step:last-child { margin-bottom: 0; }
.wallet-step__num {
    width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
    background: #F0FDF4; color: #16A34A; border: 2px solid #BBF7D0;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800;
}
.wallet-step__title { margin: 0 0 4px; font-size: 13.5px; font-weight: 700; }
.wallet-step__text { margin: 0; font-size: 12.5px; color: var(--text-secondary); line-height: 1.55; }

.wallet-momo-recipient {
    display: flex; align-items: center; gap: 12px;
    background: linear-gradient(135deg, #F0FDF4, #fff);
    border: 1.5px solid #BBF7D0; border-radius: 14px;
    padding: 12px 14px; margin-top: 8px;
}
.wallet-momo-recipient__logo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.wallet-momo-recipient__details { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wallet-momo-recipient__network { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #15803D; }
.wallet-momo-recipient__number { font-size: 1.15rem; font-weight: 800; color: var(--text-primary); letter-spacing: 0.02em; }
.wallet-momo-recipient__name { font-size: 12px; color: var(--text-secondary); }

.wallet-ref-box {
    background: linear-gradient(135deg, #EFF6FF, #fff);
    border: 1.5px solid #BFDBFE; border-radius: 14px;
    padding: 14px 16px; margin-top: 10px;
}
.wallet-ref-box__label { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #185FA5; margin-bottom: 8px; }
.wallet-ref-box__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wallet-ref-box__code { font-size: 1.5rem; font-weight: 800; color: #185FA5; letter-spacing: 0.06em; }
.wallet-ref-box__hint { margin: 10px 0 0; font-size: 11.5px; color: var(--text-secondary); line-height: 1.5; }

.wallet-copy-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 8px 12px; border-radius: 10px;
    border: 1.5px solid var(--border); background: #fff;
    color: var(--text-secondary); font-size: 12px; font-weight: 700;
    cursor: pointer; transition: all 0.15s ease; width: auto; margin: 0; box-shadow: none;
}
.wallet-copy-btn:hover { border-color: #BFDBFE; color: #185FA5; background: #F8FAFC; }
.wallet-copy-btn--primary { background: #185FA5; color: #fff; border-color: transparent; }
.wallet-copy-btn--primary:hover { background: #0C447C; color: #fff; }

.wallet-info-banner {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px 16px; border-radius: 12px; margin-top: 20px;
    font-size: 12.5px; line-height: 1.5;
}
.wallet-info-banner strong { display: block; margin-bottom: 2px; font-size: 13px; }
.wallet-info-banner p { margin: 0; color: var(--text-secondary); }
.wallet-info-banner i { font-size: 20px; flex-shrink: 0; }
.wallet-info-banner--success { background: #F0FDF4; border: 1px solid #BBF7D0; color: #15803D; }

.wallet-claim-form label { font-size: 12.5px; font-weight: 700; }
.wallet-claim-form input { font-family: ui-monospace, monospace; letter-spacing: 0.03em; }
.wallet-field-hint { display: flex; align-items: flex-start; gap: 6px; font-size: 11.5px; color: var(--text-muted); margin: 6px 0 14px; line-height: 1.5; }
.wallet-field-hint--center { justify-content: center; margin-bottom: 0; }
.wallet-field-hint i { font-size: 14px; flex-shrink: 0; margin-top: 1px; }

.wallet-amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.wallet-amount-btn {
    padding: 12px 8px; border-radius: 10px;
    background: var(--teal-light); color: var(--teal-dark);
    border: 1.5px solid transparent; font-size: 13px; font-weight: 700;
    cursor: pointer; width: auto; margin: 0; box-shadow: none; transition: all 0.15s ease;
}
.wallet-amount-btn:hover, .wallet-amount-btn.is-selected {
    border-color: #16A34A; background: #F0FDF4; color: #15803D;
}

.wallet-amount-input-wrap { position: relative; margin-top: 8px; }
.wallet-amount-input-wrap__prefix {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    font-size: 14px; font-weight: 700; color: var(--text-muted); pointer-events: none;
}
.wallet-amount-input-wrap input { padding-left: 52px !important; font-size: 16px; font-weight: 700; }

.wallet-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 14px 18px; border-radius: 12px;
    border: none; font-size: 14px; font-weight: 700; cursor: pointer;
    transition: all 0.15s ease; margin-top: 4px;
}
.wallet-btn--green { background: linear-gradient(135deg, #16A34A, #15803D); color: #fff; box-shadow: 0 4px 14px rgba(22,163,74,0.25); }
.wallet-btn--green:hover { filter: brightness(1.05); }
.wallet-btn--blue { background: linear-gradient(135deg, #185FA5, #0C447C); color: #fff; box-shadow: 0 4px 14px rgba(24,95,165,0.25); }
.wallet-btn--blue:hover { filter: brightness(1.05); }

.wallet-sidebar-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: 14px; padding: 16px; margin-bottom: 14px;
}
.wallet-sidebar-card__title { margin: 0 0 12px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.wallet-sidebar-tip { display: flex; gap: 10px; margin-bottom: 12px; }
.wallet-sidebar-tip:last-child { margin-bottom: 0; }
.wallet-sidebar-tip strong { display: block; font-size: 12.5px; margin-bottom: 2px; }
.wallet-sidebar-tip p { margin: 0; font-size: 11.5px; color: var(--text-secondary); line-height: 1.45; }
.wallet-sidebar-tip__icon {
    width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.wallet-sidebar-tip__icon i { font-size: 16px; color: #fff; }
.wallet-sidebar-tip__icon--green { background: #16A34A; }
.wallet-sidebar-tip__icon--blue { background: #185FA5; }

.wallet-gateway-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 9px 11px; border-radius: 10px; margin-bottom: 6px;
    font-size: 12.5px; font-weight: 600;
}
.wallet-gateway-row:last-child { margin-bottom: 0; }
.wallet-gateway-row.is-on { background: #F0FDF4; border: 1px solid #BBF7D0; }
.wallet-gateway-row.is-off { background: #F8FAFC; border: 1px solid var(--border); color: var(--text-muted); }
.wallet-gateway-row__name { display: flex; align-items: center; gap: 7px; }
.wallet-gateway-row__badge { font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 20px; }
.wallet-gateway-row.is-on .wallet-gateway-row__badge { background: #DCFCE7; color: #16A34A; }
.wallet-gateway-row.is-off .wallet-gateway-row__badge { background: #F1F5F9; color: #64748B; }

.wallet-faq { border-top: 1px solid var(--border); padding: 10px 0; }
.wallet-faq:first-of-type { border-top: none; padding-top: 0; }
.wallet-faq summary { cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--text-primary); list-style: none; }
.wallet-faq summary::-webkit-details-marker { display: none; }
.wallet-faq p { margin: 8px 0 0; font-size: 11.5px; color: var(--text-secondary); line-height: 1.5; }

.wallet-toast {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
    background: #0F172A; color: #fff; padding: 10px 18px; border-radius: 10px;
    font-size: 13px; font-weight: 600; opacity: 0; pointer-events: none;
    transition: all 0.25s ease; z-index: 9999; box-shadow: 0 8px 24px rgba(15,23,42,0.25);
}
.wallet-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 900px) {
    .wallet-fund-layout { grid-template-columns: 1fr; }
    .wallet-fund-sidebar { order: 2; }
}
@media (max-width: 540px) {
    .wallet-method-tabs { grid-template-columns: 1fr; }
    .wallet-amount-grid { grid-template-columns: repeat(2, 1fr); }
    .wallet-ref-box__code { font-size: 1.2rem; }
    .wallet-balance-card__amount { font-size: 1.65rem; }
}

/* ===== Guest shop (buy-data) ===== */
.guest-shop-body { background: #EEF2F7; }
.guest-wrap--shop {
    align-items: flex-start;
    justify-content: center;
    min-height: calc(100vh - 60px);
    padding: 1.25rem 1rem 2.5rem;
    background: linear-gradient(180deg, #EFF6FF 0%, #F8FAFC 35%, #EEF2F7 100%);
}
.guest-card--shop {
    max-width: 920px;
    width: 100%;
    padding: 1.5rem 1.75rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(15,23,42,0.08);
}

.guest-shop-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0.85rem 1.25rem;
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}
.guest-shop-nav__brand {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 15px;
}
.guest-shop-nav__mark {
    width: 32px; height: 32px; border-radius: 10px;
    background: linear-gradient(135deg, #378ADD, #185FA5);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(24,95,165,0.25);
}
.guest-shop-nav__mark i { color: #fff; font-size: 17px; }
.guest-shop-nav__links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.guest-shop-nav__links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 12.5px;
    font-weight: 600;
    padding: 7px 11px;
    border-radius: 8px;
}
.guest-shop-nav__links a:hover { background: #F1F5F9; color: var(--text-primary); }
.guest-shop-nav__links a.is-active { color: #185FA5; background: #EFF6FF; }
.guest-shop-nav__cta {
    background: linear-gradient(135deg, #185FA5, #0C447C) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(24,95,165,0.25);
}

.guest-shop-hero {
    background: linear-gradient(135deg, #185FA5, #0C447C 55%, #7C3AED);
    border-radius: 18px;
    padding: 1.5rem 1.35rem;
    margin-bottom: 1.25rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.guest-shop-hero::before {
    content: '';
    position: absolute;
    top: -50px; right: -30px;
    width: 160px; height: 160px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.guest-shop-hero--compact { padding: 1.25rem 1.2rem; }
.guest-shop-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    position: relative;
}
.guest-shop-hero__title {
    margin: 0 0 6px;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative;
}
.guest-shop-hero__subtitle {
    margin: 0 0 14px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    position: relative;
}
.guest-shop-hero__stats {
    display: flex;
    gap: 18px;
    position: relative;
    flex-wrap: wrap;
}
.guest-shop-hero__stats div {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
}
.guest-shop-hero__stats i { font-size: 16px; }

.guest-shop-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 13px;
    font-weight: 600;
}
.guest-shop-alert ul { margin: 0; padding-left: 16px; }
.guest-shop-alert--error { background: #FEE2E2; color: #B91C1C; border: 1px solid #FECACA; }
.guest-shop-alert i { font-size: 18px; flex-shrink: 0; }

.guest-shop-section { margin-bottom: 1.25rem; }
.guest-shop-section__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.guest-shop-section__head h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}
.guest-shop-section__hint { margin: 2px 0 0; font-size: 12px; color: var(--text-muted); }
.guest-shop-section__tag {
    font-size: 11px;
    font-weight: 700;
    color: #16A34A;
    display: flex;
    align-items: center;
    gap: 4px;
}

.guest-network-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.guest-network-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px 11px 12px;
    border-radius: 14px;
    border: 2px solid var(--border);
    background: #fff;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(15,23,42,0.04);
    width: auto;
    margin: 0;
    margin-top: 0;
    font-family: inherit;
    font-weight: 600;
    text-align: left;
}
.guest-network-tab:hover { transform: translateY(-1px); }
.guest-network-tab__logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.guest-network-tab__text { text-align: left; color: inherit; }
.guest-network-tab__text strong {
    display: block;
    font-size: 13.5px;
    font-weight: 800;
    color: inherit;
}
.guest-network-tab__text small {
    display: block;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--text-muted);
    opacity: 1;
}
.guest-network-tab.is-active .guest-network-tab__text small {
    color: inherit;
    opacity: 0.9;
}

.guest-panel-network-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.guest-delivery-tracker {
    display: none;
    margin-bottom: 1.25rem;
    padding: 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, #0F172A, #1E1B4B);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    box-shadow: 0 12px 28px rgba(15,23,42,0.12);
}
.guest-delivery-tracker.is-visible { display: block; }
.guest-delivery-tracker__bundle--muted { color: rgba(255,255,255,0.55); font-size: 13px; }
.guest-delivery-tracker__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.guest-delivery-tracker__brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
}
.guest-delivery-tracker__brand i { color: #F5D061; font-size: 13px; }
.guest-delivery-tracker__live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6EE7B7;
    background: rgba(16,185,129,0.12);
    border: 1px solid rgba(16,185,129,0.25);
    padding: 4px 8px;
    border-radius: 999px;
}
.guest-delivery-tracker__title {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.72);
}
.guest-delivery-tracker__bundle {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
}
.guest-delivery-tracker__time {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 800;
    color: #6EE7B7;
}
.guest-delivery-tracker__meta {
    margin: 0 0 12px;
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    line-height: 1.45;
}
.guest-delivery-tracker__route {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}
.guest-delivery-tracker__line {
    flex: 1;
    height: 3px;
    border-radius: 999px;
    background: rgba(255,255,255,0.15);
}
.guest-delivery-tracker__line--done {
    background: linear-gradient(90deg, rgba(16,185,129,0.35), #10B981);
}
.guest-delivery-tracker__check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #10B981;
    color: #fff;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.guest-delivery-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #F0FDF4, #DCFCE7);
    border: 1px solid #BBF7D0;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 1.25rem;
}
.guest-delivery-stats i { color: #16A34A; font-size: 18px; flex-shrink: 0; }
.guest-delivery-stats__title { margin: 0; font-size: 12.5px; font-weight: 700; color: #15803D; }
.guest-delivery-stats__meta { margin: 2px 0 0; font-size: 11.5px; color: #166534; }

.guest-bundle-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 560px;
}
.guest-bundle-card {
    background: var(--bundle-bg);
    border-radius: 12px;
    padding: 12px;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15,23,42,0.08);
    transition: transform 0.2s ease;
}
.guest-bundle-card:hover { transform: translateY(-4px); }
.guest-bundle-card::after {
    content: '';
    position: absolute;
    bottom: -30px; right: -30px;
    width: 120px; height: 120px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
}
.guest-bundle-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}
.guest-bundle-card__logo {
    width: 28px; height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.5);
}
.guest-bundle-card__validity {
    background: rgba(0, 0, 0, 0.28);
    color: #fff;
    font-size: 9.5px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.guest-bundle-card__main {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    position: relative;
}
.guest-bundle-card__size {
    font-size: 28px;
    font-weight: 800;
    color: var(--bundle-text);
    margin: 0;
    letter-spacing: -0.02em;
}
.guest-bundle-card__price {
    font-size: 16px;
    font-weight: 800;
    color: var(--bundle-text);
    margin: 0;
}
.guest-bundle-card__label {
    font-size: 9.5px;
    font-weight: 700;
    color: var(--bundle-text);
    opacity: 0.88;
    margin: 2px 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    position: relative;
}
.guest-bundle-card__btn {
    width: 100%;
    margin: 0;
    margin-top: 0;
    padding: 11px;
    background: var(--bundle-btn);
    color: var(--bundle-btn-text) !important;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-family: inherit;
}

.guest-shop-steps {
    margin: 1.5rem 0 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}
.guest-shop-steps h2 { margin: 0 0 12px; font-size: 1rem; font-weight: 800; }
.guest-shop-steps__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.guest-shop-steps__list li {
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
}
.guest-shop-steps__list li span {
    display: inline-flex;
    width: 24px; height: 24px;
    align-items: center; justify-content: center;
    background: #EFF6FF;
    color: #185FA5;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 6px;
}
.guest-shop-steps__list strong { display: block; font-size: 11.5px; margin-bottom: 2px; }
.guest-shop-steps__list p { margin: 0; font-size: 10px; color: var(--text-muted); line-height: 1.35; }

.guest-shop-secure {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: linear-gradient(135deg, #F0FDF4, #fff);
    border: 1px solid #BBF7D0;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 1rem;
}
.guest-shop-secure i { font-size: 20px; color: #16A34A; }
.guest-shop-secure strong { display: block; font-size: 13px; margin-bottom: 2px; }
.guest-shop-secure p { margin: 0; font-size: 12px; color: var(--text-secondary); line-height: 1.45; }

.guest-shop-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 0.5rem;
}
.guest-shop-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
}
.guest-shop-links a:hover { border-color: #BFDBFE; color: #185FA5; }

/* Guest checkout modal */
.guest-checkout {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.guest-checkout.is-open {
    pointer-events: auto;
    opacity: 1;
}
.guest-checkout__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.55);
    backdrop-filter: blur(4px);
}
.guest-checkout__panel {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 440px;
    max-height: 92vh;
    overflow-y: auto;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 40px rgba(15,23,42,0.15);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.guest-checkout.is-open .guest-checkout__panel { transform: translateY(0); }
.guest-checkout__close {
    position: absolute;
    top: 14px; right: 14px;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: none;
    background: #F1F5F9;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.guest-checkout__summary {
    background: linear-gradient(135deg, #EFF6FF, #F8FAFC);
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid var(--border);
}
.guest-checkout__eyebrow {
    margin: 0 0 10px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748B;
}
.guest-checkout__bundle {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.guest-checkout__network-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(15,23,42,0.1);
}
.guest-checkout__network {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #185FA5;
}
.guest-checkout__bundle-name {
    margin: 2px 0 0;
    font-size: 1.05rem;
    font-weight: 800;
}
.guest-checkout__validity {
    margin: 2px 0 0;
    font-size: 11.5px;
    color: var(--text-muted);
}
.guest-checkout__total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px dashed #BFDBFE;
    font-size: 13px;
}
.guest-checkout__total-row strong { font-size: 1.25rem; color: #185FA5; }

.guest-checkout__form {
    padding: 1.15rem 1.25rem 1.5rem;
}
.guest-checkout__form h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 800;
}
.guest-checkout__form-hint {
    margin: 0 0 14px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.45;
}
.guest-checkout__form label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 6px;
}
.guest-checkout__input-wrap {
    position: relative;
    margin-bottom: 12px;
}
.guest-checkout__input-wrap i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 17px;
    pointer-events: none;
}
.guest-checkout__input-wrap input {
    width: 100%;
    padding: 13px 13px 13px 42px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    margin: 0;
}
.guest-checkout__warning {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
}
.guest-checkout__warning i { color: #DC2626; font-size: 16px; flex-shrink: 0; }
.guest-checkout__warning p { margin: 0; font-size: 11.5px; color: #991B1B; line-height: 1.4; }
.guest-checkout__actions {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 10px;
}
.guest-checkout__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    width: auto;
    margin: 0;
}
.guest-checkout__btn--ghost { background: #F1F5F9; color: var(--text-primary); }
.guest-checkout__btn--primary {
    background: linear-gradient(135deg, #185FA5, #0C447C);
    color: #fff;
    box-shadow: 0 4px 14px rgba(24,95,165,0.25);
}
.guest-checkout__btn--full { width: 100%; margin-top: 4px; }
.guest-checkout__secure-note {
    text-align: center;
    margin: 12px 0 0;
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Guest receipt & track */
.guest-receipt__hero { text-align: center; margin-bottom: 1.25rem; }
.guest-receipt__icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #DCFCE7;
    color: #16A34A;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 28px;
}
.guest-receipt__hero h1 { margin: 0 0 6px; font-size: 1.35rem; font-weight: 800; }
.guest-receipt__hero p { margin: 0; font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

.guest-receipt__card, .guest-track__card, .guest-track__result {
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
}
.guest-receipt__bundle, .guest-track__result-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.guest-receipt__logo, .guest-track__logo {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
}
.guest-receipt__network, .guest-track__result-type {
    margin: 0;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748B;
}
.guest-receipt__bundle-name, .guest-track__result-ref {
    margin: 2px 0 0;
    font-size: 14px;
    font-weight: 800;
}
.guest-receipt__status {
    margin-left: auto;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    white-space: nowrap;
}
.guest-receipt__status.is-success { background: #DCFCE7; color: #16A34A; }
.guest-receipt__status.is-pending { background: #FEF3C7; color: #D97706; }
.guest-receipt__status.is-default { background: #F1F5F9; color: #64748B; }

.guest-receipt__rows { display: flex; flex-direction: column; gap: 8px; }
.guest-receipt__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}
.guest-receipt__row span { color: var(--text-muted); }
.guest-receipt__row strong { text-align: right; word-break: break-all; }

.guest-receipt__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}
.guest-receipt__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.guest-receipt__btn--outline { background: #fff; border: 1.5px solid var(--border); color: var(--text-primary); }
.guest-receipt__btn--primary { background: linear-gradient(135deg, #185FA5, #0C447C); color: #fff; }
.guest-receipt__link {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #185FA5;
    text-decoration: none;
}

.guest-track__form label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; }

.guest-track__hint {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 11.5px;
    color: var(--text-muted);
    margin: -4px 0 14px;
    line-height: 1.45;
}
.guest-track__hint i { flex-shrink: 0; margin-top: 1px; }

.guest-track__results-head {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}
.guest-track__results-head i { color: #185FA5; vertical-align: -2px; }

.guest-track__logo-placeholder {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #EFF6FF;
    color: #185FA5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.guest-receipt__track-tip {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
    font-size: 12.5px;
    color: #1E40AF;
    line-height: 1.45;
}
.guest-receipt__track-tip i { font-size: 18px; flex-shrink: 0; }

.store-track {
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(15,23,42,0.05);
}
.store-track__head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
}
.store-track__head i {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: #EFF6FF;
    color: #185FA5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.store-track__head strong { display: block; font-size: 14px; margin-bottom: 2px; }
.store-track__head p { margin: 0; font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.store-track__form .guest-checkout__input-wrap { margin-bottom: 8px; }
.store-track__form .guest-checkout__input-wrap input { margin: 0; }

@media (min-width: 640px) {
    .guest-checkout { align-items: center; padding: 1.5rem; }
    .guest-checkout__panel { border-radius: 20px; max-height: 88vh; }
    .guest-checkout.is-open .guest-checkout__panel { transform: translateY(0); }
    .guest-bundle-grid { grid-template-columns: repeat(3, 1fr); max-width: 100%; }
}

@media (max-width: 700px) {
    .guest-shop-steps__list { grid-template-columns: repeat(2, 1fr); }
    .guest-shop-nav__links a:not(.guest-shop-nav__cta) { display: none; }
    .guest-receipt__actions { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .guest-card--shop { padding: 1.1rem 1rem 1.5rem; }
    .guest-bundle-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .guest-bundle-card__size { font-size: 22px; }
    .guest-network-tabs { flex-direction: column; }
    .guest-network-tab { width: 100%; }
}

/* ═══════════════════════════════════════════
   MOBILE FIXES — Guest shop, auth, overflow
   ═══════════════════════════════════════════ */

@media (max-width: 860px) {
    .guest-shop-nav {
        flex-wrap: wrap;
        padding: 10px 12px;
        gap: 8px;
    }

    .guest-shop-nav__links {
        display: flex !important;
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 6px;
        padding-bottom: 2px;
    }

    .guest-shop-nav__links::-webkit-scrollbar { display: none; }

    .guest-shop-nav__links a {
        display: inline-flex !important;
        flex-shrink: 0;
        font-size: 12px;
        padding: 8px 12px;
        white-space: nowrap;
    }

    .guest-wrap--shop {
        align-items: flex-start;
        justify-content: flex-start;
        padding: 0;
        min-height: 100vh;
        background: #EEF2F7;
    }

    .guest-card--shop {
        max-width: 100%;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        padding: 0.75rem 1rem 2rem;
    }

    .guest-shop-hero {
        border-radius: 16px;
        margin-bottom: 1rem;
    }

    .guest-shop-hero__title { font-size: 1.35rem; }
    .guest-shop-hero__stats { flex-wrap: wrap; gap: 8px; }
    .guest-network-tabs { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; }
    .guest-network-tab { width: auto; min-width: 100px; flex-shrink: 0; }
    .guest-bundle-grid { grid-template-columns: 1fr 1fr; }
    .guest-checkout__panel { max-height: 92dvh; }
    .guest-service-tabs { flex-wrap: nowrap; overflow-x: auto; }
    .guest-service-tabs a,
    .guest-service-tabs a.store-tab-btn,
    .guest-service-tabs button.store-tab-btn,
    .guest-service-tabs span { min-width: 90px; flex-shrink: 0; }
}

@media (max-width: 480px) {
    .guest-bundle-grid { grid-template-columns: 1fr; }
    .guest-checker-grid { grid-template-columns: 1fr !important; }
    .auth-topbar { padding: 12px 14px; }
    .auth-brand-text small { display: none; }
    .auth-card { padding: 1.25rem 1.1rem; border-radius: 18px; }
    .auth-hero-title { font-size: 1.35rem !important; }
    .auth-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
}

html, body { max-width: 100%; overflow-x: hidden; }
img { max-width: 100%; height: auto; }

/* ═══════════════════════════════════════════
   SITE-WIDE CSS FIX v67 — merge conflict cleanup
   ═══════════════════════════════════════════ */

/* Dashboard shell: app-shell--premium replaces legacy dash-shell */
.app-shell--premium {
    background: linear-gradient(160deg, #F8FAFF 0%, #F1F5F9 45%, #EEF2FF 100%);
    overflow-x: hidden;
    min-height: 100vh;
}

body.dash-body {
    background: #EEF2F7;
}

/* Reset first-pass premium sidebar floats — HTML uses sidebar-premium__* */
.sidebar.sidebar--premium {
    width: var(--nav-width);
    top: 0;
    left: 0;
    bottom: 0;
    border-radius: 0;
    border: none;
    border-right: 1px solid rgba(15,23,42,0.06);
    background: var(--surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 4px 0 24px rgba(15,23,42,0.04);
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.main-area.main-area--premium {
    margin-left: var(--nav-width);
    flex: 1;
    min-width: 0;
    overflow-x: hidden;
}

.content-pad.content-pad--premium {
    max-width: 100%;
    box-sizing: border-box;
}

/* Guest shop pages must not inherit centered dark hero wrap */
body.guest-shop-body {
    background: #EEF2F7;
}

.guest-wrap.guest-wrap--shop {
    align-items: flex-start;
    justify-content: flex-start;
    min-height: calc(100vh - 60px);
    padding: 1.25rem 1rem 2.5rem;
    background: linear-gradient(180deg, #EFF6FF 0%, #F8FAFC 35%, #EEF2F7 100%);
}

.guest-card.guest-card--shop {
    max-width: 920px;
    width: 100%;
    margin: 0 auto;
}

.guest-wrap:not(.guest-wrap--shop) {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--gradient-hero);
}

.guest-card:not(.guest-card--shop) {
    max-width: 420px;
    width: 100%;
}

/* AFA guest page */
.guest-shop-hero--afa {
    background: linear-gradient(135deg, #D97706 0%, #B45309 45%, #92400E 100%);
}

.guest-service-tabs .is-active--afa {
    background: #FFF7ED;
    color: #D97706;
}

.guest-afa-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem 1.1rem 1.5rem;
}

.guest-afa-form label {
    margin-top: 0.85rem;
    font-size: 12.5px;
}

.guest-afa-form label:first-of-type {
    margin-top: 0;
}

.guest-afa-form input {
    margin-top: 0.35rem;
}

.guest-afa-form button[type="submit"] {
    width: 100%;
    margin-top: 1.25rem;
    background: linear-gradient(135deg, #D97706, #92400E);
    box-shadow: 0 8px 22px rgba(217,119,6,0.3);
}

.guest-checker-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem 1.1rem 1.5rem;
}

.guest-checker-form .guest-checker-grid {
    margin-bottom: 1rem;
}

.guest-checker-form input[type="tel"],
.guest-checker-form input[type="text"] {
    width: 100%;
    margin-top: 0;
    font-size: 16px;
    color: #0F172A;
    background: #fff;
    border-color: #CBD5E1;
}

.guest-checker-form input[type="tel"]::placeholder,
.guest-checker-form input[type="text"]::placeholder {
    color: #64748B;
}

.guest-checker-page .guest-shop-hero__subtitle {
    color: rgba(255,255,255,0.92);
}

.guest-service-tabs a {
    color: #475569;
}

.checker-page-title {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.02em;
}

.checker-page-subtitle {
    color: #475569 !important;
}

.guest-shop-footer-note {
    text-align: center;
    margin: 1.25rem 0 0;
    font-size: 11px;
    color: var(--text-muted);
}

/* Checker page width */
.checker-page {
    max-width: 900px;
    margin: 0 auto;
}

/* Admin sidebar mobile */
@media (max-width: 860px) {
    .app-shell--premium .main-area--premium,
    .main-area--premium {
        margin-left: 0;
    }

    .app-shell--premium .content-pad--premium,
    .content-pad--premium {
        padding: 1rem;
    }

    .app-shell:not(.app-shell--premium) .sidebar {
        transform: translateX(-100%);
    }

    .app-shell:not(.app-shell--premium) .sidebar.open {
        transform: translateX(0);
        box-shadow: 4px 0 24px rgba(0,0,0,0.15);
    }

    .app-shell:not(.app-shell--premium) .main-area {
        margin-left: 0;
    }

    .menu-toggle {
        display: block;
    }
}

/* Auth mobile polish */
@media (max-width: 540px) {
    .auth-wrap {
        padding: 14px 14px 22px;
    }

    .auth-card {
        padding: 1.35rem 1.1rem;
    }

    .auth-split {
        gap: 20px;
    }
}

/* Landing overflow guard */
.landing-body {
    overflow-x: hidden;
}

.landing-hero,
.landing-section {
    max-width: 100%;
}

/* Generic page containers */
.container,
.content-pad,
.main-area {
    max-width: 100%;
    box-sizing: border-box;
}

/* ═══════════════════════════════════════════
   GUEST CHECKER — Multi-qty purchase flow
   ═══════════════════════════════════════════ */

.guest-checker-steps {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 1rem 0 1.25rem;
    flex-wrap: wrap;
}

.guest-checker-step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
}

.guest-checker-step span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #E2E8F0;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
}

.guest-checker-step--active { color: #7C3AED; }
.guest-checker-step--active span {
    background: linear-gradient(135deg, #7C3AED, #5B21B6);
    color: #fff;
}

.guest-checker-step--done { color: #16A34A; }
.guest-checker-step--done span { background: #16A34A; color: #fff; }

.guest-checker-step-line {
    flex: 1;
    min-width: 12px;
    height: 2px;
    background: #E2E8F0;
    border-radius: 2px;
}

.guest-checker-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 1rem;
}

.guest-checker-product {
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.guest-checker-product.is-selected {
    border-color: #7C3AED;
    box-shadow: 0 4px 16px rgba(124,58,237,0.12);
}

.guest-checker-product.is-disabled { opacity: 0.55; }

.guest-checker-product__head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.guest-checker-product__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.guest-checker-product--bece .guest-checker-product__icon { background: #DBEAFE; color: #2563EB; }
.guest-checker-product--waec .guest-checker-product__icon { background: #EDE9FE; color: #7C3AED; }

.guest-checker-product__type {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-primary);
}

.guest-checker-product__pricing {
    margin: 2px 0 0;
    font-size: 10.5px;
    color: var(--text-muted);
    line-height: 1.35;
}

.guest-checker-product__stock {
    margin-left: auto;
    font-size: 9.5px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.guest-checker-product__stock--ok { background: #DCFCE7; color: #16A34A; }
.guest-checker-product__stock--out { background: #FEE2E2; color: #DC2626; }

.guest-checker-product__qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.guest-checker-product__qty > span {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
}

.guest-checker-quote,
.guest-checker-sms {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
}

.guest-checker-quote__title,
.guest-checker-sms__title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guest-checker-sms__sub {
    margin: 0 0 12px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.45;
}

.guest-checker-quote__line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 12.5px;
    padding: 8px 0;
    border-bottom: 1px solid #F1F5F9;
}

.guest-checker-quote__line:last-child { border-bottom: none; }

.guest-checker-quote__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 2px solid #E2E8F0;
    font-size: 15px;
    font-weight: 800;
}

.guest-checker-form__submit--outline {
    background: #fff !important;
    color: #7C3AED !important;
    border: 2px solid #DDD6FE !important;
    box-shadow: none !important;
}

.guest-service-tabs .is-active--checker {
    background: #FAF5FF;
    color: #7C3AED;
}

.guest-shop-nav--store {
    margin: -0.75rem -1rem 1rem;
    width: calc(100% + 2rem);
    border-radius: 0;
}

.guest-checker-receipt__success {
    text-align: center;
    margin-bottom: 1.25rem;
}

.guest-checker-receipt__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #DCFCE7;
    color: #16A34A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 10px;
}

.guest-checker-receipt__success h1 {
    margin: 0 0 6px;
    font-size: 1.35rem;
    font-weight: 800;
}

.guest-checker-receipt__success p {
    margin: 0;
    font-size: 12.5px;
    color: var(--text-muted);
}

.guest-checker-receipt__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 1rem;
}

.guest-checker-receipt__meta > div {
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 12px;
}

.guest-checker-receipt__meta span {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.guest-checker-receipt__meta strong {
    display: block;
    font-size: 13px;
    margin-top: 4px;
    word-break: break-all;
}

.guest-checker-receipt__item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 12px;
}

.guest-checker-receipt__item-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.guest-checker-receipt__ref {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
}

.guest-checker-receipt__creds {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.guest-checker-receipt__creds p {
    margin: 0 0 4px;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.guest-checker-receipt__creds strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    font-family: monospace;
    word-break: break-all;
    margin-bottom: 6px;
}

.guest-checker-receipt__creds button {
    width: auto;
    margin: 0;
    padding: 6px 10px;
    font-size: 11px;
    border-radius: 8px;
    background: #F1F5F9;
    color: var(--text-secondary);
    border: none;
    box-shadow: none;
}

.guest-checker-receipt__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    padding: 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, #7C3AED, #5B21B6);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.guest-checker-receipt__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 1rem;
}

.store-checker-promo {
    background: linear-gradient(135deg, #FAF5FF, #EDE9FE);
    border: 2px solid #DDD6FE;
    border-radius: 16px;
    padding: 14px 16px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-checker-promo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124,58,237,0.15);
}

.store-checker-promo__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #7C3AED, #5B21B6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.store-checker-promo__text strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #5B21B6;
}

.store-checker-promo__text span {
    display: block;
    font-size: 11.5px;
    color: #6B7280;
    margin-top: 2px;
}

@media (max-width: 640px) {
    .guest-checker-product-grid { grid-template-columns: 1fr; }
    .guest-checker-receipt__creds { grid-template-columns: 1fr; }
    .guest-checker-receipt__actions { grid-template-columns: 1fr; }
    .guest-checker-steps { gap: 4px; }
    .guest-checker-step { font-size: 10px; }
}

/* ═══════════════════════════════════════════
   AGENT HUB — Premium agent dashboard
   ═══════════════════════════════════════════ */

.agent-hub { max-width: 1100px; margin: 0 auto; }

.agent-hub__alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 600;
}
.agent-hub__alert--success { background: #DCFCE7; color: #15803D; border: 1px solid #BBF7D0; }
.agent-hub__alert--error { background: #FEE2E2; color: #B91C1C; border: 1px solid #FECACA; }
.agent-hub__alert ul { margin: 0; padding-left: 16px; }

.agent-hub__hero {
    position: relative;
    border-radius: 24px;
    padding: 1.75rem 1.5rem;
    margin-bottom: 1.25rem;
    overflow: hidden;
    background: linear-gradient(135deg, var(--store-primary, #185FA5), var(--store-secondary, #0C447C) 50%, #1E1B4B);
    color: #fff;
    box-shadow: 0 20px 50px rgba(24,95,165,0.25);
}
.agent-hub__hero-glow {
    position: absolute;
    top: -60px; right: -40px;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
    pointer-events: none;
}
.agent-hub__hero-inner {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.agent-hub__hero-left { flex: 1; min-width: 260px; }
.agent-hub__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
}
.agent-hub__title {
    margin: 0 0 8px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}
.agent-hub__subtitle {
    margin: 0 0 18px;
    font-size: 13.5px;
    color: rgba(255,255,255,0.82);
    line-height: 1.55;
    max-width: 480px;
}
.agent-hub__hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.agent-hub__hero-card {
    min-width: 220px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 1.1rem 1.25rem;
}
.agent-hub__hero-card-label { margin: 0; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.7); }
.agent-hub__hero-card-amount { margin: 6px 0 14px; font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; }
.agent-hub__hero-card-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.agent-hub__hero-card-stats div span { display: block; font-size: 10px; color: rgba(255,255,255,0.65); }
.agent-hub__hero-card-stats div strong { display: block; font-size: 14px; margin-top: 2px; }

.agent-hub__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: auto;
    margin: 0;
    box-shadow: none;
}
.agent-hub__btn:hover { transform: translateY(-1px); }
.agent-hub__btn--light { background: #fff; color: #0F172A; }
.agent-hub__btn--gold { background: linear-gradient(135deg, #E8B84B, #D97706); color: #fff; box-shadow: 0 8px 22px rgba(217,119,6,0.35); }
.agent-hub__btn--primary { background: linear-gradient(135deg, #185FA5, #0C447C); color: #fff; }
.agent-hub__btn--green { background: linear-gradient(135deg, #16A34A, #15803D); color: #fff; }
.agent-hub__btn--purple { background: linear-gradient(135deg, #7C3AED, #5B21B6); color: #fff; }
.agent-hub__btn--outline { background: #fff; color: var(--text-primary); border: 1.5px solid var(--border); }

.agent-hub__tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 1.25rem;
    scrollbar-width: none;
}
.agent-hub__tabs::-webkit-scrollbar { display: none; }
.agent-hub__tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 14px;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    width: auto;
    margin: 0;
    box-shadow: 0 1px 3px rgba(15,23,42,0.04);
    transition: all 0.2s ease;
}
.agent-hub__tab i { font-size: 16px; }
.agent-hub__tab.is-active {
    background: linear-gradient(135deg, #185FA5, #0C447C);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 22px rgba(24,95,165,0.3);
}

.agent-hub__stat-grid { display: grid; gap: 12px; }
.agent-hub__stat-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.agent-hub__grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.agent-stat {
    border-radius: 18px;
    padding: 1.1rem 1.15rem;
    position: relative;
    overflow: hidden;
}
.agent-stat__icon {
    width: 36px; height: 36px;
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 10px;
    font-size: 18px;
}
.agent-stat__label { margin: 0; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.85; }
.agent-stat__value { margin: 6px 0 0; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; }
.agent-stat__value--sm { font-size: 1.25rem; }
.agent-stat__hint { margin: 4px 0 0; font-size: 11px; opacity: 0.8; }
.agent-stat--green { background: linear-gradient(135deg, #16A34A, #15803D); color: #fff; }
.agent-stat--green .agent-stat__icon { background: rgba(255,255,255,0.18); }
.agent-stat--blue { background: linear-gradient(135deg, #2563EB, #1D4ED8); color: #fff; }
.agent-stat--blue .agent-stat__icon { background: rgba(255,255,255,0.18); }
.agent-stat--pink { background: linear-gradient(135deg, #DB2777, #9D174D); color: #fff; }
.agent-stat--pink .agent-stat__icon { background: rgba(255,255,255,0.18); }
.agent-stat--purple { background: linear-gradient(135deg, #7C3AED, #5B21B6); color: #fff; }
.agent-stat--purple .agent-stat__icon { background: rgba(255,255,255,0.18); }
.agent-stat--soft { border: 1px solid var(--border); background: #fff; }
.agent-stat--soft-blue .agent-stat__value { color: #2563EB; }
.agent-stat--soft-amber .agent-stat__value { color: #D97706; }
.agent-stat--soft-green .agent-stat__value { color: #16A34A; }
.agent-stat--soft-red .agent-stat__value { color: #DC2626; }

.agent-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 4px 18px rgba(15,23,42,0.04);
}
.agent-card--highlight {
    background: linear-gradient(135deg, #F0FDF4, #fff);
    border-color: #BBF7D0;
}
.agent-card__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.1rem;
}
.agent-card__head h2 { margin: 0; font-size: 1rem; font-weight: 800; }
.agent-card__head p { margin: 2px 0 0; font-size: 12px; color: var(--text-muted); }
.agent-card__icon {
    width: 42px; height: 42px;
    border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: #fff; flex-shrink: 0;
}
.agent-card__icon--blue { background: linear-gradient(135deg, #378ADD, #185FA5); }
.agent-card__icon--green { background: linear-gradient(135deg, #22C55E, #16A34A); }
.agent-card__icon--purple { background: linear-gradient(135deg, #A78BFA, #7C3AED); }
.agent-card__icon--orange { background: linear-gradient(135deg, #F59E0B, #D97706); }

.agent-earnings-breakdown { display: flex; flex-direction: column; gap: 10px; }
.agent-earnings-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 14px;
    background: #F8FAFC;
    border-radius: 12px;
    font-size: 13px;
}
.agent-earnings-row span { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); font-weight: 600; }
.agent-earnings-row strong { font-size: 14px; color: #16A34A; }

.agent-link-box {
    display: flex; gap: 8px; align-items: stretch;
}
.agent-link-box__input {
    flex: 1; margin: 0 !important;
    font-size: 13px !important;
    border-radius: 12px !important;
    background: #F8FAFC !important;
}
.agent-link-box__copy {
    width: 48px; margin: 0 !important; padding: 0 !important;
    border-radius: 12px !important;
    background: #185FA5 !important;
    color: #fff !important;
    box-shadow: none !important;
}
.agent-link-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.agent-link-actions .agent-hub__btn { flex: 1; min-width: 140px; }

.agent-form .agent-field { margin-bottom: 0; }
.agent-field label { display: block; font-size: 12.5px; font-weight: 700; margin: 0 0 6px; }
.agent-field__hint { margin: 0 0 8px; font-size: 11.5px; color: var(--text-muted); }
.agent-field input { margin: 0 !important; border-radius: 12px !important; }

.agent-theme-preview {
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    color: #fff;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.1rem;
}
.agent-theme-preview i { font-size: 28px; opacity: 0.9; }
.agent-theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
}
.agent-theme-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.agent-theme-chip input { position: absolute; opacity: 0; pointer-events: none; }
.agent-theme-chip__dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--chip-color);
    flex-shrink: 0;
}
.agent-theme-chip__label { font-size: 11.5px; font-weight: 700; }
.agent-theme-chip.is-active {
    border-color: var(--chip-color);
    background: color-mix(in srgb, var(--chip-color) 12%, white);
}

.agent-markup-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.agent-markup-input {
    display: flex; align-items: center; gap: 8px;
    background: #fff; border: 1.5px solid var(--border);
    border-radius: 12px; padding: 0 14px; flex: 1; min-width: 160px;
}
.agent-markup-input input { border: none !important; margin: 0 !important; box-shadow: none !important; padding-left: 0 !important; }
.agent-markup-input span { font-size: 13px; font-weight: 700; color: var(--text-muted); white-space: nowrap; }

.agent-network-label {
    font-size: 11px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--text-muted);
    margin: 18px 0 10px;
}
.agent-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}
.agent-price-card {
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
}
.agent-price-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 4px; }
.agent-price-card__top strong { font-size: 13px; }
.agent-price-card__profit {
    font-size: 10px; font-weight: 800; color: #16A34A;
    background: #DCFCE7; padding: 3px 8px; border-radius: 999px;
}
.agent-price-card__base { margin: 0 0 10px; font-size: 11px; color: var(--text-muted); }
.agent-price-card__input-wrap {
    display: flex; align-items: center; gap: 6px;
    background: #fff; border: 1.5px solid var(--border);
    border-radius: 10px; padding: 0 10px;
}
.agent-price-card__input-wrap span { font-size: 12px; font-weight: 700; color: var(--text-muted); }
.agent-price-card__input-wrap input {
    border: none !important; margin: 0 !important; padding: 10px 0 !important;
    box-shadow: none !important; background: transparent !important;
}

.agent-service-price {
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
}
.agent-service-price--afa { background: #FFF7ED; border-color: #FED7AA; }
.agent-service-price--bece { background: #EFF6FF; border-color: #BFDBFE; }
.agent-service-price--waec { background: #FAF5FF; border-color: #DDD6FE; }
.agent-service-price__head {
    display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px;
}
.agent-service-price__head i { font-size: 22px; margin-top: 2px; }
.agent-service-price__head strong { display: block; font-size: 14px; }
.agent-service-price__head span { display: block; font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.agent-service-price__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.agent-service-price__grid label { font-size: 11px; font-weight: 700; margin-bottom: 6px; display: block; }

.agent-orders-list { display: flex; flex-direction: column; gap: 8px; }
.agent-order-row {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 12px 14px;
    background: #F8FAFC;
    border-radius: 14px;
    border: 1px solid transparent;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.agent-order-row:hover { background: #fff; border-color: var(--border); }
.agent-order-row__left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.agent-order-row__icon {
    width: 38px; height: 38px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; flex-shrink: 0;
}
.agent-order-row__icon--blue { background: #DBEAFE; color: #2563EB; }
.agent-order-row__icon--purple { background: #EDE9FE; color: #7C3AED; }
.agent-order-row__icon--orange { background: #FFEDD5; color: #D97706; }
.agent-order-row__left strong { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agent-order-row__left span { display: block; font-size: 11px; color: var(--text-muted); }
.agent-order-row__right { text-align: right; flex-shrink: 0; }
.agent-order-row__amount { display: block; font-size: 14px; font-weight: 800; }
.agent-order-row__profit { display: block; font-size: 11px; font-weight: 700; color: #16A34A; }
.agent-order-row__status {
    display: inline-block; margin-top: 4px;
    font-size: 10px; font-weight: 800; text-transform: uppercase;
    padding: 3px 8px; border-radius: 999px;
}
.agent-order-row__status--completed { background: #DCFCE7; color: #16A34A; }
.agent-order-row__status--pending, .agent-order-row__status--processing { background: #FEF3C7; color: #B45309; }
.agent-order-row__status--failed { background: #FEE2E2; color: #DC2626; }

.agent-empty {
    text-align: center;
    padding: 2.5rem 1.5rem;
    color: var(--text-muted);
}
.agent-empty i { font-size: 42px; opacity: 0.4; display: block; margin-bottom: 10px; }
.agent-empty p { margin: 0; font-size: 16px; font-weight: 800; color: var(--text-primary); }
.agent-empty span { display: block; font-size: 13px; margin: 6px 0 16px; }

/* Storefront premium */
.store-front-body { background: #EEF2F7; }
.store-front__hero { margin-bottom: 1rem; }
.store-front__actions { display: flex; gap: 10px; margin-bottom: 1rem; flex-wrap: wrap; }
.store-front__action {
    flex: 1; min-width: 140px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 16px; border-radius: 14px;
    font-size: 13px; font-weight: 700; text-decoration: none;
    border: none; cursor: pointer; font-family: inherit;
    margin: 0; box-shadow: none;
}
.store-front__action--whatsapp { background: #16A34A; color: #fff; box-shadow: 0 4px 14px rgba(22,163,74,0.3); }
.store-front__action--track { background: color-mix(in srgb, var(--store-color) 12%, white); color: var(--store-color); border: 1.5px solid color-mix(in srgb, var(--store-color) 30%, transparent); }
.guest-service-tabs .is-active--store { background: color-mix(in srgb, var(--store-color) 14%, white); color: var(--store-color); }
.store-afa-promo {
    display: flex; align-items: center; gap: 12px;
    margin-top: 12px; padding: 14px 16px;
    border-radius: 16px; text-decoration: none; color: inherit;
    background: color-mix(in srgb, var(--store-color) 10%, white);
    border: 2px solid color-mix(in srgb, var(--store-color) 25%, transparent);
    transition: transform 0.2s ease;
}
.store-afa-promo:hover { transform: translateY(-2px); }
.store-afa-promo__icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, var(--store-color), color-mix(in srgb, var(--store-color) 70%, #000));
    color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.store-afa-promo__text strong { display: block; font-size: 14px; font-weight: 800; color: var(--store-color); }
.store-afa-promo__text span { display: block; font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }
.store-checker-promo__arrow { margin-left: auto; color: #7C3AED; font-size: 18px; }

@media (max-width: 900px) {
    .agent-hub__stat-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .agent-hub__grid-2 { grid-template-columns: 1fr; }
    .agent-service-price__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .agent-hub__hero-inner { flex-direction: column; }
    .agent-hub__hero-card { width: 100%; }
    .agent-order-row { flex-direction: column; align-items: flex-start; }
    .agent-order-row__right { text-align: left; width: 100%; }
}

/* ===== Order history ===== */
.order-hist-page { max-width: 1100px; }
.order-hist-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 14px; margin-bottom: 1rem; flex-wrap: wrap;
}
.order-hist-title { margin: 0; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; }
.order-hist-sub { margin: 4px 0 0; font-size: 12.5px; color: var(--text-secondary); }
.order-hist-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.order-hist-actions .btn,
.order-hist-actions .btn-outline { width: auto; margin: 0; padding: 9px 16px; font-size: 12.5px; }

.order-hist-filters { margin-bottom: 1rem; }
.order-hist-search-row { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.order-hist-search-wrap { flex: 1; min-width: 200px; position: relative; }
.order-hist-search-wrap i {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    color: var(--text-muted); font-size: 15px; pointer-events: none;
}
.order-hist-search-wrap input { margin: 0; padding-left: 36px; font-size: 13px; }
.order-hist-search-row button[type="submit"] {
    width: auto; margin: 0; padding: 10px 20px; font-size: 13px;
}
.order-hist-filter-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.order-hist-filter-label {
    font-size: 10px; font-weight: 800; color: var(--text-secondary);
    text-transform: uppercase; letter-spacing: 0.05em; margin-right: 2px;
}
.order-hist-chip {
    width: auto; margin: 0; padding: 6px 14px; border-radius: 20px;
    font-size: 12px; font-weight: 600; border: 1.5px solid var(--border);
    background: #fff; color: var(--text-primary); cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.order-hist-chip.is-active {
    background: var(--teal); color: #fff; border-color: var(--teal);
    box-shadow: 0 2px 8px rgba(24,95,165,0.22);
}
.order-hist-select {
    width: auto; margin: 0; padding: 6px 12px; border-radius: 20px;
    font-size: 12px; border: 1.5px solid var(--border); background: #fff;
}

.order-hist-stats {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 1rem;
}
.order-hist-stat {
    background: #fff; border: 1px solid var(--border); border-radius: 14px;
    padding: 12px 14px; box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}
.order-hist-stat__label {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.04em; margin: 0 0 4px; color: var(--text-secondary);
}
.order-hist-stat__value { font-size: 1.25rem; font-weight: 800; margin: 0; line-height: 1.1; }
.order-hist-stat--total .order-hist-stat__value { color: #185FA5; }
.order-hist-stat--delivered .order-hist-stat__value { color: #16A34A; }
.order-hist-stat--progress .order-hist-stat__value { color: #D97706; }
.order-hist-stat--failed .order-hist-stat__value { color: #DC2626; }
.order-hist-stat--refunded .order-hist-stat__value { color: #0891B2; }

.order-hist-list { display: flex; flex-direction: column; gap: 8px; }
.order-hist-item {
    background: #fff; border: 1px solid var(--border); border-radius: 14px;
    padding: 12px 14px; transition: background 0.15s ease, box-shadow 0.15s ease;
    border-left: 3px solid var(--order-accent, #CBD5E1);
}
.order-hist-item:hover { background: #F8FAFC; box-shadow: 0 4px 14px rgba(15,23,42,0.05); }
.order-hist-item--completed { --order-accent: #16A34A; }
.order-hist-item--processing,
.order-hist-item--pending { --order-accent: #D97706; }
.order-hist-item--failed { --order-accent: #0891B2; }

.order-hist-item__top {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 10px; margin-bottom: 8px;
}
.order-hist-item__left { min-width: 0; flex: 1; }
.order-hist-item__ref {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px; color: var(--text-secondary); margin: 0 0 4px;
    word-break: break-all;
}
.order-hist-item__product {
    font-size: 13px; font-weight: 700; margin: 0; color: var(--text-primary);
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.order-hist-item__price { font-size: 14px; font-weight: 800; white-space: nowrap; color: var(--text-primary); }

.order-hist-item__meta {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    font-size: 11.5px; color: var(--text-secondary);
}
.order-hist-item__meta span { display: inline-flex; align-items: center; gap: 4px; }
.order-hist-item__actions { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }

.order-hist-type {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 8px;
}
.order-hist-type--data { background: #EFF6FF; color: #185FA5; }
.order-hist-type--checker { background: #EDE9FE; color: #7C3AED; }

.order-hist-status {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 20px;
}
.order-hist-status--completed { background: #DCFCE7; color: #16A34A; }
.order-hist-status--processing,
.order-hist-status--pending { background: #FEF3C7; color: #D97706; }
.order-hist-status--failed { background: #ECFEFF; color: #0891B2; }

.order-hist-network {
    display: inline-flex; align-items: center; gap: 5px;
    background: var(--net-bg, #F1F5F9); padding: 2px 8px 2px 4px; border-radius: 20px;
}
.order-hist-network img { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; }
.order-hist-network span { font-size: 10.5px; font-weight: 700; color: var(--text-primary); }

.order-hist-btn {
    width: auto; margin: 0; padding: 5px 12px; font-size: 11px; font-weight: 700;
    border-radius: 10px; border: none; cursor: pointer; text-decoration: none;
    display: inline-flex; align-items: center; gap: 4px;
}
.order-hist-btn--view { background: linear-gradient(135deg, #7C3AED, #5B21B6); color: #fff; }
.order-hist-btn--report { background: var(--coral); color: #fff; }
.order-hist-btn--review {
    background: #FEF3C7; color: #D97706; font-size: 11px; font-weight: 700;
    padding: 5px 12px; border-radius: 20px;
}

.order-hist-empty { text-align: center; padding: 3rem 1.5rem; }
.order-hist-empty i { font-size: 34px; color: var(--teal); display: block; margin-bottom: 10px; }
.order-hist-empty p { margin: 0 0 4px; font-size: 14px; font-weight: 700; }
.order-hist-empty span { display: block; font-size: 12.5px; color: var(--text-secondary); margin-bottom: 16px; }
.order-hist-empty-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.order-hist-pagination { padding: 14px 4px 4px; }

.order-hist-modal {
    display: none; position: fixed; inset: 0; background: rgba(15,23,42,0.6);
    z-index: 1000; align-items: center; justify-content: center; padding: 1.25rem;
}
.order-hist-modal__card {
    background: #fff; border-radius: 18px; padding: 22px; max-width: 420px;
    width: 100%; max-height: 90vh; overflow-y: auto;
}
.order-hist-modal__head {
    display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px;
}
.order-hist-modal__title { font-size: 15px; font-weight: 800; margin: 0; }
.order-hist-modal__ref { font-size: 11.5px; color: var(--text-secondary); margin: 2px 0 0; }
.order-hist-modal__close {
    background: none; border: none; color: var(--text-muted); font-size: 20px;
    cursor: pointer; width: auto; margin: 0; padding: 0; box-shadow: none;
}
.order-hist-modal__details {
    background: #EFF6FF; border-radius: 12px; padding: 12px 14px; margin-bottom: 14px;
}
.order-hist-modal__details-title {
    font-size: 10px; font-weight: 800; color: #185FA5; text-transform: uppercase;
    letter-spacing: 0.05em; margin: 0 0 8px;
}
.order-hist-modal__grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 12px;
}
.order-hist-modal__actions { display: flex; gap: 10px; margin-top: 16px; }
.order-hist-modal__actions button { flex: 1; margin: 0; padding: 11px; font-size: 13px; font-weight: 700; border-radius: 12px; }
.order-hist-modal__cancel { background: #F1F5F9; color: var(--text-primary); border: none; box-shadow: none; }

@media (max-width: 900px) {
    .order-hist-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .order-hist-stats { grid-template-columns: repeat(2, 1fr); }
    .order-hist-item__top { flex-direction: column; gap: 6px; }
    .order-hist-filter-row { gap: 6px; }
    .order-hist-select { width: 100%; }
}

/* ===== Premium sidebar v77 ===== */
.sidebar-premium__close {
    display: none;
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.12);
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: background 0.2s ease, transform 0.2s ease;
}
.sidebar-premium__close:hover { background: rgba(255,255,255,0.22); }
.sidebar-premium__close:active { transform: scale(0.94); }

.sidebar-premium__promo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0.5rem 0.85rem 0;
    padding: 0.85rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #FFF7ED, #FEF3C7);
    border: 1px solid #FDE68A;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sidebar-premium__promo:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(217,119,6,0.15);
}

.sidebar-premium__user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    margin-bottom: 8px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}
.sidebar-premium__user:hover { background: rgba(24,95,165,0.06); }
.sidebar-premium__user > i { color: #94A3B8; font-size: 16px; margin-left: auto; }

.sidebar-premium__user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: linear-gradient(135deg, #185FA5, #7C3AED);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-premium__user-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sidebar-premium__user-name {
    font-size: 13px; font-weight: 700; color: #0F172A;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sidebar-premium__user-role { font-size: 11px; color: #64748B; margin-top: 1px; }

.sidebar-premium__footer-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-premium__footer-actions form { flex: 0; }
.sidebar-premium__footer-actions .sidebar-theme-toggle { flex: 1; }
.sidebar-premium__footer-actions .sidebar-logout-btn {
    width: 42px;
    padding: 0;
    justify-content: center;
}

body.nav-drawer-open { overflow: hidden; }

@media (max-width: 860px) {
    .sidebar-premium__close { display: flex; }
    .sidebar-premium__header-actions { display: none; }
}

[data-theme="dark"] .sidebar-premium__user-name,
.dark-theme .sidebar-premium__user-name { color: #F1F5F9; }
[data-theme="dark"] .sidebar-premium__user:hover,
.dark-theme .sidebar-premium__user:hover { background: rgba(255,255,255,0.06); }

/* ===== Admin premium console v78 ===== */
.admin-body {
    background: linear-gradient(160deg, #F8FAFF 0%, #F1F5F9 45%, #EEF2FF 100%);
    min-height: 100vh;
}

.app-shell--admin { min-height: 100vh; }

.sidebar-premium__header--admin {
    background: linear-gradient(135deg, #7F1D1D 0%, #DC2626 45%, #991B1B 100%);
}
.sidebar-premium__logo--admin {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.28);
}
.sidebar--admin .nav-premium-item.is-active {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 55%, #7C3AED 100%);
    box-shadow: 0 8px 24px rgba(220,38,38,0.22);
}
.sidebar-premium__user-avatar--admin {
    background: linear-gradient(135deg, #DC2626, #991B1B);
}
.sidebar-premium__footer--admin { padding: 0.75rem 0.85rem 1rem; }
.sidebar-premium__user--static { margin-bottom: 10px; cursor: default; }
.sidebar-logout-btn--full { width: 100%; justify-content: center; }

.nav-premium-item__badge {
    margin-left: auto;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #DC2626;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.nav-premium-item.is-active .nav-premium-item__badge {
    background: rgba(255,255,255,0.22);
}

.topbar--admin .topbar-quicknav-item.active {
    background: linear-gradient(135deg, #DC2626, #991B1B);
    box-shadow: 0 4px 14px rgba(220,38,38,0.28);
}
.avatar--admin {
    background: linear-gradient(135deg, #DC2626, #991B1B) !important;
    color: #fff !important;
}
.admin-topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #64748B;
    text-decoration: none;
    border: 1.5px solid var(--border);
    background: #fff;
    transition: all 0.15s ease;
}
.admin-topbar-link:hover { color: #DC2626; border-color: #FECACA; background: #FEF2F2; }

.admin-content { max-width: 1280px; }

/* Alerts */
.admin-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 13px;
    font-weight: 600;
}
.admin-alert ul { margin: 0; padding-left: 18px; }
.admin-alert--success {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #15803D;
}
.admin-alert--error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #B91C1C;
}

/* Page headers — auto-style legacy h1 + hint */
.admin-content > h1:first-child,
.admin-content .admin-page-title {
    margin: 0 0 4px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0F172A;
}
.admin-content > h1:first-child + .hint,
.admin-content > .hint:first-child,
.admin-page-sub {
    margin: 0 0 1.25rem;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Hero */
.admin-hero,
.admin-content .hero-card {
    background: linear-gradient(120deg, #991B1B, #DC2626 50%, #7C3AED) !important;
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.25rem;
    color: #fff;
    box-shadow: 0 16px 40px rgba(220,38,38,0.22);
    border: none !important;
}
.admin-hero .label,
.admin-content .hero-card .label { color: rgba(255,255,255,0.8); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 6px; }
.admin-hero .amount,
.admin-content .hero-card .amount { font-size: 2rem; font-weight: 800; margin: 0 0 14px; letter-spacing: -0.03em; }
.admin-hero .hero-actions,
.admin-content .hero-card .hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-hero .hero-actions a,
.admin-content .hero-card .hero-actions a {
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    background: rgba(255,255,255,0.18);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
}
.admin-hero .hero-actions a.secondary,
.admin-content .hero-card .hero-actions a.secondary { background: rgba(255,255,255,0.95); color: #991B1B; }

/* Stats */
.admin-stat-grid,
.admin-content .stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 1.25rem;
}
.admin-stat-card,
.admin-content .stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem 1.1rem;
    box-shadow: 0 2px 8px rgba(15,23,42,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.admin-content .stat-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15,23,42,0.08); }
.admin-content .stat-card .label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-secondary); margin: 0 0 4px; }
.admin-content .stat-card .value { font-size: 1.35rem; font-weight: 800; margin: 0; line-height: 1.1; }

/* Panels / cards */
.admin-panel,
.admin-content .card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(15,23,42,0.04);
    max-width: 100% !important;
}

/* Section titles */
.admin-content .section-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin: 0 0 12px;
}

/* Quick actions */
.admin-content .quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 1.25rem;
}
.admin-content .quick-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.admin-content .quick-item:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15,23,42,0.08); }
.admin-content .quick-item p { margin: 8px 0 0; font-size: 12.5px; font-weight: 700; }

/* Tables — auto-wrap bare tables */
.admin-content > div:has(> table),
.admin-table-wrap,
.admin-content table {
    border-radius: 16px;
}
.admin-content > div:has(> table) {
    background: #fff;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15,23,42,0.04);
    margin-bottom: 1.25rem;
}
.admin-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: #fff;
}
.admin-content table thead tr {
    background: linear-gradient(135deg, #F8FAFC, #FEF2F2);
    border-bottom: 1.5px solid var(--border);
}
.admin-content table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--text-secondary);
}
.admin-content table td {
    padding: 12px 16px;
    border-bottom: 1px solid #F1F5F9;
    vertical-align: middle;
}
.admin-content table tbody tr:hover { background: #F8FAFC; }
.admin-content table tbody tr:last-child td { border-bottom: none; }

/* Activity lists */
.admin-content .activity-list {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15,23,42,0.04);
    margin-bottom: 1.25rem;
}
.admin-content .activity-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #F1F5F9;
    transition: background 0.15s ease;
}
.admin-content .activity-row:last-child { border-bottom: none; }
.admin-content .activity-row:hover { background: #F8FAFC; }
.admin-content .activity-row .left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.admin-content .activity-icon {
    width: 36px; height: 36px; border-radius: 11px;
    background: #FEF2F2; color: #DC2626;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.admin-content .activity-icon i { font-size: 17px; }

/* Empty states */
.admin-content .empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
}

/* Forms in admin */
.admin-content label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    margin: 0.85rem 0 0.35rem;
    color: var(--text-primary);
}
.admin-content input[type="text"],
.admin-content input[type="email"],
.admin-content input[type="password"],
.admin-content input[type="number"],
.admin-content input[type="url"],
.admin-content select,
.admin-content textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 13px;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.admin-content input:focus,
.admin-content select:focus,
.admin-content textarea:focus {
    outline: none;
    border-color: #DC2626;
    box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}
.admin-content button[type="submit"],
.admin-content .btn-admin {
    width: auto;
    margin-top: 1rem;
    padding: 11px 22px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(135deg, #DC2626, #991B1B);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(220,38,38,0.25);
}
.admin-content .error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 12px;
    padding: 12px 14px;
    color: #B91C1C;
    font-size: 13px;
    margin-bottom: 1rem;
}

/* Alert banner */
.admin-alert-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-decoration: none;
    background: linear-gradient(135deg, #FEF2F2, #FECACA);
    border: 1.5px solid #FCA5A5;
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 1.25rem;
    color: inherit;
    transition: transform 0.15s ease;
}
.admin-alert-banner:hover { transform: translateY(-1px); }
.admin-alert-banner__icon {
    width: 40px; height: 40px; border-radius: 12px;
    background: #DC2626; color: #fff;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.admin-alert-banner__title { font-weight: 800; font-size: 14px; margin: 0; color: #991B1B; }
.admin-alert-banner__sub { font-size: 12px; color: #B91C1C; margin: 2px 0 0; }
.admin-alert-banner__cta {
    background: #DC2626; color: #fff;
    font-size: 11.5px; font-weight: 700;
    padding: 8px 14px; border-radius: 10px; white-space: nowrap;
}

/* Page header component */
.admin-page-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.25rem;
}
.admin-page-header__icon {
    width: 44px; height: 44px; border-radius: 14px;
    background: linear-gradient(135deg, #DC2626, #991B1B);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(220,38,38,0.28);
    flex-shrink: 0;
}
.admin-page-header__icon i { font-size: 22px; color: #fff; }
.admin-page-header__icon--blue { background: linear-gradient(135deg, #185FA5, #0C447C); box-shadow: 0 4px 14px rgba(24,95,165,0.28); }
.admin-page-header__icon--green { background: linear-gradient(135deg, #16A34A, #15803D); box-shadow: 0 4px 14px rgba(22,163,74,0.28); }
.admin-page-header__icon--purple { background: linear-gradient(135deg, #7C3AED, #5B21B6); box-shadow: 0 4px 14px rgba(124,58,237,0.28); }

/* Admin login */
.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: linear-gradient(160deg, #1C1917 0%, #450A0A 40%, #7F1D1D 100%);
}
.admin-login-card {
    width: 100%;
    max-width: 400px;
    background: rgba(255,255,255,0.97);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.2);
}
.admin-login-card__logo {
    width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(135deg, #DC2626, #991B1B);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 20px rgba(220,38,38,0.35);
}
.admin-login-card__logo i { font-size: 26px; color: #fff; }
.admin-login-card h1 { text-align: center; margin: 0 0 4px; font-size: 1.4rem; font-weight: 800; }
.admin-login-card .hint { text-align: center; margin: 0 0 1.5rem; font-size: 13px; color: var(--text-secondary); }
.admin-login-card label { display: block; font-size: 12.5px; font-weight: 700; margin: 0.75rem 0 0.35rem; }
.admin-login-card input {
    width: 100%; padding: 0.75rem; border: 1.5px solid var(--border);
    border-radius: 10px; font-size: 14px; box-sizing: border-box;
}
.admin-login-card button[type="submit"] {
    width: 100%; margin-top: 1.25rem; padding: 13px;
    border-radius: 12px; font-size: 14px; font-weight: 700;
    background: linear-gradient(135deg, #DC2626, #991B1B);
    color: #fff; border: none; cursor: pointer;
    box-shadow: 0 6px 18px rgba(220,38,38,0.3);
}

@media (max-width: 1024px) {
    .admin-stat-grid,
    .admin-content .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-content .quick-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .admin-stat-grid,
    .admin-content .stat-grid { grid-template-columns: 1fr; }
    .admin-content .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .topbar-quicknav--admin { display: none; }
    .admin-alert-banner { flex-direction: column; align-items: flex-start; }
}

/* ===== Inline MoMo checkout flow v79 ===== */
.momo-checkout-flow { position: relative; }
.momo-checkout-step[hidden] { display: none !important; }
.momo-checkout-select {
    width: 100%;
    margin: 0 0 12px;
    padding: 12px 14px;
    border: 1.5px solid #CBD5E1;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: #0F172A;
}
.momo-checkout-status {
    text-align: center;
    padding: 28px 12px 20px;
}
.momo-checkout-status h4 {
    margin: 14px 0 8px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0F172A;
}
.momo-checkout-status p {
    margin: 0;
    font-size: 13px;
    color: #64748B;
    line-height: 1.5;
}
.momo-checkout-spinner {
    width: 52px;
    height: 52px;
    margin: 0 auto;
    border-radius: 50%;
    border: 3px solid #E2E8F0;
    border-top-color: #185FA5;
    animation: momoSpin 0.85s linear infinite;
}
.momo-checkout-phone-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 18px;
    background: linear-gradient(135deg, #DCFCE7, #BBF7D0);
    color: #16A34A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    animation: momoPhoneBob 1.6s ease-in-out infinite;
}
.momo-checkout-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 50%;
    background: #DCFCE7;
    color: #16A34A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    animation: momoSuccessPop 0.45s ease-out;
}
.momo-checkout-error-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 50%;
    background: #FEE2E2;
    color: #DC2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}
.momo-checkout-pulse {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}
.momo-checkout-pulse span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16A34A;
    animation: momoPulse 1.2s ease-in-out infinite;
}
.momo-checkout-pulse span:nth-child(2) { animation-delay: 0.15s; }
.momo-checkout-pulse span:nth-child(3) { animation-delay: 0.3s; }
.momo-checkout-status--approve p { color: #15803D; font-weight: 600; }
.momo-checkout-status--success p { color: #15803D; }
.momo-checkout-status--error p { color: #B91C1C; }
@keyframes momoSpin { to { transform: rotate(360deg); } }
@keyframes momoPhoneBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes momoSuccessPop {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes momoPulse {
    0%, 100% { opacity: 0.35; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1); }
}

/* Full-panel payment states */
.momo-checkout-flow.is-momo-active {
    position: relative;
    min-height: 280px;
}
.momo-checkout-flow.is-momo-active .momo-checkout-step:not([hidden]) .momo-checkout-status {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
}
.momo-checkout-flow.is-momo-active .momo-checkout-step:not([data-momo-step="form"]):not([hidden]) {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: #fff;
    border-radius: 12px;
}
.guest-checkout.is-momo-paying .guest-checkout__summary,
.guest-checkout.is-momo-paying .guest-checkout__form > h4,
.guest-checkout.is-momo-paying .guest-checkout__form > .guest-checkout__form-hint {
    display: none !important;
}
.guest-checkout.is-momo-paying .guest-checkout__form {
    padding-top: 0.5rem;
}
.guest-checkout.is-momo-paying .momo-checkout-step:not([hidden]) .momo-checkout-status {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
}
.guest-checkout.is-momo-paying .momo-checkout-status h4 {
    font-size: 1.25rem;
}
.guest-checkout.is-momo-paying .momo-checkout-spinner {
    width: 64px;
    height: 64px;
    border-width: 4px;
}
.wallet-momo-panel.is-momo-paying .momo-checkout-step:not([hidden]) .momo-checkout-status {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
}
.wallet-momo-panel.is-momo-paying .momo-checkout-status h4 {
    font-size: 1.2rem;
}
.wallet-momo-panel.is-momo-paying .momo-checkout-spinner {
    width: 64px;
    height: 64px;
    border-width: 4px;
}
.wallet-momo-panel.is-momo-paying .wallet-momo-pay-form {
    display: none;
}
.wallet-momo-overlay .momo-checkout-status {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
[data-momo-pay-btn].is-loading {
    opacity: 0.75;
    pointer-events: none;
}
