/* ==========================================================================
   ALLIN1PROSOLUTION - PREMIUM REDESIGN 2026
   ========================================================================== */

/* Google Font: Plus Jakarta Sans */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --clr-bg: #080A11;
    --clr-surface: #111422;
    --clr-surface-elevated: #191E33;
    --clr-surface-hover: #222A45;
    --clr-card: #111422;

    --clr-primary: #6366F1;
    --clr-primary-hover: #4F46E5;
    --clr-secondary: #0EA5E9;
    --clr-secondary-hover: #0284C7;
    --clr-accent: #8B5CF6;

    --clr-success: #10B981;
    --clr-warning: #F59E0B;
    --clr-danger: #EF4444;

    --clr-text: #F8FAFC;
    --clr-text-secondary: #94A3B8;
    --clr-muted: #64748B;

    --clr-border: rgba(255, 255, 255, 0.08);
    --clr-border-hover: rgba(99, 102, 241, 0.35);

    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --glass-bg: rgba(17, 20, 34, 0.85);
    --glass-border: rgba(255, 255, 255, 0.08);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.25);

    --transition-premium: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== PREMIUM HEADER ===== */
.premium-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7,5,16,0.72);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: var(--transition-premium);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 36px;
}

.header-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--clr-text);
}

.hl-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(6,182,212,0.1));
    border: 1px solid rgba(124,58,237,0.2);
    border-radius: 10px;
    transition: var(--transition-premium);
}

.header-logo-link:hover .hl-icon {
    border-color: rgba(6,182,212,0.4);
    box-shadow: 0 0 20px rgba(6,182,212,0.15);
    transform: rotate(-3deg) scale(1.05);
}

.hl-neon {
    width: 18px;
    height: 18px;
    color: var(--clr-secondary);
}

.hl-text {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hl-gradient {
    background: linear-gradient(135deg, var(--clr-secondary), var(--clr-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Premium Nav */
.premium-nav {
    display: flex;
    gap: 4px;
}

.pn-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--clr-muted);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition-premium);
    position: relative;
}

.pn-item i {
    width: 15px;
    height: 15px;
}

.pn-item:hover {
    color: var(--clr-text);
    background: rgba(255,255,255,0.04);
}

.pn-item.active {
    color: var(--clr-secondary);
    background: rgba(6,182,212,0.08);
}

/* Tools Dropdown Menu */
.pn-dropdown-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.pn-chevron {
    width: 12px !important;
    height: 12px !important;
    margin-left: 2px;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.pn-dropdown-wrapper:hover .pn-chevron {
    transform: rotate(180deg);
}

.pn-dropdown-wrapper:hover .pn-dropdown-menu,
.pn-dropdown-wrapper:focus-within .pn-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.pn-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 230px;
    background: rgba(13, 17, 27, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1100;
    pointer-events: none;
}

.pn-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--clr-muted, #94a3b8);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.pn-dropdown-item:hover {
    color: #ffffff;
    background: rgba(0, 242, 254, 0.12);
    transform: translateX(4px);
}

.pn-dropdown-item i {
    width: 16px;
    height: 16px;
    color: var(--clr-secondary, #00f2fe);
}

@media(max-width: 991px) {
    .pn-dropdown-wrapper {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .pn-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
        margin-top: 4px;
        margin-left: 12px;
        width: calc(100% - 12px);
    }
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-icon-btn {
    background: none;
    border: none;
    color: var(--clr-muted);
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-premium);
    position: relative;
}

.header-icon-btn i {
    width: 18px;
    height: 18px;
}

.header-icon-btn:hover {
    color: var(--clr-text);
    background: rgba(255,255,255,0.05);
}

.header-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--clr-primary);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-select {
    background: rgba(255,255,255,0.04);
    color: var(--clr-muted);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    height: 30px;
    font-family: var(--font-primary);
    transition: var(--transition-premium);
}

.header-select:hover,
.header-select:focus {
    border-color: rgba(6,182,212,0.3);
    color: var(--clr-text);
}

.header-cart-btn {
    position: relative;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--clr-muted);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-premium);
}

.header-cart-btn i {
    width: 18px;
    height: 18px;
}

.header-cart-btn:hover {
    border-color: rgba(6,182,212,0.3);
    color: var(--clr-secondary);
    background: rgba(6,182,212,0.05);
}

.header-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--clr-secondary);
    color: #070510;
    font-size: 10px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header Auth */
.header-auth {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ha-btn {
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-premium);
    border: none;
    font-family: var(--font-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ha-signin {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.ha-signin:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(6, 182, 212, 0.4);
    color: var(--clr-secondary);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.ha-register {
    background: linear-gradient(135deg, #7C3AED, #06B6D4);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35);
}

.ha-register:hover {
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.45);
    transform: translateY(-1px);
}

/* Notification Dropdown */
.notif-dropdown {
    position: absolute;
    top: 44px;
    right: 0;
    width: 320px;
    max-height: 360px;
    overflow-y: auto;
    background: rgba(18,9,31,0.98);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
    z-index: 1001;
}

.nd-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* ===== HERO PREMIUM ===== */
.hero-premium {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0 80px;
    overflow: hidden;
    gap: 60px;
}

.hero-bg-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    animation: blobFloat 12s infinite alternate ease-in-out;
}

.blob-1 {
    width: 500px;
    height: 500px;
    top: -20%;
    right: -10%;
    background: radial-gradient(circle, var(--clr-primary), transparent);
}

.blob-2 {
    width: 400px;
    height: 400px;
    bottom: -30%;
    left: -10%;
    background: radial-gradient(circle, var(--clr-secondary), transparent);
    animation-delay: -4s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    top: 40%;
    left: 40%;
    background: radial-gradient(circle, var(--clr-success), transparent);
    animation-delay: -8s;
    opacity: 0.12;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-premium-inner {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124,58,237,0.08);
    border: 1px solid rgba(124,58,237,0.2);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    color: var(--clr-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--clr-secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--clr-secondary);
    animation: neonPulse 1.5s infinite alternate;
}

.hero-premium-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.hero-gradient-text {
    background: linear-gradient(135deg, var(--clr-secondary), var(--clr-primary), var(--clr-warning));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
}

.hero-premium-sub {
    font-size: 16px;
    color: var(--clr-muted);
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-premium-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-premium);
    border: none;
    font-family: var(--font-primary);
    text-decoration: none;
}

.btn-premium i {
    width: 18px;
    height: 18px;
}

.btn-premium-primary {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
    color: #fff;
    box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}

.btn-premium-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(124,58,237,0.45);
}

.btn-premium-ghost {
    background: rgba(255,255,255,0.04);
    color: var(--clr-text);
    border: 1px solid rgba(255,255,255,0.08);
}

.btn-premium-ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}

.hero-illustration {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.hero-svg {
    width: 420px;
    height: 420px;
}

/* ===== LIVE STATS ===== */
.live-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 60px;
}

.stat-card-premium {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    backdrop-filter: blur(12px);
    transition: var(--transition-premium);
}

.stat-card-premium:hover {
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.scp-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.scp-icon i,
.scp-icon svg {
    width: 20px;
    height: 20px;
}

.scp-icon.purple { background: rgba(124,58,237,0.12); color: var(--clr-primary); border: 1px solid rgba(124,58,237,0.15); }
.scp-icon.cyan { background: rgba(6,182,212,0.12); color: var(--clr-secondary); border: 1px solid rgba(6,182,212,0.15); }
.scp-icon.emerald { background: rgba(16,185,129,0.12); color: var(--clr-success); border: 1px solid rgba(16,185,129,0.15); }
.scp-icon.gold { background: rgba(245,158,11,0.12); color: var(--clr-warning); border: 1px solid rgba(245,158,11,0.15); }

.scp-body {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px;
}

.scp-num {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: var(--clr-text);
    line-height: 1;
}

.scp-plus {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--clr-muted);
    margin-left: 2px;
}

.scp-label {
    width: 100%;
    font-size: 11px;
    color: var(--clr-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 2px;
}

/* ===== SEARCH PREMIUM ===== */
.search-premium {
    margin-bottom: 48px;
}

.search-bar-premium {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    background: rgba(18,9,31,0.6);
    border: 1px solid rgba(124,58,237,0.2);
    border-radius: 60px;
    display: flex;
    align-items: center;
    padding: 4px;
    transition: var(--transition-premium);
    overflow: hidden;
}

.search-bar-premium:focus-within {
    border-color: rgba(6,182,212,0.4);
    box-shadow: 0 0 30px rgba(124,58,237,0.1), inset 0 0 30px rgba(6,182,212,0.03);
}

.sbp-glow {
    position: absolute;
    inset: -2px;
    border-radius: 60px;
    background: conic-gradient(from 0deg, transparent, var(--clr-primary), transparent, var(--clr-secondary), transparent);
    opacity: 0;
    transition: var(--transition-premium);
    z-index: -1;
    animation: glowSpin 4s linear infinite;
}

.search-bar-premium:focus-within .sbp-glow {
    opacity: 0.3;
}

.sbp-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--clr-muted);
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 1;
}

.search-bar-premium:focus-within .sbp-icon {
    color: var(--clr-secondary);
}

