/* ==========================================================================
   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: relative !important;
    align-self: stretch !important;
    min-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;
}

.asb-sticky-rail {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.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;
}

.asb-logo-link.has-site-logo {
    flex: 1 1 auto;
    display: block !important;
    line-height: 0;
}

.asb-logo-img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 1;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 6px 16px rgba(2, 6, 23, 0.45);
}

.asb-logo-svg {
    width: 100%;
    max-width: 224px;
    height: auto;
    display: block;
}

.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;
        height: 100dvh !important;
        min-height: 100dvh !important;
        transform: translateX(-105%);
        transition: transform 0.28s var(--ease-spring);
    }
    .asb-sticky-rail {
        position: static;
        height: 100%;
    }
    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 76px 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);
}

.topbar-search-clear {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 0;
    background: var(--border-color);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.topbar-search-clear:hover {
    background: var(--primary);
    color: #fff;
}

.topbar-search-clear[hidden] {
    display: none !important;
}

.search-kbd {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    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;
    pointer-events: none;
}

.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; } }

/* Product list: large square artwork alongside product details. */
.product-plans-grid, .product-plans-grid.grid-featured-2col { grid-template-columns: 1fr; }
.product-plan-card { display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: 24px; padding: 24px; align-content: start; }
.product-plan-card.plan-card-popular, .product-plan-card.plan-card-6m { border: 1px solid var(--border-color); }
.product-plan-card .plan-ribbon { grid-column: 1 / -1; margin: -24px -24px 22px; }
.product-plan-card .ppc-header { display: contents; }
.product-plan-card .ppc-product-banner { grid-column: 1; grid-row: 2 / span 3; width: 200px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: var(--bg-card-subtle); }
.product-plan-card:not(:has(.plan-ribbon)) .ppc-product-banner { grid-row: 1 / span 3; }
.product-plan-card .ppc-header-content, .product-plan-card .ppc-body, .product-plan-card .ppc-footer { grid-column: 2; padding: 0; min-width: 0; }
.product-plan-card .ppc-header-content { margin-bottom: 14px; }
.product-plan-card .ppc-cat-icon { display: none; }
.product-plan-card .ppc-cat-label { color: var(--primary); }
.product-plan-card .ppc-title { font-size: 20px; }
.product-plan-card .ppc-body { display: block; }
.product-plan-card .ppc-features-heading { margin-bottom: 9px; }
.product-plan-card .ppc-footer { background: transparent; border: 0; margin-top: 16px; }
.product-plan-card .btn-modern-buy, .product-plan-card .btn-modern-disabled { width: auto; max-width: 100%; }
@media (max-width: 600px) {
    .product-plan-card { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 16px; }
    .product-plan-card .plan-ribbon { margin: -16px -16px 2px; }
    .product-plan-card .ppc-product-banner { width: 110px; }
    .product-plan-card .ppc-header-content { margin-bottom: 0; }
    .product-plan-card .ppc-body, .product-plan-card .ppc-footer { grid-column: 1 / -1; }
    .product-plan-card .ppc-title { font-size: 17px; }
    .product-plan-card .ppc-top-row { margin-bottom: 8px; }
    .product-plan-card .ppc-price-bar { padding: 8px; }
    .product-plan-card .ppc-price-main { flex-wrap: wrap; }
    .product-plan-card .ppc-price-val { font-size: 18px; }
}
@media (max-width: 360px) { .product-plan-card { grid-template-columns: 85px minmax(0, 1fr); } .product-plan-card .ppc-product-banner { width: 85px; } }

/* ================================================================
   DASHBOARD V2 (.dash-v2): CALM, STRUCTURED LIGHT/DARK SAAS UI
   ================================================================ */
