/* ==========================================================================
   2026 MODERN SAAS & GOOGLE PRO MARKETPLACE UI DESIGN SYSTEM (v2026.6)
   Conflict-Free App Shell + Reorganized 3-Zone Dashboard + GSAP Motion
   ========================================================================== */

:root,
html[data-ui-theme="light"] {
    --bg-app: #f1f5f9;
    --bg-card: #ffffff;
    --bg-card-subtle: #f8fafc;
    --bg-glass: rgba(255, 255, 255, 0.92);
    --bg-sidebar: #0f172a;
    --bg-sidebar-hover: rgba(255, 255, 255, 0.07);
    --text-main: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --border-strong: #cbd5e1;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --indigo: #4f46e5;
    --violet: #7c3aed;
    --emerald: #10b981;
    --amber: #f59e0b;
    --rose: #e11d48;
    --shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 4px 14px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 12px 28px -6px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 22px 45px -12px rgba(37, 99, 235, 0.16);
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 22px;
    --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-ui-theme="dark"] {
    --bg-app: #090d16;
    --bg-card: #111827;
    --bg-card-subtle: #1e293b;
    --bg-glass: rgba(17, 24, 39, 0.9);
    --bg-sidebar: #060911;
    --bg-sidebar-hover: rgba(255, 255, 255, 0.08);
    --text-main: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);
    --primary: #3b82f6;
    --primary-hover: #60a5fa;
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 14px 32px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 24px 52px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   1. GLOBAL RESET & LEGACY MAIN.CSS NEUTRALIZER
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body,
body.modern-app-body {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    background: var(--bg-app) !important;
    color: var(--text-main) !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.modern-app-body :is(.all-wrapper, .content-w, .content-i, .layout-w, .element-wrapper, .element-box) :not(i):not([class*="fa-"]):not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not(.fad) {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

body::before,
body::after,
.all-wrapper::before,
.all-wrapper::after {
    display: none !important;
    content: none !important;
}

#webgl-3d-stage,
.ui-3d-dock,
.content-panel,
.content-panel-toggler,
.floated-colors-btn,
.floated-customizer-btn,
.floated-chat-btn {
    display: none !important;
}

/* ==========================================================================
   2. APP SHELL LAYOUT (SIDEBAR + MAIN CONTENT)
   ========================================================================== */
.all-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--bg-app) !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    min-height: 100vh !important;
}

.layout-w {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    min-height: 100vh !important;
    width: 100% !important;
    background: var(--bg-app) !important;
}

.content-w {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: calc(100% - 270px) !important;
    background: var(--bg-app) !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 0 !important;
}

.content-i {
    display: block !important;
    width: 100% !important;
    flex: 1 1 auto !important;
}

.content-box {
    display: block !important;
    width: 100% !important;
    max-width: 1420px !important;
    margin: 0 auto !important;
    padding: 24px 28px 48px !important;
}

@media (max-width: 991px) {
    .content-w {
        width: 100% !important;
    }
    .content-box {
        padding: 16px 14px 36px !important;
    }
}

/* ==========================================================================
   3. CONFLICT-FREE 2026 SIDEBAR (aside.app-sidebar-2026)
   ========================================================================== */
.app-sidebar-2026 {
    width: 270px !important;
    min-width: 270px !important;
    max-width: 270px !important;
    background: var(--bg-sidebar) !important;
    color: #e2e8f0 !important;
    display: flex !important;
    flex-direction: column !important;
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    z-index: 1040 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.16) !important;
    user-select: none;
    flex-shrink: 0 !important;
}

.app-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(9, 13, 22, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1035;
}

.asb-brand {
    padding: 18px 18px 16px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
}

.asb-logo-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    color: #ffffff !important;
    min-width: 0;
}

.logo-brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 55%, #7c3aed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45);
    flex-shrink: 0;
}