.search-bar-premium input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    padding: 14px 16px 14px 54px;
    color: var(--clr-text);
    font-size: 15px;
    font-family: var(--font-primary);
}

.search-bar-premium input::placeholder {
    color: var(--clr-muted);
    font-weight: 500;
}

.sbp-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-right: 6px;
    z-index: 1;
}

.sbp-voice {
    background: none;
    border: none;
    color: var(--clr-muted);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-premium);
}

.sbp-voice:hover {
    background: rgba(255,255,255,0.05);
    color: var(--clr-text);
}

.sbp-voice i {
    width: 16px;
    height: 16px;
}

.sbp-ai-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(6,182,212,0.08));
    border: 1px solid rgba(124,58,237,0.15);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: var(--clr-secondary);
    white-space: nowrap;
}

.sbp-ai-badge i {
    width: 13px;
    height: 13px;
}

.premium-filters {
    justify-content: center;
    margin-top: 20px;
}

/* ===== SECTION HEADINGS ===== */
.section-heading {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    color: var(--clr-text);
    letter-spacing: -0.02em;
}

.section-heading i {
    width: 26px;
    height: 26px;
    color: var(--clr-secondary);
}

.section-heading-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.section-heading-row .section-heading {
    margin-bottom: 0;
}

.section-sub {
    font-size: 14px;
    color: var(--clr-muted);
    font-weight: 500;
}

/* ===== CATEGORIES ===== */
.categories-section {
    margin-bottom: 60px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.category-card-premium {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-premium);
    backdrop-filter: blur(12px);
}

.category-card-premium:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 16px 40px rgba(124,58,237,0.12);
}

.ccp-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

.ccp-icon-wrap i {
    width: 24px;
    height: 24px;
}

.category-card-premium h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--clr-text);
}

.category-card-premium span {
    font-size: 12px;
    color: var(--clr-muted);
    font-weight: 500;
}

/* ===== FEATURED PRODUCTS ===== */
.featured-section {
    margin-bottom: 60px;
}

/* ===== BEST SELLERS CAROUSEL ===== */
.bestsellers-section {
    margin-bottom: 60px;
}

.best-sellers-carousel {
    overflow-x: auto;
    padding-bottom: 12px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.best-sellers-carousel::-webkit-scrollbar {
    display: none;
}

.bsc-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: carouselScroll 30s linear infinite;
}

.bsc-card {
    min-width: 200px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: var(--transition-premium);
}

.bsc-card:hover {
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.bsc-icon {
    width: 32px;
    height: 32px;
    color: var(--clr-secondary);
    margin-bottom: 12px;
}

.bsc-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 8px;
}

.bsc-price {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    color: var(--clr-primary);
}

/* ===== WHY CHOOSE US ===== */
.why-choose-section {
    margin-bottom: 60px;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.why-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    backdrop-filter: blur(12px);
    transition: var(--transition-premium);
    text-align: center;
}

.why-card:hover {
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.wc-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

.wc-icon i {
    width: 22px;
    height: 22px;
}

.why-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--clr-text);
}

.why-card p {
    font-size: 13px;
    color: var(--clr-muted);
    line-height: 1.6;
}

/* ===== CUSTOMER REVIEWS ===== */
.reviews-section {
    margin-bottom: 60px;
}

.reviews-carousel {
    overflow: hidden;
    position: relative;
}

.rc-track {
    display: flex;
    gap: 20px;
    animation: carouselScrollRev 40s linear infinite;
    width: max-content;
}

.review-card {
    min-width: 280px;
    max-width: 320px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    backdrop-filter: blur(12px);
    transition: var(--transition-premium);
}

.review-card:hover {
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.rc-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    margin-bottom: 12px;
}

.rc-stars {
    color: var(--clr-warning);
    font-size: 14px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.rc-text {
    font-size: 13px;
    color: var(--clr-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.rc-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--clr-text);
}

.rc-role {
    font-size: 11px;
    color: var(--clr-muted);
}

/* ===== TRUSTED BY ===== */
.trusted-by {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.tb-label {
    font-size: 13px;
    color: var(--clr-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 28px;
}

.tb-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.tb-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.2);
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-display);
    transition: var(--transition-premium);
    animation: fadeInUp 0.6s ease both;
}

.tb-logo i {
    width: 22px;
    height: 22px;
}

.tb-logo:hover {
    color: rgba(255,255,255,0.6);
    transform: scale(1.05);
}

/* ===== PREMIUM FOOTER ===== */
.footer-premium {
    background: rgba(7,5,16,0.95);
    border-top: 1px solid rgba(255,255,255,0.04);
    backdrop-filter: blur(16px);
    padding: 60px 0 0;
    margin-top: 40px;
}

.fp-grid {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 28px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 2fr;
    gap: 40px;
}

.fp-brand .fp-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--clr-text);
    margin-bottom: 16px;
}

.fp-logo-icon {
    width: 22px;
    height: 22px;
    color: var(--clr-secondary);
}

.fp-logo-grad {
    background: linear-gradient(135deg, var(--clr-secondary), var(--clr-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fp-brand p {
    font-size: 13px;
    color: var(--clr-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 300px;
}

.fp-social {
    display: flex;
    gap: 10px;
}

.fp-col h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 16px;
}

.fp-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fp-col ul li a {
    color: var(--clr-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition-premium);
}

.fp-col ul li a:hover {
    color: var(--clr-secondary);
}

.fp-newsletter p {
    font-size: 13px;
    color: var(--clr-muted);
    margin-bottom: 16px;
}

.fp-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.fp-form input,
.fp-form textarea {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 10px 14px;
    color: var(--clr-text);
    font-size: 12px;
    font-family: var(--font-primary);
    outline: none;
    transition: var(--transition-premium);
}

.fp-form input:focus,
.fp-form textarea:focus {
    border-color: rgba(6,182,212,0.3);
    background: rgba(255,255,255,0.05);
}

.fp-form input::placeholder,
.fp-form textarea::placeholder {
    color: var(--clr-muted);
}

.fp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-premium);
    align-self: flex-start;
    font-family: var(--font-primary);
}

.fp-btn i {
    width: 14px;
    height: 14px;
}

.fp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124,58,237,0.3);
}

.fp-contact-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fp-contact-items span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--clr-muted);
}

.fp-contact-items span i {
    width: 14px;
    height: 14px;
    color: var(--clr-secondary);
}

.fp-bottom {
    max-width: 1300px;
    margin: 40px auto 0;
    padding: 20px 28px;
    border-top: 1px solid rgba(255,255,255,0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--clr-muted);
}

.fp-bottom-links {
    display: flex;
    gap: 16px;
}

.fp-bottom-links a {
    color: var(--clr-muted);
    text-decoration: none;
    transition: var(--transition-premium);
}

.fp-bottom-links a:hover {
    color: var(--clr-secondary);
}

/* ===== ANIMATIONS ===== */
@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -30px) scale(1.1); }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes glowSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes carouselScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes carouselScrollRev {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== RESPONSIVE ===== */
@media(max-width: 1200px) {
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .fp-grid { grid-template-columns: 1fr 1fr; }
    .hero-svg { width: 320px; height: 320px; }
}

@media(max-width: 1024px) {
    .hero-premium { flex-direction: column; text-align: center; min-height: auto; padding: 40px 0; gap: 40px; }
    .hero-premium-actions { justify-content: center; }
    .hero-illustration { display: none; }
    .why-choose-grid { grid-template-columns: repeat(2, 1fr); }
    .live-stats { grid-template-columns: repeat(3, 1fr); }
}

.header-hamburger-btn {
    display: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--clr-text);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-premium);
}
.header-hamburger-btn:hover {
    background: rgba(6, 182, 212, 0.12);
    border-color: rgba(6, 182, 212, 0.3);
    color: var(--clr-secondary);
}

.mobile-drawer-footer {
    display: none;
}

@media(max-width: 991px) {
    .header-hamburger-btn {
        display: flex;
    }
    .header-inner {
        padding: 10px 16px;
        gap: 8px;
    }
    .premium-nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(7, 5, 16, 0.98);
        backdrop-filter: blur(30px) saturate(180%);
        -webkit-backdrop-filter: blur(30px) saturate(180%);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 20px;
        flex-direction: column;
        gap: 8px;
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease, visibility 0.3s;
        z-index: 999;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
    }
    .premium-nav.mobile-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .premium-nav .pn-item {
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 12px;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.03);
    }
    .mobile-drawer-footer {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 12px;
        padding-top: 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .mobile-drawer-auth {
        display: flex;
        gap: 10px;
        width: 100%;
    }
    .mobile-drawer-auth .ha-btn {
        flex: 1;
        text-align: center;
        padding: 10px;
        font-size: 13px;
        justify-content: center;
        display: flex;
        align-items: center;
        text-decoration: none;
    }
    .mobile-drawer-selectors {
        display: flex;
        gap: 10px;
        width: 100%;
    }
    .mobile-drawer-selectors .header-select {
        flex: 1;
        display: block !important;
        height: 38px;
        font-size: 12px;
        background: rgba(255, 255, 255, 0.05);
    }
}