.dash-v2 {
    --hsvg-card-bg: #ffffff;
    --hsvg-card-border: rgba(15, 23, 42, 0.11);
    --hsvg-inner-bg: rgba(255, 255, 255, 0.88);
    --hsvg-chip-bg: rgba(16, 185, 129, 0.12);
    --hsvg-orbit-stroke: rgba(37, 99, 235, 0.22);
    --hsvg-grid-stroke: rgba(100, 116, 139, 0.18);
}

:is(html[data-ui-theme="dark"], html.dark-theme, body.dark-theme) .dash-v2 {
    --hsvg-card-bg: #131d31;
    --hsvg-card-border: rgba(148, 163, 184, 0.22);
    --hsvg-inner-bg: rgba(15, 23, 42, 0.85);
    --hsvg-chip-bg: rgba(16, 185, 129, 0.16);
    --hsvg-orbit-stroke: rgba(96, 165, 250, 0.24);
    --hsvg-grid-stroke: rgba(148, 163, 184, 0.16);
}

.dash-v2 .content-box {
    padding-top: 20px;
    padding-bottom: 72px;
}

/* Zone 1: Streamlined Overview (Hero + 2D SVG + Wallet / Guest Card) */
.dash-v2 .dash-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(290px, 0.92fr);
    gap: 16px;
    margin-bottom: 22px;
    align-items: stretch;
}

.dash-v2 .dash-hero-compact {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px 24px;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-xs);
    overflow: hidden;
}

:is(html[data-ui-theme="dark"], html.dark-theme, body.dark-theme) .dash-v2 .dash-hero-compact {
    background: linear-gradient(145deg, rgba(23, 33, 51, 0.96), rgba(15, 23, 42, 0.98));
    box-shadow: 0 12px 28px -18px rgba(0, 0, 0, 0.55);
}

.dash-v2 .dhc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(185px, 240px);
    gap: 16px;
    align-items: center;
}

.dash-v2 .dhc-content {
    position: relative;
    z-index: 1;
}

.dash-v2 .dhc-svg-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 250px;
    justify-self: end;
    pointer-events: none;
}

.dash-v2 .dash-hero-svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

.dash-v2 .hero-2026-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.16);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.35px;
    margin-bottom: 10px;
}

.dash-v2 .dhc-title {
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -0.02em;
    color: var(--text-main) !important;
    margin: 0 0 8px;
}