.asb-brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-title {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-status {
    font-size: 10.5px;
    font-weight: 700;
    color: #34d399;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.asb-mobile-close {
    display: none;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.modern-sidebar-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 12px 12px 24px;
}

.modern-sidebar-scroll::-webkit-scrollbar {
    width: 4px;
}

.modern-sidebar-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 99px;
}

.modern-nav {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.modern-nav-section {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    padding: 14px 12px 6px;
}

.modern-nav-item {
    list-style: none !important;
}

.modern-nav-link {
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
    padding: 10px 12px !important;
    border-radius: 11px !important;
    color: #cbd5e1 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.modern-nav-link:hover {
    background: var(--bg-sidebar-hover) !important;
    color: #ffffff !important;
}

.modern-nav-item.active > .modern-nav-link {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 18px -4px rgba(37, 99, 235, 0.5) !important;
}

.nav-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.modern-nav-item.active > .modern-nav-link .nav-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.nav-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 99px;
    text-transform: uppercase;
}

.badge-indigo {
    background: rgba(99, 102, 241, 0.22);
    color: #a5b4fc;
    border: 1px solid rgba(99, 102, 241, 0.35);
}

.badge-emerald {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.nav-arrow {
    font-size: 11px;
    opacity: 0.7;
    transition: transform 0.22s ease;
}

.modern-nav-item.open > .modern-nav-link .nav-arrow {
    transform: rotate(180deg);
}

.modern-sub-nav {
    list-style: none !important;
    padding: 4px 0 6px 20px !important;
    margin: 2px 0 4px 18px !important;
    border-left: 1px dashed rgba(255, 255, 255, 0.14);
    display: none;
}

.modern-sub-nav li a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #94a3b8 !important;
    text-decoration: none !important;
    transition: all 0.18s ease;
}

.modern-sub-nav li a:hover,
.modern-sub-nav li a.sub-active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.06);
}

.sub-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #64748b;
    flex-shrink: 0;
}

.modern-sub-nav li a.sub-active .sub-dot {
    background: #38bdf8;
    box-shadow: 0 0 6px #38bdf8;
}

.nav-admin-highlight {
    background: rgba(245, 158, 11, 0.14) !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    color: #fcd34d !important;
}

@media (max-width: 991px) {
    .app-sidebar-2026 {
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        transform: translateX(-105%);
        transition: transform 0.28s var(--ease-spring);
    }
    body.sidebar-mobile-open .app-sidebar-2026 {
        transform: translateX(0);
    }
    body.sidebar-mobile-open .app-sidebar-backdrop {
        display: block;
    }
    .asb-mobile-close {
        display: inline-flex;
    }
}

/* ==========================================================================
   4. CONFLICT-FREE 2026 STICKY TOPBAR (header.app-topbar-2026)
   ========================================================================== */
.app-topbar-2026 {
    position: sticky !important;
    top: 0 !important;
    z-index: 1020 !important;
    min-height: 68px !important;
    padding: 10px 28px !important;
    background: var(--bg-glass) !important;
    backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid var(--border-color) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
    max-width: 540px;
}

.topbar-mobile-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-main);
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.topbar-search-box {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.topbar-search-box .search-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 13.5px;
    pointer-events: none;
}

.topbar-search-box input {
    width: 100%;
    height: 40px;
    padding: 0 52px 0 38px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-card-subtle);
    color: var(--text-main);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    outline: none;
}

.topbar-search-box input:focus {
    background: var(--bg-card);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.search-kbd {
    position: absolute;
    right: 10px;
    padding: 2px 7px;
    border-radius: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 10.5px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.topbar-wallet-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 5px 8px 5px 10px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-xs);
}

.topbar-wallet-pill:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
}

.twp-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(16, 185, 129, 0.14);
    color: #10b981;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.twp-info {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.twp-info small {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.twp-info strong {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-main);
    font-family: 'JetBrains Mono', monospace;
}