@media(max-width: 768px) {
    .header-select {
        display: none !important;
    }
    .header-right {
        gap: 6px;
    }
    .header-auth {
        display: flex !important;
        align-items: center;
        gap: 4px;
    }
    .ha-btn {
        padding: 6px 10px !important;
        font-size: 11px !important;
        white-space: nowrap !important;
    }
    .hl-text {
        font-size: 15px !important;
    }
}

@media(max-width: 430px) {
    .header-inner {
        padding: 8px 10px !important;
        gap: 4px !important;
    }
    .hl-icon {
        width: 30px !important;
        height: 30px !important;
    }
    .hl-text {
        font-size: 13px !important;
    }
    .ha-btn {
        padding: 5px 8px !important;
        font-size: 10px !important;
    }
}

@media(max-width: 768px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .why-choose-grid { grid-template-columns: 1fr; }
    .live-stats { grid-template-columns: repeat(2, 1fr); }
    .fp-grid { grid-template-columns: 1fr; }
    .fp-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .section-heading { font-size: 22px; }
    .hero-premium-title { font-size: 32px; }
    .search-bar-premium { border-radius: 30px; }
    .sbp-ai-badge { display: none; }
    .hide-mobile { display: none; }
}

@media(max-width: 480px) {
    .live-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .categories-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat-card-premium { padding: 14px 16px; }
    .scp-num { font-size: 20px; }
    .header-left { gap: 8px; }
}

/* Variables & Base Theme */
:root {
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Theme Colors */
    --bg-dark: #070312;
    --bg-panel: rgba(17, 10, 36, 0.75);
    --bg-card: rgba(28, 18, 59, 0.45);
    --bg-card-hover: rgba(40, 26, 85, 0.65);
    
    --border-color: rgba(138, 43, 226, 0.25);
    --border-hover: rgba(0, 245, 255, 0.45);
    
    --accent-purple: #8a2be2;
    --accent-purple-glow: rgba(138, 43, 226, 0.45);
    --accent-cyan: #00f5ff;
    --accent-cyan-glow: rgba(0, 245, 255, 0.4);
    --accent-emerald: #00ff87;
    --accent-emerald-glow: rgba(0, 255, 135, 0.35);
    --accent-gold: #ffb800;
    --accent-gold-glow: rgba(255, 184, 0, 0.3);
    
    --text-main: #f3effa;
    --text-secondary: #aaa0cc;
    --text-muted: #726796;
    
    --shadow-neon: 0 0 20px var(--accent-purple-glow);
    --shadow-cyan: 0 0 20px var(--accent-cyan-glow);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.15s ease;
}

/* Reset & Base Elements */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-primary);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* Utility Display Classes */
.d-none {
    display: none !important;
}
.text-success {
    color: var(--accent-emerald) !important;
}
.text-cyan {
    color: var(--accent-cyan) !important;
}
.mt-2 {
    margin-top: 1rem !important;
}
.mt-4 {
    margin-top: 1.5rem !important;
}
.mb-4 {
    margin-bottom: 1.5rem !important;
}
.w-100 {
    width: 100% !important;
}

/* Dynamic Aurora Background */
.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 40px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 30px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 40px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    opacity: 0.08;
    z-index: -3;
    pointer-events: none;
}

.aurora-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.18;
    z-index: -2;
    pointer-events: none;
    animation: floatGlow 15s infinite alternate ease-in-out;
}

.glow-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
}

.glow-2 {
    bottom: -20%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    animation-delay: -5s;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 30px) scale(1.1); }
}

/* Glassmorphism Common Style */
.card-glass {
    background: rgba(17, 20, 34, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.6);
    transition: var(--transition-smooth);
}

.card-glass:hover {
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
}

/* Typography Enhancements */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header & Navigation */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: rgba(10, 5, 26, 0.75);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(0,245,255,0.1), rgba(138,43,226,0.1));
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.logo-link:hover .logo-icon {
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-cyan);
    transform: rotate(5deg) scale(1.05);
}

.neon-icon {
    color: var(--accent-cyan);
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 0 5px var(--accent-cyan-glow));
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
}

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 30px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.nav-item i {
    width: 16px;
    height: 16px;
}

.nav-item:hover {
    color: var(--accent-cyan);
    background: rgba(0, 245, 255, 0.05);
}

.nav-item.active {
    color: var(--accent-cyan);
    background: rgba(0, 245, 255, 0.08);
    border-color: rgba(0, 245, 255, 0.2);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.switch-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.admin-icon {
    width: 14px;
    height: 14px;
    color: var(--accent-purple);
    vertical-align: middle;
    margin-right: 4px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.1);
    transition: .4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    transition: .3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent-purple);
}

input:checked + .slider:before {
    transform: translateX(16px);
}

/* Cart Trigger Badge */
.cart-trigger {
    position: relative;
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.cart-trigger:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: var(--shadow-cyan);
}

.cart-trigger i {
    width: 18px;
    height: 18px;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-cyan);
    color: var(--bg-dark);
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: cartBounce 0.3s ease-out;
}

@keyframes cartBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* User Account Area */
.auth-section {
    display: flex;
    gap: 8px;
}

.user-profile-circle {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.user-profile-circle:hover {
    border-color: var(--accent-cyan);
}

.avatar-initial {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    color: var(--text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
}

.username-txt {
    font-size: 13px;
    font-weight: 500;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(138, 43, 226, 0.35);
}

.btn-primary:hover:not(:disabled) {
    box-shadow: 0 4px 25px rgba(0, 245, 255, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

/* Views & Routing Framework */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 28px 80px 28px;
    width: 100%;
    box-sizing: border-box;
}

.view {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.view.active-view {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.view-title {
    font-size: 28px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
}

.title-icon {
    color: var(--accent-cyan);
    width: 28px;
    height: 28px;
}

.view-subtitle {
    color: var(--text-secondary);
    font-size: 15px;
    margin-top: 6px;
}

/* VIEW 1: SHOP & HERO */
.hero {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 60px 0 80px 0;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(138, 43, 226, 0.08);
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: neonPulse 1.5s infinite alternate;
}

@keyframes neonPulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.4); opacity: 1; }
}

.hero-title {
    font-size: 56px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 45px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 35px;
    background-color: var(--border-color);
}

/* Toolbar & Catalog Filtering */
.listing-toolbar {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media(min-width: 768px) {
    .listing-toolbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.search-wrapper {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
}

#search-input {
    width: 100%;
    padding: 12px 16px 12px 48px;
    background: rgba(17, 10, 36, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

#search-input:focus {
    border-color: var(--accent-cyan);
    background: rgba(17, 10, 36, 0.7);
    box-shadow: var(--shadow-cyan);
}

#search-input:focus ~ .search-icon {
    color: var(--accent-cyan);
}

.filter-wrapper {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.filter-chip {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.filter-chip:hover {
    color: var(--text-main);
    border-color: rgba(255,255,255,0.2);
    background: rgba(255, 255, 255, 0.05);
}

.filter-chip.active {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(138, 43, 226, 0.1));
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.1);
}

/* Products Cards Grid */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media(min-width: 640px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(min-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6), var(--shadow-cyan);
    background: var(--bg-card-hover);
}

.card-image-wrap {
    height: 180px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(138,43,226,0.1), rgba(0,245,255,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image-wrap canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.product-card:hover .card-image-wrap canvas {
    transform: scale(1.05);
    opacity: 1;
}

.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(10, 5, 26, 0.85);
    border: 1px solid var(--border-color);
    color: var(--accent-cyan);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    backdrop-filter: blur(4px);
}

.card-rating {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(10, 5, 26, 0.85);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
}

.card-rating i {
    width: 10px;
    height: 10px;
    fill: #ffd700;
}

.card-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.product-card:hover .card-title {
    color: var(--accent-cyan);
}

.card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.card-price {
    display: flex;
    flex-direction: column;
}

.price-lbl {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.price-amt {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
}

.card-btns {
    display: flex;
    gap: 8px;
}

.btn-icon-only {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.02);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-icon-only:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(0, 245, 255, 0.05);
}

.btn-icon-only i {
    width: 16px;
    height: 16px;
}

.btn-buy {
    padding: 0 16px;
    height: 38px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    color: #fff;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-buy:hover {
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
    transform: scale(1.02);
}

.btn-buy.added-success {
    background: var(--accent-emerald);
    box-shadow: 0 0 15px var(--accent-emerald-glow);
    color: var(--bg-dark);
}

/* Loading Shimmer Card */
.shimmer-card {
    height: 380px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.shimmer-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.03) 20%,
        rgba(255, 255, 255, 0.06) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 1.8s infinite;
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
}

/* VIEW 2: CHECKOUT WIZARD */
.checkout-container {
    max-width: 1100px;
    margin: 0 auto;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media(min-width: 1024px) {
    .checkout-grid { grid-template-columns: 1.6fr 1fr; }
}

.checkout-form-side {
    padding: 32px;
}

.checkout-header {
    margin-bottom: 24px;
}

.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    background: rgba(10, 5, 26, 0.4);
    padding: 12px 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.4;
    transition: var(--transition-smooth);
}

.step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.step-label {
    font-size: 13px;
    font-weight: 600;
}

.step-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    margin: 0 12px;
    border-radius: 1px;
}

.step.active {
    opacity: 1;
}

.step.active .step-num {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    box-shadow: var(--shadow-cyan);
}

.step.active .step-label {
    color: var(--accent-cyan);
}

.step.completed .step-num {
    background: var(--accent-emerald);
    color: var(--bg-dark);
}

.step.completed .step-label {
    color: var(--accent-emerald);
}

.step-line.completed {
    background: var(--accent-emerald);
}

/* Forms: Inputs & Floating Labels */
.step-content {
    display: none;
}

.step-content.active {
    display: block;
    animation: viewFade 0.4s ease-out;
}

@keyframes viewFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-title {
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--text-main);
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-control {
    width: 100%;
    padding: 16px 16px 16px 48px;
    background: rgba(10, 5, 26, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 14px;
    font-family: var(--font-primary);
    transition: var(--transition-smooth);
    outline: none;
}

.form-control:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.15);
    background: rgba(10, 5, 26, 0.85);
}

.form-label {
    position: absolute;
    left: 48px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 14px;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.form-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
}

.form-control:focus ~ .form-icon {
    color: var(--accent-cyan);
}

.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
    top: 0;
    transform: translateY(-50%) scale(0.8);
    left: 16px;
    padding: 0 8px;
    background: #110a24;
    color: var(--accent-cyan);
    font-weight: 600;
}