.dash-v2 .text-gradient-google {
    background: linear-gradient(120deg, #2563eb 0%, #4f46e5 55%, #0284c7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

:is(html[data-ui-theme="dark"], html.dark-theme, body.dark-theme) .dash-v2 .text-gradient-google {
    background: linear-gradient(120deg, #60a5fa 0%, #a78bfa 60%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dash-v2 .dhc-desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0 0 18px;
}

.dash-v2 .dhc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dash-v2 .dhc-actions a,
.dash-v2 .dhc-actions button {
    height: 38px;
    padding: 0 15px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.dash-v2 .btn-hero-primary {
    background: #2563eb;
    color: #fff !important;
    border: 1px solid transparent;
}

.dash-v2 .btn-hero-primary:hover {
    background: #1d4ed8;
    color: #fff !important;
    transform: translateY(-1px);
}

.dash-v2 .btn-hero-secondary {
    background: var(--bg-card-subtle);
    color: var(--text-main) !important;
    border: 1px solid var(--border-color);
}

.dash-v2 .btn-hero-secondary:hover {
    color: var(--primary) !important;
    border-color: var(--primary);
}

.dash-v2 .btn-hero-ghost {
    background: transparent;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-color);
}

.dash-v2 .btn-hero-ghost:hover {
    color: var(--text-main) !important;
    background: var(--bg-card-subtle);
    border-color: var(--border-strong);
}

/* Right card: Wallet + Guest Welcome */
.dash-v2 .dash-wallet-overview {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    box-shadow: var(--shadow-xs);
}

.dash-v2 .dash-wallet-overview.guest-welcome {
    text-align: left;
    align-items: stretch;
}

.dash-v2 .guest-welcome .gw-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-v2 .guest-welcome .gw-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 11px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.dash-v2 .guest-welcome .gw-eyebrow {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
}

.dash-v2 .guest-welcome h2 {
    margin: 2px 0 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
}

.dash-v2 .guest-welcome p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.dash-v2 .guest-welcome .gw-actions {
    display: flex;
    gap: 8px;
}

.dash-v2 .guest-welcome .btn-auth-primary {
    flex: 1.2;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: none;
}

.dash-v2 .guest-welcome .btn-guest-secondary {
    flex: 1;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.dash-v2 .guest-welcome .btn-guest-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Zone 2: Clean Flat Toolbar + Flat Category Section Divider */
.dash-v2 .catalog-toolbar {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin-bottom: 16px;
    gap: 10px;
}

.dash-v2 .cat-pill {
    padding: 7px 13px;
    border-radius: 9px;
    font-size: 12.5px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.dash-v2 .cat-pill.active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
    box-shadow: none;
}

.dash-v2 .catalog-view-Controls {
    background: var(--bg-card);
}

.dash-v2 .view-mode-btn.active {
    background: var(--bg-card-subtle);
}

.dash-v2 .category-section {
    margin-bottom: 24px;
}

.dash-v2 .category-section-header,
.dash-v2 .category-section-header.cat-header-featured {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    padding: 0 0 12px;
    margin-bottom: 16px;
    box-shadow: none;
}

.dash-v2 .csh-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    padding: 5px;
}

.dash-v2 .csh-title {
    font-size: 15.5px;
}

.dash-v2 .csh-sub {
    font-size: 12.5px;
}

.dash-v2 .csh-count {
    background: var(--bg-card);
    padding: 4px 10px;
    font-size: 11.5px;
}

/* Search Status & Empty State */
.dash-v2 .catalog-search-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    margin-bottom: 16px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--text-main);
    font-size: 13px;
}

.dash-v2 .catalog-search-status[hidden],
.dash-v2 .catalog-empty-state[hidden] {
    display: none !important;
}

.dash-v2 .css-reset-btn {
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-main);
    border-radius: 8px;
    padding: 5px 11px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    flex-shrink: 0;
}

.dash-v2 .css-reset-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.dash-v2 .catalog-empty-state {
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: 16px;
    padding: 36px 20px;
    text-align: center;
    margin-bottom: 24px;
}

.dash-v2 .catalog-empty-state .ces-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 14px;
    background: var(--bg-card-subtle);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.dash-v2 .catalog-empty-state h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 6px;
}

.dash-v2 .catalog-empty-state p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0 0 16px;
}

.dash-v2 .ces-reset-btn {
    padding: 9px 18px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
}

/* Aligned 3-col -> 2-col -> 1-col Clean SaaS Product Cards */
.dash-v2 .product-plans-grid,
.dash-v2 .product-plans-grid.grid-featured-2col {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.dash-v2 .product-plan-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    padding: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dash-v2 .product-plan-card:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.42);
    box-shadow: 0 12px 24px -16px rgba(15, 23, 42, 0.2);
}

.dash-v2 .product-plan-card.plan-card-popular {
    border-top: 3px solid #2563eb;
}

.dash-v2 .product-plan-card.plan-card-6m {
    border-top: 3px solid #6366f1;
}

.dash-v2 .product-plan-card .ppc-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
}