.twp-plus {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: var(--primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.topbar-lang-switch {
    display: inline-flex;
    align-items: center;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 3px;
    gap: 2px;
}

.lang-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    padding: 5px 8px;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.lang-btn.active {
    background: var(--primary);
    color: #ffffff;
}

.topbar-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.topbar-icon-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.topbar-user-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.topbar-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 4px 10px 4px 5px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.topbar-user-chip:hover {
    border-color: var(--primary);
}

.topbar-user-chip img {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    object-fit: cover;
}

.tuc-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.tuc-name {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--text-main);
}

.tuc-role {
    font-size: 10.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.topbar-logout-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(244, 63, 94, 0.25);
    background: rgba(244, 63, 94, 0.08);
    color: #e11d48 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.topbar-logout-btn:hover {
    background: #e11d48;
    color: #ffffff !important;
}

@media (max-width: 991px) {
    .app-topbar-2026 {
        padding: 10px 14px !important;
    }
    .topbar-mobile-btn {
        display: inline-flex;
    }
    .tuc-meta,
    .search-kbd,
    .topbar-lang-switch {
        display: none;
    }
}

/* ==========================================================================
   5. ZONE 1: REORGANIZED DASHBOARD TOP GRID (.dash-top-grid)
   Left: Compact Google PRO Hero | Right: Unified Wallet Overview
   ========================================================================== */
.modern-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border-radius: 14px;
    margin-bottom: 20px;
    font-size: 13.5px;
}

.modern-alert-warning {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: var(--text-main);
}

.modern-alert .ma-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(245, 158, 11, 0.2);
    color: #d97706;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modern-alert .ma-body {
    flex: 1;
}

.dash-top-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 20px;
    align-items: stretch;
    margin-bottom: 22px;
}

@media (max-width: 1140px) {
    .dash-top-grid {
        grid-template-columns: 1fr;
    }
}

/* Left: Compact Google PRO Hero Card */
.dash-hero-compact {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 55%, #172554 100%);
    color: #ffffff;
    padding: 26px 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 40px -12px rgba(15, 23, 42, 0.35);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-2026-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(65px);
    pointer-events: none;
    opacity: 0.45;
}

.hero-glow-1 {
    width: 240px;
    height: 240px;
    background: #3b82f6;
    top: -80px;
    right: -40px;
}

.hero-glow-2 {
    width: 220px;
    height: 220px;
    background: #8b5cf6;
    bottom: -90px;
    left: 20%;
}

.dhc-content {
    position: relative;
    z-index: 2;
}

.hero-2026-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #93c5fd;
    margin-bottom: 12px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 10px #34d399;
}

.dhc-title {
    font-size: 25px;
    font-weight: 800;
    line-height: 1.28;
    color: #ffffff !important;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.text-gradient-google {
    background: linear-gradient(90deg, #60a5fa 0%, #c084fc 50%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dhc-desc {
    font-size: 13.5px;
    line-height: 1.58;
    color: #cbd5e1;
    margin: 0 0 14px;
    max-width: 680px;
}

.dhc-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.perk-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
    font-weight: 700;
    color: #f1f5f9;
}

.dhc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 11px;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.55);
    transition: all 0.2s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -4px rgba(37, 99, 235, 0.75);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 11px;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #6ee7b7 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
    background: #10b981;
    color: #ffffff !important;
}

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #e2e8f0 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.btn-hero-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff !important;
}

/* Right: Unified Wallet & Account Overview Card (.dash-wallet-overview) */
.dash-wallet-overview {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 22px 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
}

.dwo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dwo-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dwo-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(37, 99, 235, 0.25);
}

.dwo-greeting {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 600;
    display: block;
}

.dwo-username {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main) !important;
    margin: 0;
}

.dwo-rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 99px;
    background: rgba(245, 158, 11, 0.14);
    color: #d97706;
    font-size: 11.5px;
    font-weight: 800;
}

.dwo-balance-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(79, 70, 229, 0.08) 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.dwo-bal-label {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}

.dwo-bal-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
}