.form-help {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
}

.step-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Selector & Dropdowns forms */
.form-group-select {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.select-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    padding-left: 4px;
}

.select-control {
    width: 100%;
    padding: 14px 16px;
    background: rgba(10, 5, 26, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
    font-family: var(--font-primary);
    cursor: pointer;
}

.select-control:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.15);
}

.select-control option {
    background-color: var(--bg-dark);
    color: var(--text-main);
}

/* Form Error / Shaking animation */
.form-error-banner {
    background: rgba(255, 59, 105, 0.1);
    border: 1px solid rgba(255, 59, 105, 0.3);
    color: #ff3b69;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

/* Payment Selector Cards */
.payment-method-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.payment-card {
    background: rgba(10, 5, 26, 0.4);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.payment-card i {
    width: 24px;
    height: 24px;
    color: var(--text-secondary);
}

.payment-card span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.payment-card:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 245, 255, 0.02);
}

.payment-card.active {
    border-color: var(--accent-cyan);
    background: rgba(0, 245, 255, 0.06);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.1);
}

.payment-card.active i,
.payment-card.active span {
    color: var(--accent-cyan);
}

/* Payment Detail Boxes */
.payment-details-box {
    background: rgba(10, 5, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 24px;
    border-radius: 16px;
    min-height: 200px;
}

.payment-instructions {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 20px;
}

.qr-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#upi-qr-code {
    width: 140px;
    height: 140px;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}
#upi-qr-code img {
    width: 100% !important;
    height: 100% !important;
}
#upi-qr-code canvas {
    display: none !important;
}

.bank-details-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

.bank-detail-item {
    display: flex;
    flex-direction: column;
}

.b-lbl {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.b-val {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
}

/* Copy Buttons bank */
.bank-details-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bank-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.bd-lbl {
    color: var(--text-secondary);
}

.bd-val {
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-copy {
    background: none;
    border: none;
    color: var(--accent-cyan);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.btn-copy:hover {
    transform: scale(1.1);
    color: var(--text-main);
}

.btn-copy i {
    width: 14px;
    height: 14px;
}

/* Screenshot Upload Area */
.upload-dropzone {
    border: 2px dashed var(--border-color);
    background: rgba(10, 5, 26, 0.3);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.upload-dropzone:hover, 
.upload-dropzone.dragover {
    border-color: var(--accent-cyan);
    background: rgba(0, 245, 255, 0.02);
}

.dz-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    background: rgba(0, 245, 255, 0.05);
    border-radius: 50%;
    color: var(--accent-cyan);
    margin-bottom: 16px;
    transition: var(--transition-smooth);
}

.upload-dropzone:hover .dz-icon {
    background: rgba(0, 245, 255, 0.1);
    transform: translateY(-4px);
}

.upload-pulse {
    width: 24px;
    height: 24px;
    animation: float 2s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.dz-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
}

.dz-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.dz-hint {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Upload Preview State */
.dz-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.preview-img-container {
    width: 100%;
    max-width: 240px;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.preview-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 320px;
    background: rgba(10, 5, 26, 0.7);
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.preview-info {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.preview-info i {
    width: 18px;
    height: 18px;
    color: var(--accent-cyan);
}

.preview-meta {
    display: flex;
    flex-direction: column;
}

.preview-filename {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preview-filesize {
    font-size: 11px;
    color: var(--text-muted);
}

.btn-remove {
    background: none;
    border: none;
    color: #ff3b69;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.btn-remove:hover {
    background: rgba(255, 59, 105, 0.1);
    transform: scale(1.05);
}

.btn-remove i {
    width: 16px;
    height: 16px;
}

/* Uploading Progress Bar */
.upload-status-box {
    background: rgba(10, 5, 26, 0.7);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 12px;
    margin-top: 20px;
}

.status-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
}

.status-msg {
    font-weight: 600;
    color: var(--accent-cyan);
}

.status-pct {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    border-radius: 4px;
    transition: width 0.1s linear;
}

/* Checkout Summary Side - Right */
.checkout-summary-side {
    padding: 32px;
    height: fit-content;
}

.summary-title {
    font-size: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 12px;
}

.summary-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    max-height: 240px;
    overflow-y: auto;
    padding-right: 4px;
}

.summary-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.sum-item-meta {
    display: flex;
    flex-direction: column;
}

.sum-name {
    font-weight: 600;
    color: var(--text-main);
}

.sum-qty {
    font-size: 11px;
    color: var(--text-muted);
}

.sum-price {
    font-weight: 700;
    color: var(--text-main);
}

.summary-pricing {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-secondary);
}

.total-row {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
    margin-top: 4px;
    font-size: 16px;
    color: var(--text-main);
    font-weight: 700;
}

.grand-total {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--accent-cyan);
}

.payment-reminder {
    display: flex;
    gap: 12px;
    background: rgba(138, 43, 226, 0.05);
    border: 1px solid var(--border-color);
    padding: 14px;
    border-radius: 12px;
}

.payment-reminder i {
    width: 20px;
    height: 20px;
    color: var(--accent-purple);
    flex-shrink: 0;
}

.payment-reminder p {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* VIEW 3: CUSTOMER ORDERS DASHBOARD */
.orders-header {
    margin-bottom: 40px;
}

.orders-list-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.orders-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

.orders-empty-state i {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.orders-empty-state h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.orders-empty-state p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Order Cards */
.order-card {
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: rgba(20, 12, 44, 0.55);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.order-card:hover {
    border-color: rgba(0, 245, 255, 0.3);
}

.order-card-header {
    background: rgba(10, 5, 26, 0.6);
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media(min-width: 768px) {
    .order-card-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.order-meta-left {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.meta-field {
    display: flex;
    flex-direction: column;
}

.meta-lbl {
    font-size: 9px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.meta-val {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.status-badge.pending {
    background: rgba(255, 165, 0, 0.08);
    border: 1px solid rgba(255, 165, 0, 0.3);
    color: #ffa500;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.05);
    animation: badgePulse 2s infinite alternate;
}

@keyframes badgePulse {
    0% { border-color: rgba(255, 165, 0, 0.2); }
    100% { border-color: rgba(255, 165, 0, 0.6); }
}

.status-badge.completed {
    background: rgba(0, 255, 135, 0.08);
    border: 1px solid var(--accent-emerald);
    color: var(--accent-emerald);
    box-shadow: 0 0 10px var(--accent-emerald-glow);
}

.status-badge.rejected {
    background: rgba(255, 59, 105, 0.08);
    border: 1px solid rgba(255, 59, 105, 0.3);
    color: #ff3b69;
}

/* Order Details/Items inside order card */
.order-card-body {
    padding: 24px;
}

.order-items-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-product-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 5, 26, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.02);
    padding: 14px 20px;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.order-product-row:hover {
    background: rgba(10, 5, 26, 0.5);
    border-color: rgba(138,43,226,0.15);
}

.item-info {
    display: flex;
    flex-direction: column;
}

.item-category {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    font-weight: 600;
}

.item-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
}

/* Admin Simulation Actions */
.order-action-btn-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-admin-approve {
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid var(--accent-purple);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-admin-approve:hover {
    background: var(--accent-purple);
    box-shadow: var(--shadow-neon);
}

/* ==========================================================================
   RESELLER PORTAL SECTION
   ========================================================================== */

/* 1. Reseller Landing Screen */
.reseller-landing {
    max-width: 900px;
    margin: 40px auto;
    padding: 50px 40px;
    text-align: center;
}

.reseller-landing-header h2 {
    font-size: 38px;
    margin-top: 16px;
    margin-bottom: 12px;
}

.reseller-landing-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 40px auto;
}

.reseller-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 245, 255, 0.08);
    border: 1px solid rgba(0, 245, 255, 0.25);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.reseller-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

@media(min-width: 768px) {
    .reseller-benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

.benefit-card {
    background: rgba(10, 5, 26, 0.4);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 16px;
    text-align: left;
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 245, 255, 0.02);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 32px;
    height: 32px;
    color: var(--accent-cyan);
    margin-bottom: 16px;
}

.benefit-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.benefit-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.reseller-pending-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    background: rgba(255, 165, 0, 0.08);
    border: 1px solid rgba(255, 165, 0, 0.3);
    color: #ffa500;
    padding: 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    margin: 30px auto;
    max-width: 600px;
}

.reseller-pending-badge i {
    color: #ffa500;
    width: 20px;
    height: 20px;
}

/* 2. Reseller Dashboard Header */
.reseller-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

/* Widgets Grid */
.reseller-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

@media(min-width: 640px) {
    .reseller-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(min-width: 1024px) {
    .reseller-stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Admin Control Center — 10 metric widgets */
.admin-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

@media(min-width: 640px) {
    .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(min-width: 1024px) {
    .admin-stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media(min-width: 1280px) {
    .admin-stats-grid { grid-template-columns: repeat(5, 1fr); }
}

/* Admin panel extensions */
.admin-tabs-scroll {
    flex-wrap: wrap;
    gap: 8px;
}

.admin-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
    flex-wrap: wrap;
}

.order-status-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px;
    margin-bottom: 20px;
}

.order-status-filters .filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.chip-count {
    background: rgba(0, 245, 255, 0.15);
    color: var(--accent-cyan);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
}

.admin-settings-grid {
    max-width: 560px;
    padding: 32px;
}

.settings-block-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin: 24px 0 12px;
}

.settings-block-title:first-child {
    margin-top: 0;
}

.admin-toggle-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
}

.admin-toggle-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-cyan);
}

.screenshot-modal-card {
    max-width: 540px;
    padding: 24px;
}

.screenshot-viewer-wrap {
    max-width: 100%;
    height: 280px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: #070312;
    overflow: hidden;
}

.screenshot-viewer-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.screenshot-modal-actions {
    display: flex;
    gap: 12px;
}

.notif-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 6px;
    text-transform: uppercase;
}

.notif-email { background: rgba(0, 245, 255, 0.12); color: var(--accent-cyan); }
.notif-sms { background: rgba(138, 43, 226, 0.12); color: var(--accent-purple); }
.notif-whatsapp { background: rgba(0, 255, 135, 0.12); color: var(--accent-emerald); }

.btn-featured {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--accent-gold);
    font-size: 16px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    line-height: 1;
}
.btn-featured.active {
    background: rgba(255, 184, 0, 0.15);
    border-color: var(--accent-gold);
}

.form-label-static {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 8px;
}

.admin-file-upload input[type="file"] {
    padding: 10px;
    font-size: 12px;
}

.featured-badge {
    top: auto !important;
    bottom: 8px !important;
    left: 8px !important;
    background: rgba(255, 184, 0, 0.9) !important;
    color: #0b0c10 !important;
    font-weight: 800;
}

.r-stat-card {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.r-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.r-stat-icon i {
    width: 22px;
    height: 22px;
}

/* Colors for stat icon containers */
.r-stat-icon.purple { background: rgba(138, 43, 226, 0.1); color: var(--accent-purple); border: 1px solid rgba(138,43,226,0.25); }
.r-stat-icon.cyan { background: rgba(0, 245, 255, 0.1); color: var(--accent-cyan); border: 1px solid rgba(0,245,255,0.25); }
.r-stat-icon.emerald { background: rgba(0, 255, 135, 0.1); color: var(--accent-emerald); border: 1px solid rgba(0,255,135,0.25); }
.r-stat-icon.gold { background: rgba(255, 184, 0, 0.1); color: var(--accent-gold); border: 1px solid rgba(255,184,0,0.25); }

.r-stat-meta {
    display: flex;
    flex-direction: column;
}

.r-lbl {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.r-val {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
}

/* Special Wallet card with Payout trigger button */
.wallet-card {
    border-color: rgba(255, 184, 0, 0.3);
    padding-right: 110px; /* Make space for action btn */
}

.wallet-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 0 20px var(--accent-gold-glow);
}

.btn-payout-trigger {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-purple));
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.25);
    border: none;
    color: #fff;
    padding: 10px 16px;
    font-size: 12px;
}

.btn-payout-trigger:hover {
    box-shadow: 0 4px 20px rgba(255, 184, 0, 0.4) !important;
}

/* Reseller Dashboard Sub-Navigation Tabs */
.reseller-tabs-nav {
    display: flex;
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 32px;
    gap: 6px;
    flex-wrap: wrap;
}

.r-tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
    white-space: nowrap;
    min-width: 120px;
}