.dash-v2 .ppc-top-media {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-v2 .ppc-svg-badge {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dash-v2 .ppc-tier-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.dash-v2 .ppc-svg-badge.is-pixel,
.dash-v2 .mpt-svg-thumb.is-pixel,
.dash-v2 .ppc-svg-badge.is-pro,
.dash-v2 .mpt-svg-thumb.is-pro {
    color: #2563eb;
}

.dash-v2 .ppc-svg-badge.is-student,
.dash-v2 .mpt-svg-thumb.is-student {
    color: #4f46e5;
}

.dash-v2 .ppc-svg-badge.is-gmail,
.dash-v2 .mpt-svg-thumb.is-gmail {
    color: #059669;
}

.dash-v2 .ppc-svg-badge.is-upgrade-pixel {
    color: #0284c7;
}

.dash-v2 .ppc-svg-badge.is-upgrade-sheerid {
    color: #7c3aed;
}

:is(html[data-ui-theme="dark"], html.dark-theme, body.dark-theme) .dash-v2 .ppc-svg-badge.is-pixel,
:is(html[data-ui-theme="dark"], html.dark-theme, body.dark-theme) .dash-v2 .mpt-svg-thumb.is-pixel,
:is(html[data-ui-theme="dark"], html.dark-theme, body.dark-theme) .dash-v2 .ppc-svg-badge.is-pro,
:is(html[data-ui-theme="dark"], html.dark-theme, body.dark-theme) .dash-v2 .mpt-svg-thumb.is-pro {
    color: #60a5fa;
}

:is(html[data-ui-theme="dark"], html.dark-theme, body.dark-theme) .dash-v2 .ppc-svg-badge.is-student,
:is(html[data-ui-theme="dark"], html.dark-theme, body.dark-theme) .dash-v2 .mpt-svg-thumb.is-student {
    color: #a5b4fc;
}

:is(html[data-ui-theme="dark"], html.dark-theme, body.dark-theme) .dash-v2 .ppc-svg-badge.is-gmail,
:is(html[data-ui-theme="dark"], html.dark-theme, body.dark-theme) .dash-v2 .mpt-svg-thumb.is-gmail {
    color: #34d399;
}

:is(html[data-ui-theme="dark"], html.dark-theme, body.dark-theme) .dash-v2 .ppc-svg-badge.is-upgrade-pixel {
    color: #38bdf8;
}

:is(html[data-ui-theme="dark"], html.dark-theme, body.dark-theme) .dash-v2 .ppc-svg-badge.is-upgrade-sheerid {
    color: #c4b5fd;
}

.dash-v2 .ppc-thumb-wrap {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 11px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-card-subtle);
}

.dash-v2 .product-plan-card .ppc-product-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
    margin: 0;
    grid-column: auto;
    grid-row: auto;
}

.dash-v2 .ppc-meta-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dash-v2 .ppc-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.dash-v2 .ppc-stock-pill {
    padding: 2px 8px;
    font-size: 11px;
}

.dash-v2 .ppc-flag-pill {
    padding: 2px 7px;
    font-size: 10.5px;
}

.dash-v2 .ppc-tier-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
}