.dwo-deposit-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px;
    border-radius: 11px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 6px 16px -3px rgba(16, 185, 129, 0.45);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dwo-deposit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -3px rgba(16, 185, 129, 0.65);
}

.dwo-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.dwo-stat-item {
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dsi-label {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.text-violet {
    color: #7c3aed;
}

.dsi-val {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--text-main);
    font-family: 'JetBrains Mono', monospace;
}

.dwo-footer-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px dashed var(--border-color);
    font-size: 12px;
    font-weight: 700;
}

.dwo-footer-links a {
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.18s ease;
}

.dwo-footer-links a:hover {
    color: var(--primary) !important;
}

/* ==========================================================================
   6. ZONE 2: CATALOG FILTER TOOLBAR & CATEGORY SECTIONS
   ========================================================================== */
.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-xs);
}

.catalog-filter-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 11px;
    border: 1px solid var(--border-color);
    background: var(--bg-card-subtle);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cat-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cat-pill.active {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 16px -4px rgba(37, 99, 235, 0.45);
}

.cat-pill-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 4px;
}

.catalog-view-Controls,
.catalog-view-switcher {
    display: inline-flex;
    align-items: center;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    border-radius: 11px;
    padding: 3px;
    gap: 4px;
}

.view-mode-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
}

.view-mode-btn.active {
    background: var(--bg-card);
    color: var(--primary);
    box-shadow: var(--shadow-xs);
}

/* Category Section & Header */
.category-section {
    margin-bottom: 28px;
}

.category-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
    box-shadow: var(--shadow-xs);
}

.category-section-header.cat-header-featured {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.08) 0%, rgba(124, 58, 237, 0.06) 100%);
    border-color: rgba(37, 99, 235, 0.28);
}

.csh-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.csh-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    flex-shrink: 0;
}

.csh-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.csh-title {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--text-main) !important;
    margin: 0 0 2px;
}

.csh-sub {
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 500;
}

.csh-count {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 99px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
}

/* ==========================================================================
   7. GOOGLE PRO 18M & 6M PRODUCT PLAN CARDS WITH CONTENT BELOW
   ========================================================================== */
.product-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 20px;
    align-items: stretch;
}

/* Featured 2-Column Side-by-Side Layout for Google PRO 18M & 6M */
.product-plans-grid.grid-featured-2col {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

@media (max-width: 767px) {
    .product-plans-grid,
    .product-plans-grid.grid-featured-2col {
        grid-template-columns: 1fr;
    }
}

.product-plan-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-spring), border-color 0.25s ease;
}

.product-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.product-plan-card.plan-card-popular {
    border: 2px solid #2563eb;
    box-shadow: 0 14px 34px -10px rgba(37, 99, 235, 0.22);
}

.product-plan-card.plan-card-6m {
    border: 2px solid #6366f1;
}