.r-tab-btn i {
    width: 16px;
    height: 16px;
}

.r-tab-btn:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
}

.r-tab-btn.active {
    background: rgba(255, 255, 255, 0.06);
    color: var(--accent-cyan);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Dashboard Tab contents layout */
.reseller-tab-content {
    display: none;
    animation: viewFade 0.4s ease-out;
}

.reseller-tab-content.active {
    display: block;
}

.panel-section-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-main);
}

/* 1. Tab content: Reseller Products CRUD list details */
.reseller-products-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reseller-product-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 5, 26, 0.4);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.reseller-product-row:hover {
    border-color: var(--accent-cyan);
    background: rgba(10, 5, 26, 0.6);
}

.rp-meta {
    display: flex;
    flex-direction: column;
}

.rp-category {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 0.05em;
}

.rp-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.rp-price {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.rp-actions {
    display: flex;
    gap: 8px;
}

.btn-edit {
    background: rgba(0, 245, 255, 0.05);
    border: 1px solid rgba(0, 245, 255, 0.2);
    color: var(--accent-cyan);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-edit:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    box-shadow: var(--shadow-cyan);
}

.btn-delete {
    background: rgba(255, 59, 105, 0.05);
    border: 1px solid rgba(255, 59, 105, 0.2);
    color: #ff3b69;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-delete:hover {
    background: #ff3b69;
    color: #fff;
}

/* 2. Tables for Reports (Sales & Withdrawals) */
.reseller-table-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.table-container {
    width: 100%;
    overflow-x: auto;
    border-radius: 16px;
}

.report-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13px;
    color: var(--text-secondary);
}

.report-table th {
    background: rgba(10, 5, 26, 0.85);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.report-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.report-table tbody tr {
    transition: var(--transition-smooth);
}

.report-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.015);
    color: var(--text-main);
}

.report-table tbody tr:last-child td {
    border-bottom: none;
}

/* Withdrawals balance badge banner inside modal */
.wallet-balance-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 184, 0, 0.08);
    border: 1px solid rgba(255, 184, 0, 0.25);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.banner-lbl {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.banner-amt {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-gold);
}

/* ==========================================================================
   ADMIN EMAIL LOG ENVELOPES
   ========================================================================== */
.email-logs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 550px;
    overflow-y: auto;
    padding-right: 4px;
}

.email-log-item {
    background: rgba(10, 5, 26, 0.4);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.email-log-item:hover {
    border-color: var(--accent-cyan);
    background: rgba(10, 5, 26, 0.6);
}

.email-log-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
}

.email-log-body {
    font-family: monospace;
    font-size: 12px;
    color: var(--text-secondary);
    white-space: pre-line;
    line-height: 1.5;
}

/* ==========================================================================
   SHOPPING CART DRAWER (Slide-out from Right)
   ========================================================================== */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 3, 13, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.cart-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 90vw;
    height: 100vh;
    background: rgba(15, 8, 33, 0.98);
    border-left: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.8);
    z-index: 1060;
    display: flex;
    flex-direction: column;
    transform: translateX(100%) translateZ(0);
    will-change: transform;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.cart-drawer.active {
    transform: translateX(0) translateZ(0);
}

.cart-drawer-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.btn-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-close:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-cyan);
    border-color: rgba(255,255,255,0.05);
}

.btn-close i {
    width: 16px;
    height: 16px;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Cart Item Cards */
.cart-item {
    display: flex;
    gap: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 12px;
    position: relative;
    transition: var(--transition-smooth);
}

.cart-item:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.04);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
    padding-right: 18px;
}

.cart-item-price {
    font-size: 13px;
    color: var(--accent-cyan);
    font-weight: 600;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.qty-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.qty-btn i {
    width: 12px;
    height: 12px;
}

.qty-val {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    min-width: 16px;
    text-align: center;
}

.cart-item-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cart-item-remove:hover {
    color: #ff3b69;
}

.cart-item-remove i {
    width: 14px;
    height: 14px;
}

/* Empty Cart State */
.cart-empty {
    text-align: center;
    margin-top: 80px;
}

.cart-empty i {
    width: 44px;
    height: 44px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.cart-empty p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Cart Footer Panel */
.cart-drawer-footer {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(10, 5, 26, 0.8);
}

.cart-price-totals {
    margin-bottom: 20px;
}

.cart-price-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 600;
}

.cart-price-row span:last-child {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent-cyan);
}

.cart-price-note {
    font-size: 10px;
    color: var(--text-muted);
    display: block;
    margin-top: 4px;
}