.dash-v2 .ppc-tier-tag.is-pixel,
.dash-v2 .ppc-tier-tag.is-pro,
.dash-v2 .ppc-tier-tag.tier-18m {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

.dash-v2 .ppc-tier-tag.is-student,
.dash-v2 .ppc-tier-tag.tier-6m {
    background: rgba(99, 102, 241, 0.12);
    color: #4f46e5;
}

.dash-v2 .ppc-tier-tag.is-gmail {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

:is(html[data-ui-theme="dark"], html.dark-theme, body.dark-theme) .dash-v2 .ppc-tier-tag.is-pixel,
:is(html[data-ui-theme="dark"], html.dark-theme, body.dark-theme) .dash-v2 .ppc-tier-tag.is-pro,
:is(html[data-ui-theme="dark"], html.dark-theme, body.dark-theme) .dash-v2 .ppc-tier-tag.tier-18m {
    background: rgba(59, 130, 246, 0.18);
    color: #93c5fd;
}

:is(html[data-ui-theme="dark"], html.dark-theme, body.dark-theme) .dash-v2 .ppc-tier-tag.is-student,
:is(html[data-ui-theme="dark"], html.dark-theme, body.dark-theme) .dash-v2 .ppc-tier-tag.tier-6m {
    background: rgba(99, 102, 241, 0.22);
    color: #c7d2fe;
}

:is(html[data-ui-theme="dark"], html.dark-theme, body.dark-theme) .dash-v2 .ppc-tier-tag.is-gmail {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

.dash-v2 .ppc-sold-inline {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 500;
}

.dash-v2 .product-plan-card .ppc-title {
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.38;
    color: var(--text-main);
    margin: 0;
    word-break: break-word;
}

.dash-v2 .ppc-subtitle {
    font-size: 12.2px;
    line-height: 1.45;
    color: var(--text-muted);
    margin: -6px 0 0;
    font-weight: 500;
}

.dash-v2 .product-plan-card .ppc-price-bar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 0;
}

.dash-v2 .product-plan-card .ppc-price-main {
    display: flex;
    align-items: baseline;
    gap: 5px;
    flex-wrap: wrap;
}

.dash-v2 .product-plan-card .ppc-price-val {
    font-size: 21px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

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

.dash-v2 .product-plan-card .ppc-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
    flex: 1;
}

.dash-v2 .ppc-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.dash-v2 .ppc-spec-cell {
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    border-radius: 9px;
    padding: 7px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dash-v2 .ppc-spec-cell:last-child {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.dash-v2 .psc-label {
    font-size: 9.8px;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    color: var(--text-muted);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-v2 .psc-val {
    font-size: 11.8px;
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.3;
    word-break: break-word;
}

.dash-v2 .ppc-spec-cell:last-child .psc-val {
    text-align: right;
    color: var(--primary);
    font-size: 12px;
}

.dash-v2 .product-plan-card .ppc-features-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dash-v2 .product-plan-card .ppc-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 12.6px;
    line-height: 1.46;
    color: var(--text-secondary);
    padding: 0;
}

.dash-v2 .product-plan-card .feat-check {
    color: #10b981;
    font-size: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.dash-v2 .ppc-notice-warn {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    padding: 8px 10px;
    border-radius: 9px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.28);
    color: #b45309;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.42;
}

.dash-v2 .ppc-notice-warn i {
    margin-top: 2px;
    flex-shrink: 0;
}

:is(html[data-ui-theme="dark"], html.dark-theme, body.dark-theme) .dash-v2 .ppc-notice-warn {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(251, 191, 36, 0.3);
    color: #fcd34d;
}

.dash-v2 .product-plan-card .ppc-note-box {
    margin: 0;
    padding: 8px 10px;
    border-radius: 9px;
    font-size: 12px;
}

.dash-v2 .product-plan-card .ppc-footer {
    display: block;
    padding: 0;
    margin-top: auto;
    background: transparent;
    border: 0;
}

.dash-v2 .product-plan-card .btn-modern-buy,
.dash-v2 .product-plan-card .btn-modern-disabled {
    width: 100%;
    height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    justify-content: center;
    box-shadow: none;
}

.dash-v2 .product-plan-card .btn-modern-buy:hover {
    box-shadow: 0 8px 18px -6px rgba(37, 99, 235, 0.45);
}

/* Table view crisp SVG thumb & spec chips */
.dash-v2 .mpt-svg-thumb {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dash-v2 .mpt-sub-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

.dash-v2 .mpt-spec-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 6px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    font-size: 11px;
    color: var(--text-secondary);
}

/* Direct Upgrade Services Strip */
.dash-v2 .dash-upgrade-services {
    margin: 6px 0 22px;
}

.dash-v2 .dus-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.dash-v2 .dus-heading {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.dash-v2 .dus-subheading {
    margin: 2px 0 0;
    font-size: 12.2px;
    color: var(--text-muted);
}

.dash-v2 .dus-head-count {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

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

.dash-v2 .dus-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    text-decoration: none !important;
    color: var(--text-main);
    box-shadow: var(--shadow-xs);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.dash-v2 .dus-card:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.36);
    box-shadow: 0 10px 22px -14px rgba(15, 23, 42, 0.18);
}

.dash-v2 .dus-card-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.dash-v2 .dus-card-body {
    min-width: 0;
}

.dash-v2 .dus-badge-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}

.dash-v2 .dus-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
}

.dash-v2 .dus-status-pill.is-open {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.dash-v2 .dus-status-pill.is-open .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}

.dash-v2 .dus-status-pill.is-contact {
    background: rgba(124, 58, 237, 0.12);
    color: #6d28d9;
}

:is(html[data-ui-theme="dark"], html.dark-theme, body.dark-theme) .dash-v2 .dus-status-pill.is-open {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

:is(html[data-ui-theme="dark"], html.dark-theme, body.dark-theme) .dash-v2 .dus-status-pill.is-contact {
    background: rgba(139, 92, 246, 0.22);
    color: #ddd6fe;
}

.dash-v2 .dus-mode-tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
}

.dash-v2 .dus-title {
    margin: 0 0 2px;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.35;
}

.dash-v2 .dus-desc {
    margin: 0;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.dash-v2 .dus-card-right {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    text-align: right;
}

.dash-v2 .dus-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.dash-v2 .dus-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 8px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    font-size: 11.8px;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.dash-v2 .dus-card:hover .dus-cta {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

/* Zone 2.5: Quiet Compact Support Bar (avoid shouting over Buy CTAs) */
.dash-v2 .community-grid-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.dash-v2 .community-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: none;
    text-decoration: none !important;
    transition: transform 0.16s ease, border-color 0.16s ease;
}

.dash-v2 .community-card:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-xs);
}

.dash-v2 .cc-compact-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.dash-v2 .community-card .cc-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 15px;
}