.plan-ribbon {
    background: linear-gradient(90deg, #2563eb 0%, #4f46e5 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 7px 16px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.plan-ribbon.plan-ribbon-indigo {
    background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
}

.ppc-header {
    padding: 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

/* Product banner/thumbnail image area */
.ppc-product-banner {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.ppc-header-content {
    padding: 16px 22px 14px;
}

.ppc-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.ppc-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ppc-cat-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background: var(--bg-card-subtle);
    padding: 4px;
}

.ppc-cat-label {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.ppc-badges {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ppc-flag-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 99px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
}

.ppc-flag-pill img {
    width: 15px;
    height: 11px;
    object-fit: cover;
    border-radius: 2px;
}

.ppc-stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 11.5px;
    font-weight: 700;
}

.ppc-stock-pill.in-stock {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

html[data-ui-theme="dark"] .ppc-stock-pill.in-stock {
    color: #34d399;
}

.ppc-stock-pill.out-stock {
    background: rgba(244, 63, 94, 0.12);
    color: #e11d48;
    border: 1px solid rgba(244, 63, 94, 0.28);
}

.ppc-title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.38;
    color: var(--text-main) !important;
    margin: 0 0 14px;
}

.ppc-price-bar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
}

.ppc-price-main {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.ppc-price-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.ppc-price-val {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
}

.ppc-price-period {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.ppc-sold-tag {
    font-size: 11.5px;
    color: var(--text-secondary);
}

/* Card Body — Content Below ("Có Nội Dung Bên Dưới") */
.ppc-body {
    padding: 18px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ppc-features-heading {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.ppc-features-heading i {
    color: var(--primary);
}

.ppc-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.ppc-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.feat-check {
    color: #10b981;
    font-size: 14px;
    margin-top: 1px;
    flex-shrink: 0;
}

.ppc-note-box {
    margin-top: auto;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.06);
    border: 1px dashed rgba(37, 99, 235, 0.28);
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.ppc-note-box i {
    color: var(--primary);
    margin-top: 3px;
}

.ppc-footer {
    padding: 16px 22px 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-card-subtle);
}

.btn-modern-buy {
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.45);
    transition: all 0.25s var(--ease-spring);
}

.btn-modern-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -4px rgba(37, 99, 235, 0.65);
}

.btn-modern-buy .btn-arrow {
    transition: transform 0.25s ease;
}

.btn-modern-buy:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-modern-disabled {
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: not-allowed;
}

/* ==========================================================================
   8. ZONE 3: REORGANIZED BOTTOM GRID (.dash-bottom-grid)
   Left: System Notice & Service Guarantees | Right: Live Recent Orders Feed
   ========================================================================== */
.dash-bottom-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 20px;
    margin-top: 12px;
}

@media (max-width: 991px) {
    .dash-bottom-grid {
        grid-template-columns: 1fr;
    }
}

.dash-info-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.dip-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-card-subtle);
    display: flex;
    align-items: center;
    gap: 12px;
}

.dip-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.12);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.dip-icon.dip-icon-emerald {
    background: rgba(16, 185, 129, 0.14);
    color: #10b981;
}

.dip-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-main) !important;
    margin: 0;
}

.dip-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.dip-body {
    padding: 18px 20px;
    flex: 1;
}

.dip-notice-content {
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    margin-bottom: 14px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-secondary);
}

.dip-guarantees {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dip-g-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 11px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
}

.dip-g-item i {
    font-size: 16px;
    margin-top: 2px;
}

.dip-g-item strong {
    display: block;
    font-size: 13px;
    color: var(--text-main);
    margin-bottom: 1px;
}

.dip-g-item span {
    font-size: 12px;
    color: var(--text-muted);
}

.recent-orders-feed {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rof-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 10px 12px;
    border-radius: 11px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    transition: border-color 0.18s ease;
}

.rof-item:hover {
    border-color: var(--primary);
}

.rof-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    margin-top: 6px;
    flex-shrink: 0;
}

.rof-info {
    flex: 1;
    min-width: 0;
}

.rof-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.45;
}

.rof-qty {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 6px;
    background: rgba(37, 99, 235, 0.12);
    color: var(--primary);
    font-weight: 800;
    font-size: 12px;
}

.rof-time {
    display: inline-block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 3px;
}

/* ==========================================================================
   9. COMPACT TABLE VIEW (.modern-table-card) & SUBPAGE TABLES
   ========================================================================== */
.modern-table-card,
.element-box,
.element-box-tp {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg) !important;
    padding: 20px !important;
    box-shadow: var(--shadow-sm) !important;
}

.mpt-product-cell {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.mpt-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 8px;
    margin-top: 2px;
}

.mpt-title {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 5px;
}

.mpt-sub-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
}

.mpt-feat-item {
    font-size: 12px;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.mpt-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
}

.badge-sold {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 99px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
}

.table.table-padded {
    border-collapse: separate !important;
    border-spacing: 0 6px !important;
}

.table thead th {
    background: var(--bg-card-subtle) !important;
    color: var(--text-muted) !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border: none !important;
    padding: 12px 14px !important;
}