/* MODAL OVERLAYS COMMON styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 3, 13, 0.65);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 16px;
    overflow-y: auto;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--accent-cyan);
    background: rgba(255,255,255,0.05);
}

.modal-close i {
    width: 18px;
    height: 18px;
}

/* MODAL: AUTHENTICATION */
.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 32px;
    position: relative;
    animation: modalSlideUp 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes modalSlideUp {
    from { transform: translateY(30px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.auth-tabs {
    display: flex;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 28px;
}

.auth-tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-heading);
}

.auth-tab-btn.active {
    color: var(--accent-cyan);
}

.tab-slider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.auth-forms-container {
    overflow: hidden;
    position: relative;
    min-height: 300px;
}

.auth-form {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-form.active {
    display: block;
    opacity: 1;
}

.auth-form-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-form-header h3 {
    font-size: 22px;
    margin-bottom: 6px;
}

.auth-form-header p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* MODAL: PRODUCT DETAILS (Quick View) */
.details-card {
    width: 100%;
    max-width: 800px;
    padding: 32px;
    position: relative;
    animation: modalSlideUp 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media(min-width: 768px) {
    .details-grid { grid-template-columns: 1fr 1.2fr; }
}

.details-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.details-img-wrap {
    height: 240px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(138,43,226,0.1), rgba(0,245,255,0.1));
}

.details-img-wrap canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.details-info {
    display: flex;
    flex-direction: column;
}

.details-category {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.details-title {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.details-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 13px;
}

.details-rating {
    color: #ffd700;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.details-rating i {
    width: 14px;
    height: 14px;
    fill: #ffd700;
}

.details-downloads {
    color: var(--text-secondary);
}

.details-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.details-features-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.feature-item i {
    width: 16px;
    height: 16px;
    color: var(--accent-emerald);
}

.details-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.details-price {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--text-main);
}

/* MODAL: DOWNLOAD PROGRESS SYSTEM (Breathtaking Screen Overlay) */
.download-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 2, 10, 0.85);
    backdrop-filter: blur(12px);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 16px;
}

.download-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.download-card {
    width: 100%;
    max-width: 500px;
    padding: 40px;
    text-align: center;
    animation: modalSlideUp 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.dl-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: rgba(0, 245, 255, 0.05);
    border-radius: 50%;
    border: 1px solid rgba(0, 245, 255, 0.2);
    color: var(--accent-cyan);
    margin-bottom: 24px;
}

.dl-main-icon {
    width: 32px;
    height: 32px;
}

.pulse-glow {
    animation: downloadPulse 1.5s infinite ease-in-out;
}

@keyframes downloadPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px var(--accent-cyan-glow)); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 10px var(--accent-cyan)); }
}

#dl-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

#dl-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.dl-bar-wrapper {
    margin-bottom: 24px;
}

.dl-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.dl-security-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    background: rgba(10, 5, 26, 0.4);
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.02);
}

.chk-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
}

.chk-item::before {
    content: '○';
    display: inline-block;
    width: 14px;
    flex-shrink: 0;
    text-align: center;
    font-size: 11px;
}

.chk-item.active::before {
    content: '◎';
    color: var(--accent-cyan);
}

.chk-item.completed::before {
    content: '✓';
    color: var(--accent-emerald);
    font-weight: 700;
}

.chk-item i,
.chk-item svg {
    display: none;
}

.chk-item.active {
    color: var(--accent-cyan);
}

.chk-item.completed {
    color: var(--accent-emerald);
}

/* Global Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 400;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
}

.toast {
    background: rgba(15, 8, 33, 0.9);
    border: 1px solid var(--border-color);
    padding: 14px 20px;
    border-radius: 12px;
    color: var(--text-main);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    animation: toastSlideIn 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transition: var(--transition-smooth);
}

.toast.toast-success {
    border-color: var(--accent-emerald);
    border-left: 4px solid var(--accent-emerald);
}

.toast.toast-error {
    border-color: rgba(255, 59, 105, 0.6);
    border-left: 4px solid #ff3b69;
}

.toast-icon-success {
    color: var(--accent-emerald);
}

.toast-icon-error {
    color: #ff3b69;
}

@keyframes toastSlideIn {
    from { transform: translateX(100%) scale(0.9); opacity: 0; }
    to { transform: translateX(0) scale(1); opacity: 1; }
}

.toast.toast-fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

/* Marketing: Homepage Slider */
.homepage-slider-wrap {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 24px;
    border-radius: 20px;
    overflow: hidden;
    min-height: 320px;
}

.homepage-slider {
    position: relative;
    min-height: 320px;
}

.slider-slide {
    display: none;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    background-color: rgba(10, 10, 30, 0.85);
    padding: 48px 32px;
    align-items: center;
}

.slider-slide.active {
    display: flex;
}

.slider-slide-content {
    max-width: 640px;
    z-index: 2;
}

.slider-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.15;
}

.slider-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
    max-width: 520px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.slider-prev { left: 12px; }
.slider-next { right: 12px; }

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
}

.slider-dot.active {
    background: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
}

/* Store sale banner */
.store-sale-banner {
    max-width: 1200px;
    margin: 0 auto 16px;
    padding: 12px 20px;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(0, 230, 118, 0.12), rgba(0, 245, 255, 0.12));
    border: 1px solid rgba(0, 230, 118, 0.35);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--accent-emerald);
    font-size: 14px;
}

/* Promo banners */
.promo-banners-wrap {
    max-width: 1200px;
    margin: 0 auto 24px;
    display: grid;
    gap: 16px;
}

.promo-banner {
    min-height: 120px;
    background-size: cover;
    background-position: center;
    padding: 24px 28px;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 5, 20, 0.88), rgba(5, 5, 20, 0.4));
}

.promo-banner-link {
    position: relative;
    z-index: 1;
    text-decoration: none;
    color: inherit;
    display: block;
}

.promo-banner h3 {
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.promo-banner p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Checkout coupon */
.coupon-apply-box {
    margin: 16px 0 8px;
}

.coupon-input-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.coupon-input-row .form-control {
    flex: 1;
}

/* Admin marketing thumbnails */
.mkt-thumb {
    width: 72px;
    height: 44px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

/* Support tickets */
.support-thread {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 320px;
    overflow-y: auto;
    margin-bottom: 12px;
}

.support-msg {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
}

.support-msg.staff {
    border-color: rgba(0, 245, 255, 0.35);
    background: rgba(0, 245, 255, 0.06);
}

.support-msg small {
    display: block;
    color: var(--text-muted);
    margin: 4px 0 6px;
    font-size: 11px;
}

.support-msg p {
    margin: 0;
    font-size: 14px;
    white-space: pre-wrap;
}

.customer-support-panel {
    margin-top: 32px;
}

.support-ticket-card {
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 12px;
}

/* ==========================================================================
   ADMIN CONTROL CENTER - SIDEBAR & TOPBAR
   ========================================================================== */
.admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: rgba(12, 7, 28, 0.92);
    border-right: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    z-index: 100;
    display: flex;
    flex-direction: column;
    transition: width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.3s ease;
    overflow: hidden;
}

.admin-sidebar.collapsed {
    width: 72px;
}

.admin-sidebar.collapsed .sidebar-logo-text,
.admin-sidebar.collapsed .sidebar-search-input,
.admin-sidebar.collapsed .sidebar-kbd,
.admin-sidebar.collapsed .sidebar-group-label,
.admin-sidebar.collapsed .sidebar-item span,
.admin-sidebar.collapsed .sidebar-user-info,
.admin-sidebar.collapsed .sidebar-search-icon,
.admin-sidebar.collapsed .sidebar-collapse-btn {
    display: none;
}

.admin-sidebar.collapsed .sidebar-item {
    justify-content: center;
    padding: 12px;
}

.admin-sidebar.collapsed .sidebar-brand {
    justify-content: center;
    padding: 16px 8px;
}

.admin-sidebar.collapsed .sidebar-user {
    justify-content: center;
    padding: 12px 8px;
}

.admin-sidebar.collapsed .sidebar-nav {
    padding: 8px 4px;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.sidebar-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(0,245,255,0.1), rgba(138,43,226,0.1));
    border: 1px solid var(--border-color);
    border-radius: 10px;
    flex-shrink: 0;
}

.sidebar-logo-text {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
}

.sidebar-collapse-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.sidebar-collapse-btn:hover {
    color: var(--accent-cyan);
    background: rgba(0,245,255,0.08);
}

.sidebar-search {
    position: relative;
    padding: 12px 16px;
}

.sidebar-search-icon {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    pointer-events: none;
}

.sidebar-search-input {
    width: 100%;
    padding: 10px 16px 10px 38px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 13px;
    outline: none;
    transition: var(--transition-smooth);
}

.sidebar-search-input:focus {
    border-color: var(--accent-cyan);
    background: rgba(0,245,255,0.04);
}

.sidebar-kbd {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    padding: 2px 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    color: var(--text-muted);
    font-family: inherit;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 8px;
}

.sidebar-group-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding: 8px 12px 4px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition-smooth);
    white-space: nowrap;
    cursor: pointer;
}

.sidebar-item i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.sidebar-item:hover {
    color: var(--text-main);
    background: rgba(255,255,255,0.04);
}

.sidebar-item:hover i {
    color: var(--accent-cyan);
}

.sidebar-item.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(138,43,226,0.15), rgba(0,245,255,0.08));
    border: 1px solid rgba(138,43,226,0.2);
}

.sidebar-item.active i {
    color: var(--accent-cyan);
}