.dash-v2 .community-card .cc-title-wrap {
    min-width: 0;
}

.dash-v2 .community-card .cc-title-wrap h3 {
    font-size: 13.5px;
    font-weight: 700;
    margin: 0 0 1px;
    color: var(--text-main);
}

.dash-v2 .community-card .cc-desc {
    font-size: 12px;
    line-height: 1.35;
    margin: 0;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-v2 .community-card .cc-action-btn {
    width: auto;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    background: var(--bg-card-subtle) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
    white-space: nowrap;
    gap: 5px;
}

.dash-v2 .community-card:hover .cc-action-btn {
    border-color: var(--border-strong);
    color: var(--text-main) !important;
}

/* Zone 3: Calm Bottom Info & Hairline Recent Orders */
.dash-v2 .dash-info-panel {
    border-radius: 16px;
    box-shadow: var(--shadow-xs);
}

.dash-v2 .dip-header {
    padding: 14px 18px;
    background: transparent;
}

.dash-v2 .dip-body {
    padding: 16px 18px;
}

.dash-v2 .dip-guarantees {
    gap: 0;
}

.dash-v2 .dip-g-item {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    padding: 11px 0;
}

.dash-v2 .dip-g-item:first-child {
    padding-top: 2px;
}

.dash-v2 .dip-g-item:last-child {
    border-bottom: 0;
    padding-bottom: 2px;
}

.dash-v2 .dash-bottom-grid.is-single {
    grid-template-columns: 1fr;
}

.dash-v2 .dash-bottom-grid.is-single .dip-guarantees {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.dash-v2 .dash-bottom-grid.is-single .dip-g-item {
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    border-radius: 11px;
    padding: 12px 14px;
}

.dash-v2 .recent-orders-feed {
    gap: 0;
}

.dash-v2 .rof-item {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    padding: 9px 2px;
}

.dash-v2 .rof-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

/* Modals: Light + Dark Mode Clean Tokens */
.deposit-terms-alert {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    color: #92400e;
    font-size: 12.5px;
    padding: 10px 14px;
    border-radius: 10px;
}

:is(html[data-ui-theme="dark"], html.dark-theme, body.dark-theme) .deposit-terms-alert {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.35);
    color: #fde68a;
}

.checkout-promo-box {
    margin-top: 14px;
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 14px;
}

.checkout-promo-box .cpb-label {
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    color: var(--text-main);
}

.checkout-promo-box .cpb-input {
    text-transform: uppercase;
    font-size: 13px;
    border-radius: 8px 0 0 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-main);
}