.table tbody tr {
    background: var(--bg-card) !important;
    transition: all 0.2s ease !important;
}

.table tbody tr:hover {
    background: var(--bg-card-subtle) !important;
}

.table tbody td {
    vertical-align: middle !important;
    border-top: 1px solid var(--border-color) !important;
    border-bottom: 1px solid var(--border-color) !important;
    color: var(--text-main) !important;
    padding: 13px 14px !important;
}

.element-header {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: var(--text-main) !important;
    border-bottom: none !important;
    margin-bottom: 14px !important;
}

/* ==========================================================================
   10. 2026 MODERN CHECKOUT & SYSTEM MODALS (.modern-modal)
   ========================================================================== */
.modal-backdrop.show {
    opacity: 0.65 !important;
    backdrop-filter: blur(6px) !important;
}

.modern-modal {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 22px !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35) !important;
    overflow: hidden !important;
}

.modern-modal-header {
    padding: 20px 24px !important;
    border-bottom: 1px solid var(--border-color) !important;
    background: var(--bg-card-subtle) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.mmh-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mmh-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.mmh-title h5 {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--text-main) !important;
    margin: 0;
}

.mmh-title small {
    font-size: 12px;
    color: var(--text-muted);
}

.modern-modal-body {
    padding: 22px 24px !important;
}

.checkout-desc-box {
    margin-bottom: 18px;
}

.cdb-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.checkout-desc-textarea {
    background: var(--bg-card-subtle) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    color: var(--text-secondary) !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    min-height: 95px !important;
    resize: none !important;
}

.checkout-qty-section {
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 18px;
}

.cqs-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
}

.cqs-stock strong {
    color: #10b981;
}

.cqs-stepper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.qty-step-btn {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-main);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.qty-step-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cqs-stepper input {
    flex: 1;
    height: 42px;
    text-align: center;
    font-size: 17px !important;
    font-weight: 800 !important;
    border-radius: 11px !important;
    border: 1px solid var(--border-color) !important;
    background: var(--bg-card) !important;
    color: var(--text-main) !important;
    font-family: 'JetBrains Mono', monospace;
}

.cqs-quick-pills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.qty-quick-pill {
    padding: 5px 8px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
}

.qty-quick-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.checkout-receipt-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(124, 58, 237, 0.06));
    border: 1px solid rgba(37, 99, 235, 0.22);
    border-radius: 14px;
    padding: 14px 18px;
}

.crc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    padding: 4px 0;
    color: var(--text-secondary);
}

.crc-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

.crc-total {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-main);
}

.crc-total strong {
    font-size: 21px;
    color: #e11d48;
    font-family: 'JetBrains Mono', monospace;
}

.modern-modal-footer {
    padding: 16px 24px !important;
    border-top: 1px solid var(--border-color) !important;
    background: var(--bg-card-subtle) !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 10px !important;
}

.btn-modal-cancel {
    padding: 10px 18px;
    border-radius: 11px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
}

.btn-modal-submit {
    padding: 10px 22px;
    border-radius: 11px;
    border: none;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.45);
    transition: all 0.2s ease;
}

.btn-modal-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px -4px rgba(37, 99, 235, 0.65);
}

/* Deposit Methods Grid inside Modal */
.deposit-methods-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.deposit-method-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background: var(--bg-card-subtle);
    text-decoration: none !important;
    transition: all 0.2s var(--ease-spring);
}

.deposit-method-card:hover {
    transform: translateX(4px);
    border-color: var(--primary);
    background: var(--bg-card);
}