.sidebar-footer {
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 12px 16px;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    flex-shrink: 0;
}

.sidebar-user-info {
    flex: 1;
    min-width: 0;
}

.sidebar-user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-role {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-cyan);
}

.sidebar-logout {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.sidebar-logout:hover {
    color: #ff3b69;
    background: rgba(255,59,105,0.1);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5,3,13,0.6);
    backdrop-filter: blur(4px);
    z-index: 99;
}

/* Main Wrapper */
.admin-main-wrapper {
    margin-left: 280px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.admin-main-wrapper.expanded {
    margin-left: 72px;
}

/* Topbar */
.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(12, 7, 28, 0.85);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    backdrop-filter: blur(16px);
    padding: 12px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.topbar-mobile-toggle:hover {
    background: rgba(255,255,255,0.04);
    color: var(--accent-cyan);
}

.topbar-greeting {
    display: flex;
    flex-direction: column;
}

.topbar-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    font-family: var(--font-heading);
}

.topbar-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-search {
    position: relative;
    display: flex;
    align-items: center;
}

.topbar-search i {
    position: absolute;
    left: 12px;
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    pointer-events: none;
}

.topbar-search input {
    width: 240px;
    padding: 8px 12px 8px 36px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 13px;
    outline: none;
    transition: var(--transition-smooth);
}

.topbar-search input:focus {
    border-color: var(--accent-cyan);
    background: rgba(0,245,255,0.04);
    width: 300px;
}

.topbar-search kbd {
    position: absolute;
    right: 10px;
    font-size: 10px;
    padding: 2px 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    color: var(--text-muted);
    font-family: inherit;
    pointer-events: none;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-icon-btn {
    position: relative;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.topbar-icon-btn i {
    width: 20px;
    height: 20px;
}

.topbar-icon-btn:hover {
    background: rgba(255,255,255,0.04);
    color: var(--accent-cyan);
}

.topbar-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent-purple), #ff3b69);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.msg-badge {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
}

/* Topbar Dropdowns */
.topbar-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 320px;
    max-height: 380px;
    background: rgba(15, 8, 33, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(10px) scale(0.96);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 200;
    overflow: hidden;
}

.topbar-icon-btn:hover .topbar-dropdown,
.topbar-dropdown:hover {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
}

.dropdown-mark-read {
    background: none;
    border: none;
    color: var(--accent-cyan);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.dropdown-body {
    max-height: 300px;
    overflow-y: auto;
    padding: 8px;
}

.dropdown-empty {
    text-align: center;
    padding: 32px 16px;
    color: var(--text-muted);
    font-size: 13px;
}

/* Profile Dropdown */
.topbar-notif {
    position: relative;
}

.topbar-profile {
    position: relative;
    cursor: pointer;
}

.topbar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    transition: var(--transition-smooth);
}

.topbar-profile:hover .topbar-avatar {
    box-shadow: 0 0 20px rgba(138,43,226,0.3);
}

.topbar-profile-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 280px;
    background: rgba(15, 8, 33, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(10px) scale(0.96);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 200;
    overflow: hidden;
}

.topbar-profile:hover .topbar-profile-dropdown,
.topbar-profile-dropdown:hover {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.profile-dropdown-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.profile-avatar-lg {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    flex-shrink: 0;
}

.profile-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
}

.profile-email {
    font-size: 11px;
    color: var(--text-muted);
}

.profile-dropdown-body {
    padding: 8px;
}

.profile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
}

.profile-dropdown-item i {
    width: 16px;
    height: 16px;
}

.profile-dropdown-item:hover {
    background: rgba(255,255,255,0.04);
    color: var(--text-main);
}

.profile-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.04);
    margin: 4px 0;
}

/* ==========================================================================
   ADMIN CONTENT & STATS GRID
   ========================================================================== */