.checkout-promo-box .cpb-input::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

:is(html[data-ui-theme="dark"], html.dark-theme, body.dark-theme) .checkout-promo-box .cpb-input {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

:is(html[data-ui-theme="dark"], html.dark-theme, body.dark-theme) .checkout-promo-box .cpb-input::placeholder {
    color: #94a3b8 !important;
}

.checkout-promo-box .cpb-apply-btn {
    font-weight: 700;
    font-size: 12.5px;
    border-radius: 0 8px 8px 0;
    padding: 0 16px;
}

.checkout-promo-box .cpb-feedback {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
}

.qty-quick-pill.is-active {
    background: rgba(37, 99, 235, 0.12);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 700;
}

/* Responsive Breakpoints */
@media (max-width: 1199px) {
    .dash-v2 .dash-top-grid {
        grid-template-columns: minmax(0, 1.45fr) minmax(245px, 0.88fr);
        gap: 14px;
    }

    .dash-v2 .dhc-layout {
        grid-template-columns: minmax(0, 1.3fr) minmax(165px, 200px);
        gap: 12px;
    }

    .dash-v2 .dash-hero-compact,
    .dash-v2 .dash-wallet-overview {
        padding: 18px;
    }

    .dash-v2 .product-plans-grid,
    .dash-v2 .product-plans-grid.grid-featured-2col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dash-v2 .community-grid-cards {
        grid-template-columns: 1fr;
    }

    .dash-v2 .dash-bottom-grid.is-single .dip-guarantees {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .topbar-search-box input {
        padding-right: 38px;
    }

    .topbar-search-clear {
        right: 8px;
    }

    .dash-v2 .content-box {
        padding-top: 14px;
        padding-bottom: 88px;
    }

    .dash-v2 .dash-top-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 16px;
    }

    .dash-v2 .dhc-layout {
        grid-template-columns: minmax(0, 1.4fr) minmax(175px, 225px);
    }

    .dash-v2 .dash-hero-compact,
    .dash-v2 .dash-wallet-overview {
        padding: 18px;
    }

    .dash-v2 .dus-grid {
        grid-template-columns: 1fr;
    }

    /* Hide redundant guest prompt card on compact viewports since topbar already provides Login/Register */
    .dash-v2 .dash-wallet-overview.guest-welcome {
        display: none;
    }
}

@media (max-width: 679px) {
    .dash-v2 .dhc-layout {
        grid-template-columns: 1fr;
    }

    .dash-v2 .dhc-svg-stage {
        display: none;
    }

    .dash-v2 .product-plans-grid,
    .dash-v2 .product-plans-grid.grid-featured-2col {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .dash-v2 .dash-hero-compact {
        padding: 16px;
    }

    .dash-v2 .dhc-desc {
        margin-bottom: 14px;
    }

    .dash-v2 .dhc-actions {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
        gap: 8px;
    }

    .dash-v2 .dhc-actions a,
    .dash-v2 .dhc-actions button {
        width: 100%;
        height: 40px;
        min-width: 0;
        font-size: 12.5px;
        padding: 0 10px;
        white-space: nowrap;
    }

    .dash-v2 .ppc-thumb-wrap,
    .dash-v2 .ppc-svg-badge {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .dash-v2 .dus-card {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .dash-v2 .dus-card-right {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-top: 10px;
        border-top: 1px solid var(--border-color);
    }

    .dash-v2 .catalog-search-status {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 420px) {
    .dash-v2 .content-box {
        padding-left: 12px;
        padding-right: 12px;
    }

    .dash-v2 .dash-hero-compact,
    .dash-v2 .dash-wallet-overview,
    .dash-v2 .product-plan-card {
        padding: 14px;
    }

    .dash-v2 .product-plan-card {
        display: flex;
        flex-direction: column;
    }
}