.dmc-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.bg-emerald-soft { background: rgba(16, 185, 129, 0.14); color: #10b981; }
.bg-indigo-soft { background: rgba(79, 70, 229, 0.14); color: #4f46e5; }
.bg-rose-soft { background: rgba(244, 63, 94, 0.14); color: #f43f5e; }
.bg-amber-soft { background: rgba(245, 158, 11, 0.14); color: #f59e0b; }

.dmc-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dmc-info strong {
    font-size: 14px;
    color: var(--text-main);
}

.dmc-info span {
    font-size: 12px;
    color: var(--text-muted);
}

.dmc-arrow {
    color: var(--text-muted);
}

/* ==========================================================================
   11. 2026 AUTH PAGES (Login.php, Register.php, ForgotPassword.php)
   ========================================================================== */
body.modern-auth-page {
    min-height: 100vh !important;
    background: #090d16 !important;
    color: #f8fafc !important;
    position: relative;
    overflow-x: hidden;
    padding: 0 !important;
}

.auth-ambient-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.22), transparent 40%),
        radial-gradient(circle at 85% 25%, rgba(124, 58, 237, 0.2), transparent 42%),
        radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.14), transparent 45%);
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
}

.orb-1 { width: 420px; height: 420px; background: #2563eb; top: -120px; left: -100px; }
.orb-2 { width: 380px; height: 380px; background: #7c3aed; top: 10%; right: -120px; }
.orb-3 { width: 320px; height: 320px; background: #10b981; bottom: -100px; left: 35%; }

.modern-auth-container {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 44px 24px 64px;
}

.auth-single-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-split-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 56px;
}

@media (max-width: 991px) {
    .auth-split-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.auth-showcase-panel {
    padding-right: 12px;
}

.asp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #93c5fd;
    margin-bottom: 16px;
}

.asp-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff !important;
    margin: 0 0 14px;
    letter-spacing: -0.025em;
}

.asp-desc {
    font-size: 15px;
    line-height: 1.65;
    color: #94a3b8;
    margin-bottom: 24px;
}

.asp-plan-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.asp-plan-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.apb-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.apb-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.apb-text strong {
    font-size: 14.5px;
    color: #f8fafc;
}

.apb-text span {
    font-size: 12.5px;
    color: #94a3b8;
}

.apb-tag {
    font-size: 10.5px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 99px;
    background: #f59e0b;
    color: #0f172a;
}

.apb-tag-indigo {
    background: #38bdf8;
}

.asp-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.auth-box-w.modern-auth-card {
    max-width: 460px !important;
    width: 100% !important;
    margin: 0 auto !important;
    background: rgba(17, 24, 39, 0.88) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 24px !important;
    padding: 32px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5) !important;
}

.mac-header {
    text-align: center;
    margin-bottom: 24px;
}

.mac-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff !important;
    text-decoration: none !important;
    margin-bottom: 14px;
}

.modern-auth-card .auth-header {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    padding: 0 !important;
    margin: 0 0 6px !important;
    border: none !important;
}

.modern-auth-card .auth-header:after {
    display: none !important;
}

.mac-subtitle {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

.modern-auth-card form {
    padding: 0 !important;
}

.modern-input-group {
    margin-bottom: 18px !important;
}

.modern-input-group label {
    font-size: 12.5px;
    font-weight: 700;
    color: #cbd5e1 !important;
    margin-bottom: 7px;
}

.forgot-link {
    font-size: 12px;
    font-weight: 600;
    color: #60a5fa !important;
    text-decoration: none !important;
}

.input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-prefix-icon {
    position: absolute;
    left: 14px;
    color: #64748b;
    font-size: 14px;
    pointer-events: none;
}

.modern-auth-card .form-control {
    height: 46px !important;
    padding: 0 42px 0 40px !important;
    border-radius: 12px !important;
    background: rgba(15, 23, 42, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

.modern-auth-card .form-control:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22) !important;
}

.pwd-toggle-btn {
    position: absolute;
    right: 12px;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    font-size: 14px;
}

.mac-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 6px !important;
}

.btn-auth-primary {
    width: 100%;
    height: 46px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 10px 24px -4px rgba(37, 99, 235, 0.5);
    transition: all 0.25s var(--ease-spring);
}

.btn-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -4px rgba(37, 99, 235, 0.7);
}