.admin-content {
    padding: 24px 28px;
    flex: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

@media(min-width: 640px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(min-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media(min-width: 1400px) {
    .stats-grid { grid-template-columns: repeat(5, 1fr); }
}

.stat-card {
    position: relative;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.stat-card-purple:hover { border-color: var(--accent-purple); box-shadow: 0 12px 30px rgba(138,43,226,0.15); }
.stat-card-cyan:hover { border-color: var(--accent-cyan); box-shadow: 0 12px 30px rgba(0,245,255,0.12); }
.stat-card-emerald:hover { border-color: var(--accent-emerald); box-shadow: 0 12px 30px rgba(0,255,135,0.12); }
.stat-card-orange:hover { border-color: var(--accent-gold); box-shadow: 0 12px 30px rgba(255,184,0,0.12); }
.stat-card-danger:hover { border-color: #ff3b69; box-shadow: 0 12px 30px rgba(255,59,105,0.12); }

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.stat-icon i {
    width: 20px;
    height: 20px;
}

.stat-card-purple .stat-icon { background: rgba(138,43,226,0.12); color: var(--accent-purple); }
.stat-card-cyan .stat-icon { background: rgba(0,245,255,0.1); color: var(--accent-cyan); }
.stat-card-emerald .stat-icon { background: rgba(0,255,135,0.1); color: var(--accent-emerald); }
.stat-card-orange .stat-icon { background: rgba(255,184,0,0.1); color: var(--accent-gold); }
.stat-card-danger .stat-icon { background: rgba(255,59,105,0.1); color: #ff3b69; }

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

.stat-trend {
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.stat-trend.up {
    color: var(--accent-emerald);
}

.stat-trend.up::before {
    content: "\2191";
}

.stat-trend.down {
    color: #ff3b69;
}

.stat-trend.down::before {
    content: "\2193";
}

.stat-sparkline {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 40px;
    opacity: 0.3;
    pointer-events: none;
}

.stat-glow {
    position: absolute;
    top: -50%;
    right: -30%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    opacity: 0.04;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.stat-card:hover .stat-glow {
    opacity: 0.1;
    transform: scale(1.3);
}

.stat-card-purple .stat-glow { background: var(--accent-purple); }
.stat-card-cyan .stat-glow { background: var(--accent-cyan); }
.stat-card-emerald .stat-glow { background: var(--accent-emerald); }
.stat-card-orange .stat-glow { background: var(--accent-gold); }
.stat-card-danger .stat-glow { background: #ff3b69; }

/* Quick Actions */
.quick-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.quick-action-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
    font-family: inherit;
}

.quick-action-card i {
    width: 18px;
    height: 18px;
    color: var(--accent-cyan);
    transition: var(--transition-smooth);
}

.quick-action-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-cyan);
    color: var(--text-main);
    transform: translateY(-2px);
}

.quick-action-card:hover i {
    color: var(--accent-cyan);
}

/* ==========================================================================
   ADMIN TABS
   ========================================================================== */
.admin-tabs-scroll {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.admin-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
    font-family: inherit;
}

.admin-tab-btn i {
    width: 16px;
    height: 16px;
}

.admin-tab-btn:hover {
    background: rgba(255,255,255,0.04);
    color: var(--text-main);
    border-color: rgba(255,255,255,0.08);
}

.admin-tab-btn.active {
    background: linear-gradient(135deg, rgba(138,43,226,0.12), rgba(0,245,255,0.08));
    border-color: rgba(138,43,226,0.25);
    color: #fff;
}

.admin-tab-content {
    display: none;
    animation: viewFade 0.4s ease-out;
}

.admin-tab-content.active {
    display: block;
}

/* ==========================================================================
   ANALYTICS GRID
   ========================================================================== */
.analytics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media(min-width: 992px) {
    .analytics-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.analytics-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    transition: var(--transition-smooth);
}

.analytics-card:hover {
    border-color: var(--border-hover);
}

.analytics-card.analytics-chart-large {
    grid-column: 1 / -1;
}

.analytics-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.analytics-card-header h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.analytics-select {
    padding: 6px 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 12px;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

.analytics-select option {
    background: var(--bg-dark);
}

.chart-area {
    width: 100%;
    height: 240px;
    position: relative;
}

.chart-area.small {
    height: 160px;
}

.chart-pie {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-area canvas,
.chart-pie canvas {
    width: 100% !important;
    height: 100% !important;
}

/* ==========================================================================
   ADMIN TABLE EXTENSIONS
   ========================================================================== */
.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 16px;
    flex-wrap: wrap;
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.table-search {
    position: relative;
}

.table-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    pointer-events: none;
}

.table-search-input {
    width: 200px;
    padding: 8px 12px 8px 36px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 13px;
    outline: none;
    transition: var(--transition-smooth);
}

.table-search-input:focus {
    border-color: var(--accent-cyan);
    width: 260px;
}

.table-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    padding: 12px 0;
}

/* Admin Settings */
.admin-settings-grid-2col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media(min-width: 768px) {
    .admin-settings-grid-2col {
        grid-template-columns: 1fr 1fr;
        column-gap: 16px;
    }
}

/* ==========================================================================
   LIGHT THEME
   ========================================================================== */
[data-theme="light"] {
    --bg-dark: #f0ecf8;
    --bg-panel: rgba(255, 255, 255, 0.75);
    --bg-card: rgba(255, 255, 255, 0.65);
    --bg-card-hover: rgba(255, 255, 255, 0.85);
    --border-color: rgba(138, 43, 226, 0.15);
    --border-hover: rgba(0, 245, 255, 0.35);
    --text-main: #1a0f33;
    --text-secondary: #6b5e8a;
    --text-muted: #a69bc0;
    --shadow-neon: 0 0 20px rgba(138, 43, 226, 0.12);
    --shadow-cyan: 0 0 20px rgba(0, 245, 255, 0.1);
}

[data-theme="light"] .admin-sidebar {
    background: rgba(255, 255, 255, 0.92);
    border-right-color: rgba(138, 43, 226, 0.1);
}

[data-theme="light"] .admin-topbar {
    background: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .topbar-dropdown,
[data-theme="light"] .topbar-profile-dropdown {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .sidebar-item.active {
    background: linear-gradient(135deg, rgba(138,43,226,0.1), rgba(0,245,255,0.06));
}

[data-theme="light"] .stat-card {
    background: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .stats-grid .stat-card:hover {
    box-shadow: 0 12px 30px rgba(138, 43, 226, 0.08);
}

[data-theme="light"] .admin-tab-btn.active {
    background: linear-gradient(135deg, rgba(138,43,226,0.08), rgba(0,245,255,0.06));
}

[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
    color: var(--text-main);
}

/* ==========================================================================
   RESPONSIVE ADMIN
   ========================================================================== */
@media(max-width: 1200px) {
    .admin-sidebar:not(.collapsed) {
        width: 240px;
    }
    .admin-main-wrapper {
        margin-left: 240px;
    }
    .admin-sidebar.collapsed {
        width: 64px;
    }
    .admin-main-wrapper.expanded {
        margin-left: 64px;
    }
}

@media(max-width: 991px) {
    .admin-sidebar {
        transform: translateX(-100%);
        width: 280px !important;
    }
    .admin-sidebar.open {
        transform: translateX(0);
    }
    .admin-sidebar.collapsed {
        transform: translateX(-100%);
        width: 280px !important;
    }
    .admin-sidebar.collapsed.open {
        transform: translateX(0);
    }
    .admin-sidebar.collapsed .sidebar-logo-text,
    .admin-sidebar.collapsed .sidebar-search-input,
    .admin-sidebar.collapsed .sidebar-kbd,
    .admin-sidebar.collapsed .sidebar-group-label,
    .admin-sidebar.collapsed .sidebar-item span,
    .admin-sidebar.collapsed .sidebar-user-info,
    .admin-sidebar.collapsed .sidebar-search-icon,
    .admin-sidebar.collapsed .sidebar-collapse-btn {
        display: flex;
    }
    .admin-sidebar.collapsed .sidebar-item,
    .admin-sidebar.collapsed .sidebar-brand,
    .admin-sidebar.collapsed .sidebar-user {
        justify-content: flex-start;
        padding: initial;
    }
    .admin-sidebar.collapsed .sidebar-nav {
        padding: 12px 12px;
    }
    .sidebar-overlay {
        display: block;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .sidebar-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }
    .admin-main-wrapper,
    .admin-main-wrapper.expanded {
        margin-left: 0;
    }
    .topbar-mobile-toggle {
        display: flex;
    }
}

@media(max-width: 768px) {
    .topbar-search {
        display: none;
    }
    .admin-content {
        padding: 16px;
    }
    .topbar-greeting .topbar-subtitle {
        display: none;
    }
    .stats-grid {
        gap: 12px;
    }
    .quick-actions {
        gap: 8px;
    }
    .quick-action-card {
        padding: 10px 14px;
        font-size: 12px;
    }
    .admin-tabs-scroll {
        gap: 4px;
    }
    .admin-tab-btn {
        padding: 8px 12px;
        font-size: 11px;
    }
    .admin-tab-btn span {
        display: none;
    }
    .analytics-card {
        padding: 16px;
    }
    .table-header {
        flex-direction: column;
        align-items: stretch;
    }
    .table-actions {
        justify-content: flex-start;
    }
    .table-search-input {
        width: 160px;
    }
}

/* ==========================================================================
   SPARKLINE SVG STYLES
   ========================================================================== */
.sparkline-svg {
    width: 100%;
    height: 100%;
}

.sparkline-path {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sparkline-fill {
    opacity: 0.15;
}

/* ==========================================================================
   SCROLLABLE SIDEBAR GROUP
   ========================================================================== */
.sidebar-nav::-webkit-scrollbar {
    width: 3px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

/* ==========================================================================
   FAB (Floating Action Button)
   ========================================================================== */
.admin-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.35);
    z-index: 50;
    transition: var(--transition-smooth);
}

.admin-fab i {
    width: 24px;
    height: 24px;
}

.admin-fab:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 245, 255, 0.3);
}

.admin-fab:active {
    transform: translateY(0) scale(0.95);
}

/* ==========================================================================
   MISC ADMIN HELPERS
   ========================================================================== */
.text-danger {
    color: #ff3b69 !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.badge-info {
    background: rgba(0, 245, 255, 0.1);
    color: var(--accent-cyan);
}

.badge-success {
    background: rgba(0, 255, 135, 0.1);
    color: var(--accent-emerald);
}

.badge-primary {
    background: rgba(138, 43, 226, 0.1);
    color: var(--accent-purple);
}

.actions-cell {
    display: flex;
    gap: 6px;
    align-items: center;
}

.btn-action {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-action:hover {
    background: rgba(255,255,255,0.04);
}

/* Row checkbox styling */
.row-checkbox {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-cyan);
    cursor: pointer;
}

/* Remove duplicate text-danger that may appear earlier */
.admin-sidebar + .text-danger { /* reset context */
}

/* Analytics summary cards inside analytics tab */
.analytics-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.analytics-summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.analytics-summary-card h4 {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.analytics-summary-card span {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
}

/* Import CSV / Upload / 2FA modals additional styles */
#my-2fa-qr-img {
    width: 180px;
    height: 180px;
}

/* Ensure the customer exports CSV button inherits our button style */
#export-customers-csv {
    white-space: nowrap;
}

/* User Management Module Styles */
.um-info-grid div {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.um-info-grid div strong {
    color: var(--text-main);
    display: inline-block;
    min-width: 110px;
}
#um-p-account-status div {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 12px;
}
#um-p-account-status div strong {
    color: var(--text-main);
    display: inline-block;
    min-width: 120px;
}
#um-p-stats .profile-stat-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 10px;
    padding: 10px 14px;
    text-align: center;
    min-width: 90px;
}
#um-p-stats .profile-stat-card .ps-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
}
#um-p-stats .profile-stat-card .ps-label {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
}
.um-profile-subtab.active {
    background: rgba(124,58,237,0.15) !important;
    border-color: #7C3AED !important;
    color: #7C3AED !important;
}
#um-table th {
    font-size: 11px;
    white-space: nowrap;
    padding: 8px 6px;
    background: rgba(255,255,255,0.02);
}
#um-table td {
    font-size: 12px;
    padding: 8px 6px;
    vertical-align: middle;
}
.btn-xs {
    padding: 3px 7px;
    font-size: 11px;
    border-radius: 6px;
}
.form-control-sm {
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 8px;
}
#um-filter-status, #um-filter-verified, #um-filter-role, #um-filter-sort {
    cursor: pointer;
}
.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(124,58,237,0.15);
    border-top-color: #7C3AED;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.status-badge.completed {
    background: rgba(16,185,129,0.12);
    border: 1px solid rgba(16,185,129,0.2);
    color: #10B981;
    border-radius: 20px;
}
.status-badge.pending {
    background: rgba(245,158,11,0.12);
    border: 1px solid rgba(245,158,11,0.2);
    color: #F59E0B;
    border-radius: 20px;
}
.status-badge.rejected {
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.2);
    color: #ef4444;
    border-radius: 20px;
}
#um-pages .btn.active {
    background: #7C3AED !important;
    color: #fff !important;
    border-color: #7C3AED !important;
}

/* ==========================================================================
   PRODUCTION RESPONSIVE OPTIMIZATIONS & ANTI-ZOOM UTILITIES (320px - 1920px)
   ========================================================================== */

/* 1. Global Viewport & Text Adjustments */
html, body {
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

img, video, iframe, svg, canvas {
    max-width: 100%;
    height: auto;
}

/* 2. Touch Target & Mobile Input Zoom Prevention */
@media (max-width: 768px) {
    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* 3. Responsive Table Wrappers */
.table-responsive, .table-wrapper, .admin-table-wrap, .reseller-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
    border-radius: var(--radius-md, 12px);
}

table {
    width: 100%;
    border-collapse: collapse;
}

table td.wrap-text, table th.wrap-text, .text-wrap {
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

/* 4. Responsive Modals & Containers */
.modal-glass, .card-glass, .auth-card, .notif-dropdown, .dialog-content {
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .modal-glass, .auth-card, .card-glass {
        padding: 20px 16px !important;
        border-radius: 16px !important;
    }
    .btn {
        min-height: 42px;
    }
}

/* 5. Fluid Grid Breakpoints */
@media (max-width: 1200px) {
    .products-grid, .fp-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 991px) {
    .products-grid, .fp-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
    .products-grid, .fp-grid, .stats-grid { grid-template-columns: 1fr !important; }
    .product-card, .stat-card { width: 100% !important; box-sizing: border-box !important; }
}