.btn-auth-secondary {
    width: 100%;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0 !important;
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.btn-auth-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
}

/* ==========================================================================
   12. MODERN BANK CARDS, ORDER BADGES & TOASTS
   ========================================================================== */
.modern-bank-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s var(--ease-spring);
}

.modern-bank-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.mbc-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card-subtle);
}

.mbc-logo {
    height: 44px;
    object-fit: contain;
}

.mbc-body {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mbc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-color);
}

.mbc-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

.mbc-val-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mbc-stk {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
}

.mbc-memo {
    font-size: 15px;
    font-weight: 800;
    color: #e11d48;
    font-family: 'JetBrains Mono', monospace;
    background: rgba(244, 63, 94, 0.1);
    padding: 4px 10px;
    border-radius: 8px;
}

.btn-copy-chip {
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-card-subtle);
    color: var(--text-secondary);
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-copy-primary {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.mbc-note {
    font-size: 12.5px;
    color: var(--text-secondary);
    background: var(--bg-card-subtle);
    padding: 10px 14px;
    border-radius: 10px;
}

.order-code-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    padding: 4px 9px;
    border-radius: 8px;
}

.order-action-btns {
    display: inline-flex;
    gap: 6px;
}

.ui-toast-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    background: #0f172a;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(16, 185, 129, 0.45);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.28s var(--ease-spring);
    pointer-events: none;
}

.ui-toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.ui-toast-notification i {
    color: #10b981;
    font-size: 16px;
}

.twofa-page { max-width: 1060px; margin: 12px auto 40px; }
.twofa-intro { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.twofa-icon { display: grid; place-items: center; flex: 0 0 64px; width: 64px; height: 64px; border-radius: 18px; background: #2563eb; color: #fff; font-size: 26px; }
.twofa-eyebrow { color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.twofa-intro h1 { margin: 5px 0; color: var(--text-main); font-size: clamp(24px, 4vw, 32px); font-weight: 800; }
.twofa-intro p, .twofa-card > p { margin: 0; color: var(--text-secondary); }
.twofa-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; }
.twofa-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); color: var(--text-main); }
.twofa-card h2 { margin: 0 0 10px; font-size: 19px; font-weight: 800; color: var(--text-main); }
.twofa-card form { margin-top: 26px; }
.twofa-card label { display: block; font-weight: 700; margin-bottom: 9px; }
.twofa-input-wrap { position: relative; }
.twofa-input-wrap > i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-muted); z-index: 1; }
.twofa-input-wrap input.form-control { height: 50px; padding-left: 43px; background: var(--bg-card-subtle); border: 1px solid var(--border-strong); border-radius: 10px; color: var(--text-main); }
.twofa-input-wrap input:focus-visible, .twofa-submit:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.twofa-submit { width: 100%; margin-top: 18px; padding: 13px 18px; border: 0; border-radius: 10px; background: #2563eb; color: #fff; font-weight: 700; cursor: pointer; }
.twofa-submit:hover { background: #1d4ed8; }
.twofa-submit:disabled { opacity: .65; cursor: wait; }
.twofa-result:not(:empty) { margin-top: 20px; }
.twofa-result .alert { margin-bottom: 0; overflow-wrap: anywhere; }
.twofa-help ol { padding-left: 21px; margin: 18px 0 24px; color: var(--text-secondary); line-height: 1.75; }
.twofa-help li + li { margin-top: 8px; }
.twofa-security { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--border-color); border-radius: 12px; background: var(--bg-card-subtle); }
.twofa-security > i { margin-top: 3px; color: var(--primary); }
.twofa-security p { margin: 5px 0 0; color: var(--text-secondary); line-height: 1.6; font-size: 13px; }
@media (max-width: 767px) { .twofa-grid { grid-template-columns: 1fr; } .twofa-card { padding: 20px; } .twofa-intro { align-items: flex-start; } .twofa-icon { flex-basis: 50px; width: 50px; height: 50px; border-radius: 14px; font-size: 21px; } }
