/* Black & Gold Luxury Overhaul Design System */
:root {
    /* Futuristic Fintech Palette */
    --gold-primary: #d8a93a;
    --gold-secondary: #f1cc68;
    --gold-dark: #b0872a;
    --gold-glow: rgba(216, 169, 58, 0.4);
    
    --bg-black: #05070d;
    --bg-navy: #0a0f1f;
    --bg-cinematic: radial-gradient(circle at top left, rgba(0, 180, 255, 0.18), transparent 35%),
                    radial-gradient(circle at bottom right, rgba(128, 0, 255, 0.18), transparent 35%),
                    linear-gradient(180deg, #05070d 0%, #0a0f1f 100%);
    
    --cyan-glow: rgba(0, 180, 255, 0.25);
    --purple-glow: rgba(128, 0, 255, 0.22);
    
    --card-bg: linear-gradient(145deg, rgba(20, 24, 35, 0.92), rgba(10, 12, 20, 0.96));
    --card-border: rgba(80, 120, 255, 0.18);
    --card-shadow: 0 0 20px rgba(0, 140, 255, 0.10), 
                   0 0 40px rgba(128, 0, 255, 0.08), 
                   inset 0 1px 0 rgba(255, 255, 255, 0.03);
    
    --glass-blur: 20px;
    --transition-premium: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    
    --text-white: #ffffff;
    --text-muted: #8b95b3;
    --text-gold: #d8a93a;
}

/* Global Typography & Fintech Aesthetics */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--gold-primary) var(--bg-black);
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-black);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 10px;
    box-shadow: 0 0 10px var(--gold-glow);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-white) !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
}

.text-muted, p, span {
    color: var(--text-muted);
}

.text-gold, .stat-header, label {
    color: var(--text-gold) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
}

i[data-feather], svg {
    color: var(--text-gold);
    filter: drop-shadow(0 0 5px var(--gold-glow));
}

/* Global Dark Mode Force Overrides */
body, .page-wrapper, .page-body-wrapper, .page-body, .page-header, .sidebar-wrapper, .sidebar-main, .footer, .footer-luxury {
    background: var(--bg-black) !important;
    color: var(--text-white) !important;
}

.card, .modern-card, .modern-card-luxury, .dash-card, .meta-card-luxury, .auth-card {
    background: var(--card-bg) !important;
    border: 1px solid var(--card-border) !important;
    box-shadow: var(--card-shadow) !important;
    color: var(--text-white) !important;
    border-radius: 24px !important;
}

.table, .sovereign-table, .table td, .table th, .table tr {
    background-color: transparent !important;
    color: var(--text-muted) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

input, select, textarea, .form-control {
    background: rgba(255, 255, 255, 0.03) !important;
    color: var(--text-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    border-radius: 12px !important;
}

input:focus, select:focus, textarea:focus, .form-control:focus {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(0, 180, 255, 0.45) !important;
    box-shadow: 0 0 18px rgba(0, 180, 255, 0.18) !important;
    color: var(--text-white) !important;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-cinematic);
    z-index: -1;
    pointer-events: none;
}

/* Luxury Glassmorphism Cards */
.modern-card, .modern-card-luxury, .meta-card-luxury {
    background: var(--card-bg) !important;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border) !important;
    border-radius: 24px !important;
    padding: 30px;
    box-shadow: var(--card-shadow) !important;
    transition: var(--transition-premium) !important;
    position: relative;
    overflow: hidden;
}

.modern-card:hover, .modern-card-luxury:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(0, 180, 255, 0.4) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
                0 0 30px var(--cyan-glow),
                0 0 60px var(--purple-glow) !important;
}

.modern-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transition: 0.8s;
}

.modern-card:hover::after {
    left: 100%;
}

.luxury-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    border-radius: 24px;
}

/* Premium Buttons */
.btn-premium, .btn-sovereign-primary, .btn-primary {
    background: linear-gradient(90deg, #d8a93a, #f1cc68) !important;
    color: #000 !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 14px 32px;
    font-weight: 800;
    letter-spacing: 1.5px;
    transition: var(--transition-premium) !important;
    box-shadow: 0 4px 20px var(--gold-glow) !important;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-premium:hover, .btn-sovereign-primary:hover, .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--gold-glow), 0 0 15px rgba(216, 169, 58, 0.3) !important;
    opacity: 0.9;
}

.btn-secondary, .btn-outline-gold, .btn-sovereign-outline {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(80, 120, 255, 0.3) !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 12px 28px;
    font-weight: 700;
    transition: var(--transition-premium);
}

.btn-secondary:hover, .btn-outline-gold:hover, .btn-sovereign-outline:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(0, 180, 255, 0.6) !important;
    box-shadow: 0 0 20px rgba(0, 180, 255, 0.2);
}

/* --- Navigation & Header --- */
.sidebar-wrapper, .sidebar, .dash-sidebar {
    background: linear-gradient(180deg, rgba(14, 18, 28, 0.96), rgba(8, 10, 18, 0.98)) !important;
    backdrop-filter: blur(var(--glass-blur));
    border-right: 1px solid rgba(255, 255, 255, 0.04) !important;
    width: 280px !important;
    height: 100vh !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1000 !important;
    transition: var(--transition-premium);
}

.sidebar-link-luxury, .nav-link-luxury {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 25px;
    color: var(--text-muted) !important;
    text-decoration: none !important;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-premium);
    border-left: 3px solid transparent;
}

.sidebar-link-luxury:hover, .nav-link-luxury:hover {
    color: var(--text-white) !important;
    background: rgba(255, 255, 255, 0.03);
    padding-left: 30px;
}

.sidebar-link-luxury.active, .nav-link-luxury.active {
    color: var(--gold-primary) !important;
    background: linear-gradient(90deg, rgba(216, 169, 58, 0.1), transparent);
    border-left-color: var(--gold-primary);
    font-weight: 800;
}

.sidebar-link-luxury.active i, .sidebar-link-luxury.active svg {
    filter: drop-shadow(0 0 8px var(--gold-glow));
    opacity: 1;
}

/* Header & Navigation */
.page-header, .top-navbar, .main-header {
    background: rgba(10, 15, 31, 0.8) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    height: 70px !important;
    z-index: 999 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nav-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 12px 20px 12px 45px;
    color: #fff;
    font-size: 0.85rem;
    transition: var(--transition-premium);
    backdrop-filter: blur(10px);
}

.nav-search-input:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 180, 255, 0.45);
    outline: none;
    box-shadow: 0 0 18px rgba(0, 180, 255, 0.18);
}

.search-icon {
    position: absolute;
    left: 18px;
    color: var(--gold-primary);
    width: 16px;
}

.nav-link-premium {
    color: #888;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s;
}

.nav-link-premium:hover, .nav-link-premium.active {
    color: var(--gold-primary);
}

.nav-link-premium.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-primary);
    box-shadow: 0 0 10px var(--gold-primary);
}

.nav-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-luxury {
    background: #0a0a0a;
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    border-radius: 12px;
    padding: 10px;
    margin-top: 15px;
}

.dropdown-luxury .dropdown-item {
    color: #888;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s;
}

.dropdown-luxury .dropdown-item:hover {
    background: rgba(212, 175, 55, 0.05);
    color: var(--gold-primary);
}

.nav-icon-link {
    color: #fff;
    transition: all 0.3s;
}

.nav-icon-link:hover {
    color: var(--gold-primary);
    transform: translateY(-2px);
}

.cart-badge-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 50%;
    border: 2px solid #000;
}

/* --- Premium Footer --- */
.luxury-footer {
    background: #000;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-brand-desc {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.8;
    margin-top: 20px;
}

.footer-heading {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.footer-link {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
    display: block;
    margin-bottom: 12px;
}

.footer-link:hover {
    color: var(--gold-primary);
    transform: translateX(5px);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.social-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: all 0.3s;
}

.social-circle:hover {
    background: var(--gold-primary);
    color: #000;
    border-color: var(--gold-primary);
    transform: translateY(-5px);
}

/* --- Cinematic Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes reveal {
    from { clip-path: inset(0 0 100% 0); transform: translateY(50px); }
    to { clip-path: inset(0 0 0 0); transform: translateY(0); }
}

@keyframes shine {
    to { background-position: 200% center; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

.animate-up { animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; opacity: 0; }
.animate-up-delayed { animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s forwards; opacity: 0; }
.animate-up-delayed-2 { animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) 0.4s forwards; opacity: 0; }
.animate-up-delayed-3 { animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) 0.6s forwards; opacity: 0; }
.animate-up-delayed-4 { animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) 0.8s forwards; opacity: 0; }

.animate-fade-in { animation: fadeIn 1s ease forwards; }
.animate-fade-in-delayed { animation: fadeIn 1s ease 0.4s forwards; opacity: 0; }
.animate-fade-in-delayed-2 { animation: fadeIn 1s ease 0.8s forwards; opacity: 0; }

.animate-reveal { animation: reveal 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; }
.animate-bounce { animation: bounce 2s infinite; }

.animate-left { animation: fadeInLeft 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; opacity: 0; }
.animate-right { animation: fadeInRight 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; opacity: 0; }

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
.animate-zoom { animation: zoomIn 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; opacity: 0; }

/* --- High-Fidelity UI Components --- */
.gold-badge {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.scroll-indicator-luxury {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold-primary), transparent);
}

.glow-orb-large {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(50px);
}

.shadow-gold {
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 40px rgba(212, 175, 55, 0.05);
}

.bg-black-glass {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.stat-mini {
    padding: 20px;
    border-left: 2px solid var(--gold-primary);
    background: rgba(255, 255, 255, 0.02);
}

.line-height-1-8 { line-height: 1.8; }
.mt-100 { margin-top: 100px; }
.py-100 { padding-top: 100px; padding-bottom: 100px; }

/* Safar e Future Specialized Button */
.btn-safar-future {
    position: relative;
    padding: 12px 32px;
    background: rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    color: var(--gold-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    overflow: hidden;
    transition: var(--transition-luxury);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.btn-safar-future:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold-primary);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.4), inset 0 0 10px rgba(212, 175, 55, 0.2);
    transform: translateY(-3px) scale(1.05);
    color: #fff;
}

.btn-safar-future:active {
    transform: scale(0.95);
}

.btn-safar-future .btn-text {
    position: relative;
    z-index: 2;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.btn-safar-future::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease-out;
    z-index: 1;
}

.btn-safar-future:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.btn-safar-future:hover .btn-glow {
    left: 100%;
}

/* Modern Inputs */
.modern-input {
    background: rgba(15, 23, 42, 0.5) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 12px !important;
    color: white !important;
    padding: 12px 18px !important;
    transition: var(--transition-smooth) !important;
    backdrop-filter: blur(10px);
}

.modern-input:focus {
    background: rgba(15, 23, 42, 0.8) !important;
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.15) !important;
    outline: none;
}

/* Navigation Overhaul */
.header-common {
    background: rgba(10, 12, 16, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500 !important;
    transition: var(--transition-smooth) !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color) !important;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* --- ENHANCED ANIMATIONS & HERO EFFECTS --- */
@keyframes float {
    0% { transform: translateY(0px); filter: drop-shadow(0 5px 15px rgba(0, 210, 255, 0.2)); }
    50% { transform: translateY(-10px); filter: drop-shadow(0 25px 25px rgba(0, 210, 255, 0.4)); }
    100% { transform: translateY(0px); filter: drop-shadow(0 5px 15px rgba(0, 210, 255, 0.2)); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.text-gradient {
    background: linear-gradient(135deg, var(--gold-secondary) 0%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.hero-section h1 {
    font-size: 5rem !important;
    letter-spacing: -2px !important;
}

.hero-section .lead {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Stats Cards */
.stat-box {
    text-align: center;
    padding: 20px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Dashboard Layout System (Matches Image) */
.dash-sidebar {
    background: #0a0a0a;
    border-right: 1px solid rgba(212, 175, 55, 0.1);
    height: 100vh;
    position: fixed;
    width: 260px;
    z-index: 1000;
}

.dash-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.dash-nav-link i {
    width: 20px;
    text-align: center;
}

.dash-nav-link:hover {
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
}

.dash-nav-link.active {
    background: var(--gold-primary);
    color: #000;
    font-weight: 700;
}

.dash-nav-link.active i {
    color: #000;
}

/* Dashboard Cards (Matches Image) */
.dash-card {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    height: 100%;
}

/* Tables & Data Grids */
.table, .sovereign-table {
    border-collapse: separate !important;
    border-spacing: 0 8px !important;
}

.table tr, .sovereign-table tr {
    background: rgba(255, 255, 255, 0.02) !important;
    transition: var(--transition-premium);
}

.table tr:hover, .sovereign-table tr:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    transform: scale(1.002);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.table th, .sovereign-table th {
    border: none !important;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-gold) !important;
    padding: 15px 20px !important;
}

.table td, .sovereign-table td {
    border: none !important;
    padding: 15px 20px !important;
    vertical-align: middle;
}

/* Modals & Popups */
.modal-content {
    background: var(--card-bg) !important;
    backdrop-filter: blur(30px) !important;
    border: 1px solid var(--card-border) !important;
    border-radius: 28px !important;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), 0 0 50px rgba(128, 0, 255, 0.1) !important;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(10px);
}

/* Alerts & Notifications */
.alert {
    border-radius: 16px !important;
    border: 1px solid transparent !important;
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(10px);
    color: #fff !important;
    padding: 20px !important;
}

.alert-success { border-color: rgba(0, 255, 128, 0.2) !important; box-shadow: 0 0 20px rgba(0, 255, 128, 0.05); }
.alert-danger { border-color: rgba(255, 71, 87, 0.2) !important; box-shadow: 0 0 20px rgba(255, 71, 87, 0.05); }

/* Mobile Enhancements */
@media (max-width: 991px) {
    .sidebar, .sidebar-wrapper, .dash-sidebar {
        transform: translateX(-100%);
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.8);
    }
    
    .sidebar.show, .sidebar-wrapper.show, .dash-sidebar.show {
        transform: translateX(0);
    }
    
    .main-content, .page-header {
        left: 0 !important;
        width: 100% !important;
    }
    
    .card, .modern-card {
        padding: 20px !important;
        border-radius: 20px !important;
    }
}

.dash-card-gold { border-color: rgba(212, 175, 55, 0.3); }
.dash-card-green { border-color: rgba(0, 200, 83, 0.3); }
.dash-card-blue { border-color: rgba(41, 121, 255, 0.3); }

.stat-header {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.stat-value-main {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
}

.stat-sub-value {
    color: var(--gold-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.section-title-gold {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.section-title-gold i {
    color: var(--gold-primary);
    font-size: 1.1rem;
}

/* --- Executive Admin Command Center --- */
.sidebar-wrapper {
    background: var(--bg-navy) !important;
    border-right: 1px solid var(--card-border) !important;
    width: 280px !important;
    height: 100vh !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1000 !important;
    transition: var(--transition-premium);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.3);
}

.logo-box-gold {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 950;
    font-size: 1.25rem;
    box-shadow: 0 0 20px var(--gold-glow);
}

.sidebar-section-header {
    color: var(--text-muted);
    opacity: 0.4;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 35px 25px 15px;
}

.sidebar-link-luxury {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 25px;
    color: var(--text-muted) !important;
    text-decoration: none !important;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-premium);
    border-left: 3px solid transparent;
}

.sidebar-link-luxury:hover {
    color: var(--text-white) !important;
    background: rgba(255, 255, 255, 0.03);
    padding-left: 30px;
}

.sidebar-link-luxury.active {
    color: var(--gold-primary) !important;
    background: linear-gradient(90deg, rgba(216, 169, 58, 0.1), transparent);
    border-left-color: var(--gold-primary);
    font-weight: 800;
}

.sidebar-link-luxury i, .sidebar-link-luxury svg {
    width: 18px;
    height: 18px;
    opacity: 0.5;
    transition: var(--transition-premium);
}

.sidebar-link-luxury.active i, .sidebar-link-luxury.active svg {
    opacity: 1;
    color: var(--gold-primary);
    filter: drop-shadow(0 0 5px var(--gold-glow));
}

.sidebar-submenu-luxury {
    list-style: none;
    padding: 5px 0 15px 58px;
    background: rgba(0, 0, 0, 0.1);
}

.sidebar-submenu-luxury li a {
    display: block;
    padding: 8px 0;
    color: var(--text-muted) !important;
    font-size: 0.8rem;
    text-decoration: none !important;
    transition: var(--transition-premium);
}

.sidebar-submenu-luxury li a:hover {
    color: var(--gold-primary) !important;
    padding-left: 10px;
}

/* Header Components */
.page-header {
    background: rgba(10, 12, 20, 0.8) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border) !important;
    height: 70px !important;
    left: 280px !important;
    z-index: 999 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.search-input-luxury {
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 15px;
    width: 300px;
    font-size: 0.85rem;
}

.search-input-luxury:focus { outline: none; }

.notification-trigger-luxury, .profile-trigger-luxury {
    cursor: pointer;
    position: relative;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s;
}

.notification-trigger-luxury:hover, .profile-trigger-luxury:hover { color: #fff; }

.pulse-dot-gold {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold-primary);
}

.profile-avatar-gold {
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
}

.dropdown-item-luxury {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 10px;
    transition: all 0.3s;
}

.dropdown-item-luxury:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #fff !important;
}

.dropdown-item-luxury i { width: 16px; height: 16px; }

/* Custom Admin Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, 0.2); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-primary); }

/* Dashboard Buttons */
.btn-dash-primary {
    background: var(--gold-primary);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    width: 100%;
}

.btn-dash-outline {
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    width: 100%;
}

.btn-dash-primary:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-dash-outline:hover { background: rgba(212, 175, 55, 0.1); }


/* Table Overhaul */
.table {
    color: var(--text-main) !important;
}

.table thead th {
    border-bottom: 2px solid var(--glass-border) !important;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.table td {
    border-bottom: 1px solid var(--glass-border) !important;
    padding: 16px 8px !important;
    vertical-align: middle;
}

/* Header Overhaul */
/* --- HEADER & NAVIGATION SYSTEM OVERHAUL --- */
.header-common {
    background: rgba(10, 12, 16, 0.92) !important;
    backdrop-filter: blur(25px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 12px 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
}

/* Icon Menu Container */
.icon-menu {
    display: flex !important;
    align-items: center !important;
    gap: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.icon-menu li {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    padding: 5px !important;
}

/* Base Dropdown Override - High Specificity */
.icon-menu .dropdown .onhover-show-div,
.icon-menu .shopingbag .onhover-show-div,
.icon-menu .whislist-dropdown .onhover-show-div,
.icon-menu .user-dropdown .onhover-show-div {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    right: -10px !important;
    left: auto !important;
    background: rgba(15, 20, 25, 0.98) !important;
    backdrop-filter: blur(40px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8) !important;
    padding: 24px !important;
    min-width: 300px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px) scale(0.95) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    z-index: 10000 !important;
    pointer-events: none !important;
}

/* Show on Hover - High Specificity */
.icon-menu li:hover > .dropdown .onhover-show-div,
.icon-menu li:hover .onhover-show-div,
.icon-menu .dropdown:hover .onhover-show-div,
.icon-menu .user-dropdown:hover .onhover-show-div,
.icon-menu .whislist-dropdown:hover .onhover-show-div,
.icon-menu .shopingbag:hover .onhover-show-div {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(12px) scale(1) !important;
    pointer-events: auto !important;
}

/* Dropdown Links & Buttons */
.onhover-show-div li {
    display: block !important;
    width: 100% !important;
    margin-bottom: 8px !important;
}

.onhover-show-div li a {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 12px 18px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    background: rgba(255, 255, 255, 0.03) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
}

.onhover-show-div li a:hover {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.15), rgba(58, 123, 213, 0.15)) !important;
    color: var(--accent-color) !important;
    border-color: rgba(0, 210, 255, 0.3) !important;
    transform: translateX(5px) !important;
}

/* Cart Item Cards */
.cart-card.media {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 15px !important;
    padding: 12px !important;
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.cart-card img {
    border-radius: 10px !important;
    width: 60px !important;
    height: 60px !important;
    object-fit: cover !important;
}

/* Notification Label */
.notification-label {
    position: absolute !important;
    top: -4px !important;
    right: -8px !important;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary)) !important;
    color: #000 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #0a0c10 !important;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.4) !important;
}

/* Logo & Global Header Fixes */
.logo-link img {
    height: 48px !important;
    filter: drop-shadow(0 0 15px rgba(0, 210, 255, 0.3)) !important;
}

.menu-right {
    display: flex !important;
    align-items: center !important;
}

/* Offcanvas & Mobile Menu Overhaul */
.offcanvas {
    background: rgba(10, 12, 16, 0.95) !important;
    backdrop-filter: blur(30px) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    z-index: 10001 !important;
}

.offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 20px !important;
}

.offcanvas-body {
    padding: 25px !important;
}

/* Navbar Nav & Dropdowns */
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    padding: 12px 15px !important;
    transition: all 0.3s ease !important;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 10px !important;
}

/* Main Navigation Dropdowns (Desktop & Mobile) */
.navbar-nav .dropdown-menu {
    background: rgba(15, 20, 25, 0.98) !important;
    backdrop-filter: blur(40px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7) !important;
    padding: 20px !important;
    min-width: 250px !important;
}

.navbar-nav .dropdown-item {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 10px 18px !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
}

.navbar-nav .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--accent-color) !important;
    transform: translateX(8px) !important;
}

/* Mega Menu Support */
.dropdown-mega .dropdown-menu {
    max-width: 90vw !important;
    margin-top: 15px !important;
}

/* Footer Overhaul */
.footer-document {
    background: rgba(5, 6, 8, 0.95) !important;
    backdrop-filter: blur(30px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 80px 0 40px !important;
    margin-top: 80px !important;
}

.footer-document h5.heading-footer {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 25px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
}

.footer-document ul {
    padding: 0 !important;
    list-style: none !important;
}

.footer-document ul li {
    margin-bottom: 15px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.footer-document ul li a, 
.footer-document ul li span {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-size: 0.95rem !important;
}

.footer-document ul li a:hover {
    color: var(--accent-color) !important;
    padding-left: 8px !important;
}

.footer-document i {
    color: var(--accent-color) !important;
    width: 18px !important;
    height: 18px !important;
}

.footer-document ul {
    padding: 0;
    list-style: none;
}

.footer-document ul li {
    margin-bottom: 12px;
}

.footer-document ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.9rem;
}

.footer-document ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 10px 15px;
    color: white;
    flex: 1;
}

.sub-footer {
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
    padding-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Product Card Overhaul */
.product-card {
    background: var(--glass-bg);
    backdrop-filter: var(--card-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 15px;
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.1);
}

.product-image-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-container img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.product-card:hover .product-image-container img {
    transform: scale(1.1);
}

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-regular {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
}

.price-old {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.profit-badge {
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-color);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* Category Icons */
.cat-item {
    transition: var(--transition-smooth);
    text-align: center;
}

.cat-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    transition: var(--transition-smooth);
    padding: 10px;
}

.cat-item:hover .cat-icon-wrap {
    border-color: var(--accent-color);
    background: rgba(0, 210, 255, 0.05);
    transform: rotate(10deg) scale(1.1);
}

.cat-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.cat-item:hover .cat-name {
    color: var(--accent-color);
}

/* Product Details Page Styles */
.product-page {
    padding: 60px 0;
}

.product-detail-box {
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.product-detail-box h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-box-large {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.price-box-large .current {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
}

.price-box-large .old {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: var(--text-muted);
}

.delivery-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Pagination, Tabs & Dropdowns */
.pagination .page-link {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: var(--text-muted) !important;
    margin: 0 3px;
    border-radius: 8px !important;
    transition: var(--transition-premium);
}

.pagination .page-item.active .page-link {
    background: var(--gold-primary) !important;
    color: #000 !important;
    border-color: var(--gold-primary) !important;
    box-shadow: 0 0 15px var(--gold-glow);
}

.nav-tabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    gap: 10px;
}

.nav-tabs .nav-link {
    border: none !important;
    color: var(--text-muted) !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 12px 20px;
    transition: var(--transition-premium);
}

.nav-tabs .nav-link.active {
    background: transparent !important;
    color: var(--gold-primary) !important;
    border-bottom: 2px solid var(--gold-primary) !important;
}

.dropdown-menu {
    background: rgba(14, 18, 28, 0.95) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    padding: 10px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
}

.dropdown-item {
    color: var(--text-muted) !important;
    border-radius: 8px !important;
    padding: 10px 15px !important;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition-premium);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-white) !important;
    padding-left: 20px;
}

/* --- Mobile Performance & UI Optimization --- */
.mobile-toggle-btn {
    background: transparent;
    border: none;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 1100;
    transition: var(--transition-premium);
}

.hamburger-line {
    width: 26px;
    height: 2px;
    background: var(--text-white);
    border-radius: 10px;
    transition: var(--transition-premium);
    display: block;
}

.mobile-toggle-btn:hover .hamburger-line:nth-child(1) { width: 100%; }
.mobile-toggle-btn:hover .hamburger-line:nth-child(2) { width: 80%; }
.mobile-toggle-btn:hover .hamburger-line:nth-child(3) { width: 100%; }

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    color: var(--text-muted) !important;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-decoration: none !important;
    border-radius: 12px;
    transition: var(--transition-premium);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    text-transform: uppercase;
}

.mobile-nav-link i {
    color: var(--gold-primary);
    width: 18px;
    height: 18px;
}

.mobile-nav-link.active {
    background: linear-gradient(90deg, rgba(216, 169, 58, 0.1), transparent);
    color: var(--text-white) !important;
    border-color: rgba(216, 169, 58, 0.2);
    box-shadow: inset 3px 0 0 var(--gold-primary);
}

.btn-close-luxury {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-premium);
}

.btn-close-luxury:hover {
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
    border-color: rgba(255, 71, 87, 0.2);
}

.logo-box-gold.sm {
    width: 36px;
    height: 36px;
    background: var(--gold-primary);
    color: #000;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 0 15px var(--gold-glow);
}

/* Performance Tweaks */
img {
    content-visibility: auto;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991px) {
    .luxury-hero {
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 3.5rem !important;
        margin-bottom: 20px !important;
    }
    
    .hero-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 30px !important;
    }
    
    .hero-image-wrap {
        margin-bottom: 40px;
    }
    
    section {
        padding: 60px 0 !important;
    }
}

/* Smooth Scrolling Fixes */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

.delivery-badge i {
    color: var(--accent-color);
    width: 18px;
}

.tab-nav-modern {
    display: flex;
    gap: 15px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 30px;
}

.tab-nav-modern .nav-link {
    background: none !important;
    border: none !important;
    color: var(--text-muted) !important;
    padding: 15px 25px;
    font-weight: 600;
    position: relative;
    transition: var(--transition-smooth);
}

.tab-nav-modern .nav-link.active {
    color: var(--accent-color) !important;
}

.tab-nav-modern .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.thumbnail-img-box img {
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.thumbnail-img-box img:hover {
    border-color: var(--accent-color);
}


/* Administrative Dashboard Extensions */

/* Modern Tables */
.modern-table {
    border-collapse: separate;
    border-spacing: 0 10px;
    background: transparent !important;
}

.modern-table thead th {
    background: rgba(255, 255, 255, 0.03);
    border: none !important;
    padding: 15px 20px !important;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 12px;
}

.modern-table tbody tr {
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition-smooth);
}

.modern-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.005);
}

.modern-table td {
    border: none !important;
    padding: 15px 20px !important;
    background: transparent !important;
}

.modern-table tr td:first-child { border-radius: 15px 0 0 15px; }
.modern-table tr td:last-child { border-radius: 0 15px 15px 0; }

.modern-table.sm td {
    padding: 10px 15px !important;
}

/* Enhanced Buttons */
.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 10px 24px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-accent-soft {
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 12px;
    padding: 8px 20px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-accent-soft:hover {
    background: rgba(0, 210, 255, 0.2);
    color: var(--accent-color);
}

.btn-info-soft {
    background: rgba(112, 161, 255, 0.1);
    color: #70a1ff;
    border: 1px solid rgba(112, 161, 255, 0.2);
    border-radius: 12px;
    padding: 8px 20px;
    font-weight: 600;
    transition: var(--transition-smooth);
}
.btn-info-soft:hover {
    background: rgba(112, 161, 255, 0.2);
    color: #70a1ff;
}

.btn-success-soft {
    background: rgba(46, 213, 115, 0.1);
    color: #2ed573;
    border: 1px solid rgba(46, 213, 115, 0.2);
    border-radius: 12px;
    padding: 8px 20px;
    font-weight: 600;
    transition: var(--transition-smooth);
}
.btn-success-soft:hover {
    background: rgba(46, 213, 115, 0.2);
    color: #2ed573;
}

.btn-warning-soft {
    background: rgba(255, 165, 2, 0.1);
    color: #ffa502;
    border: 1px solid rgba(255, 165, 2, 0.2);
    border-radius: 12px;
    padding: 8px 20px;
    font-weight: 600;
    transition: var(--transition-smooth);
}
.btn-warning-soft:hover {
    background: rgba(255, 165, 2, 0.2);
    color: #ffa502;
}

.btn-white-10 {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px 16px;
    transition: var(--transition-smooth);
}
.btn-white-10:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.btn-danger-soft {
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
    border: 1px solid rgba(255, 71, 87, 0.2);
    border-radius: 12px;
}

/* Soft Backgrounds & Status */
.bg-accent-soft { background: rgba(0, 210, 255, 0.1) !important; }
.bg-success-soft { background: rgba(46, 213, 115, 0.1) !important; }
.bg-warning-soft { background: rgba(255, 165, 2, 0.1) !important; }
.bg-danger-soft { background: rgba(255, 71, 87, 0.1) !important; }
.bg-white-5 { background: rgba(255, 255, 255, 0.05) !important; }
.bg-white-10 { background: rgba(255, 255, 255, 0.1) !important; }

.text-accent { color: var(--accent-color) !important; }
.text-success { color: #2ed573 !important; }
.text-warning { color: #ffa502 !important; }
.text-danger { color: #ff4757 !important; }

.border-white-10 { border-color: rgba(255, 255, 255, 0.1) !important; }
.border-white-5 { border-color: rgba(255, 255, 255, 0.05) !important; }

/* Avatars & Icons */
.avatar-xl { width: 80px; height: 80px; }
.avatar-lg { width: 60px; height: 60px; }
.avatar-sm { width: 32px; height: 32px; }

.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.icon-box.sm { width: 32px; height: 32px; }

/* Modern Modals */
.modern-modal .modal-content {
    background: rgba(15, 20, 25, 0.8) !important;
    backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modern-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 24px;
}

.modern-modal .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 24px;
}

/* Utilities */
.blur-20 { backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.blur-25 { backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); }
.x-small { font-size: 0.7rem; }
.shadow-accent { box-shadow: 0 10px 20px rgba(0, 210, 255, 0.2); }
.hover-translate-y:hover { transform: translateY(-5px); }
.transition-all { transition: var(--transition-smooth); }
/* Modern Category & Hero Utilities */
.cat-item-modern {
    text-decoration: none !important;
    transition: var(--transition-smooth);
    width: 110px;
    padding: 10px;
}

.cat-icon-container {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    padding: 15px;
}

.cat-icon-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.cat-item-modern:hover .cat-icon-container {
    background: rgba(0, 210, 255, 0.05);
    border-color: var(--accent-color);
    transform: translateY(-8px) rotate(5deg);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.1);
}

.cat-item-modern:hover .cat-icon-container img {
    transform: scale(1.1);
}

.cat-title-modern {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
}

.cat-item-modern:hover .cat-title-modern {
    color: var(--accent-color);
}

/* Hero Section Utilities */
.hero-section {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.hero-section * {
    position: relative;
    z-index: 1;
}

/* Sovereign UI Component System */
.btn-sovereign-primary {
    background: var(--accent-color);
    color: #000;
    border: none;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-sovereign-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    color: #000;
}

.btn-sovereign-outline {
    background: transparent;
    color: var(--accent-color);
    border: 1px solid rgba(212, 175, 55, 0.3);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.btn-sovereign-outline:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.logo-box-gold {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    font-size: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.badge-sovereign {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.badge-sovereign.success { background: rgba(46, 213, 115, 0.1); color: #2ed573; border-color: rgba(46, 213, 115, 0.2); }
.badge-sovereign.warning { background: rgba(255, 165, 2, 0.1); color: #ffa502; border-color: rgba(255, 165, 2, 0.2); }
.badge-sovereign.danger { background: rgba(255, 71, 87, 0.1); color: #ff4757; border-color: rgba(255, 71, 87, 0.2); }

/* Animation Utility Overrides */
.animate-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-reveal {
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Custom Scrollbar for horizontal categories */
.custom-scrollbar::-webkit-scrollbar {
    height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Modern Forms Extension */
.modern-form .form-group label {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-outline-premium {
    background: transparent;
    color: white;
    border: 1px solid var(--accent-color);
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-outline-premium:hover {
    background: rgba(0, 210, 255, 0.1);
    border-color: var(--accent-secondary);
    color: var(--accent-color);
}

/* Search Bar Modernization */
.search-full {
    background: rgba(10, 12, 16, 0.95) !important;
    backdrop-filter: blur(30px) !important;
    z-index: 3000 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.search-full .input-group {
    max-width: 800px;
    margin: 100px auto 0 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    padding: 10px 20px !important;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5) !important;
}

.search-full .form-control {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 1.5rem !important;
    padding: 15px !important;
}

.search-full .input-group-text {
    background: transparent !important;
    border: none !important;
    color: var(--accent-color) !important;
}

.search-full .input-group-text i {
    width: 28px;
    height: 28px;
}

.close-search {
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-search:hover {
    color: #ff4757 !important;
    transform: rotate(90deg);
}

#product-list {
    max-width: 800px;
    margin: 20px auto;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* --- MOBILE RESPONSIVENESS SYSTEM --- */
@media (max-width: 991px) {
    :root {
        --sidebar-width: 0px;
    }
    
    .hero-section h1 {
        font-size: 3rem !important;
    }
    
    .modern-card {
        padding: 20px;
        border-radius: 18px;
    }
    
    /* Responsive Table Solution */
    .table-responsive {
        border: none !important;
        margin-bottom: 20px;
        overflow-x: auto;
    }
    
    /* Optional: Convert tables to cards on mobile for very small screens */
    @media (max-width: 768px) {
        .custom-table thead { display: none; }
        .custom-table, .custom-table tbody, .custom-table tr, .custom-table td {
            display: block;
            width: 100%;
        }
        .custom-table tr {
            background: rgba(255, 255, 255, 0.03);
            margin-bottom: 15px;
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 10px;
        }
        .custom-table td {
            text-align: right;
            padding: 10px 15px !important;
            position: relative;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        }
        .custom-table td::before {
            content: attr(data-label);
            position: absolute;
            left: 15px;
            width: 45%;
            text-align: left;
            font-weight: 700;
            color: var(--text-muted);
            font-size: 0.75rem;
            text-transform: uppercase;
        }
        .custom-table td:last-child { border-bottom: none !important; }
    }

    /* Mobile Sidebar Toggle Fix */
    .sidebar {
        width: 280px;
        left: -280px;
    }
    
    .sidebar.show {
        left: 0;
        box-shadow: 20px 0 50px rgba(0,0,0,0.8);
    }
    
    .main-content {
        padding: 100px 15px 30px !important;
        margin-left: 0 !important;
    }
    
    .top-navbar {
        left: 15px !important;
        right: 15px !important;
        padding: 0 15px !important;
        width: calc(100% - 30px) !important;
    }
}

/* Touch Optimizations */
@media (hover: none) {
    .modern-card:hover {
        transform: none !important;
    }
    .btn-premium:active {
        transform: scale(0.95);
    }
}

/* Utilities for Mobile Spacing */
@media (max-width: 768px) {
    .gap-mobile-3 { gap: 1rem !important; }
    .p-mobile-3 { padding: 1rem !important; }
    .m-mobile-0 { margin: 0 !important; }
    
    .display-1 { font-size: calc(1.625rem + 4.5vw) !important; }
    .display-2 { font-size: calc(1.575rem + 3.9vw) !important; }
}

/* Form Responsiveness */
.admin-input, .modern-input, .form-control {
    font-size: 16px !important; /* Prevents iOS auto-zoom on input focus */
}

/* --- PREMIUM NAVIGATION SYSTEM --- */
.header-2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    height: auto; /* Allow content to define height but restrict parts */
}

.top-header {
    background: rgba(7, 9, 12, 0.9) !important; /* Slightly more opaque for better legibility */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0; /* Removed extra padding */
    height: 70px; /* Tightened height */
    display: flex;
    align-items: center;
}

.navbar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
}

.nav-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 60px; /* Restricted height */
    width: auto;
    max-width: 200px; /* Ensure it doesn't push search too far */
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.3));
    transition: var(--transition-smooth);
}

.nav-logo:hover img {
    filter: drop-shadow(0 0 15px rgba(0, 210, 255, 0.6));
    transform: scale(1.02);
}

/* Floating Search Bar */
.middle-box {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    max-width: 600px;
}

.searchbar-box {
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 2px 5px;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.searchbar-box:focus-within {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
}

.searchbar-box .form-control {
    background: transparent !important;
    border: none !important;
    color: white !important;
    padding: 8px 20px !important;
    box-shadow: none !important;
    font-size: 14px;
    height: 36px;
}

.searchbar-box .search-button {
    background: var(--accent-color) !important;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: none;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.searchbar-box .search-button:hover {
    transform: scale(1.1);
    background: var(--accent-secondary) !important;
}

/* Action Icons */
.option-list ul {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-icon {
    position: relative;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 22px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.header-icon:hover {
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}

.badge-number {
    position: absolute;
    top: -8px;
    right: -10px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: white;
    font-size: 10px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-dark);
}

/* Fix for Account Dropdown visibility and layout push */
.onhover-div {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(7, 9, 12, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-width: 160px;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    box-shadow: var(--glass-shadow);
}

.onhover-dropdown:hover .onhover-div {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cart-list {
    list-style: none;
    margin: 0;
    padding: 15px !important;
}

.cart-list li a:hover {
    color: var(--accent-color) !important;
}

/* Category & Main Nav */
.main-nav {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 8px 0;
}

.dropdown-category {
    background: rgba(0, 210, 255, 0.1) !important;
    border: 1px solid rgba(0, 210, 255, 0.2) !important;
    color: var(--accent-color) !important;
    border-radius: 12px !important;
    padding: 8px 20px !important;
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.dropdown-category:hover {
    background: rgba(0, 210, 255, 0.2) !important;
    transform: scale(1.02);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px !important;
    transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

/* Fix for broken "wavered" top bar */
@media (max-width: 1199px) {
    .navbar-top {
        padding: 5px 0;
    }
    .middle-box {
        display: none;
    }
    .option-list ul {
        gap: 15px;
    }
}

@media (max-width: 575px) {
    .nav-logo img {
        height: 35px;
    }
    .header-icon {
        font-size: 18px;
    }
}

/* Adjust page content to account for header */
body {
    padding-top: 70px !important; /* Adjusted to let hero banner flow closer to the header */
}

.hero-section {
    padding-top: 1rem !important; /* Minimal top padding for tight layout */
    padding-bottom: 4rem !important;
    margin-top: 0 !important;
}

/* Announcement Bar Styling */
.top-header-marquee {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1001;
    position: relative;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-header-marquee marquee {
    display: block;
    width: 100%;
}

/* --- LUXURY GLOW & UTILITIES --- */
.luxury-glow {
    box-shadow: 0 0 40px rgba(0, 210, 255, 0.15), inset 0 0 20px rgba(255, 255, 255, 0.03);
}
.luxury-glow-accent {
    box-shadow: 0 0 50px rgba(0, 210, 255, 0.2), inset 0 0 30px rgba(0, 210, 255, 0.05);
    border-color: rgba(0, 210, 255, 0.3) !important;
}
.luxury-glow-danger {
    box-shadow: 0 0 50px rgba(255, 71, 87, 0.2), inset 0 0 30px rgba(255, 71, 87, 0.05);
    border-color: rgba(255, 71, 87, 0.3) !important;
}

.animate-in {
    animation: slideUpFade 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.bg-success-soft { background: rgba(46, 213, 115, 0.1) !important; }
.bg-danger-soft { background: rgba(255, 71, 87, 0.1) !important; }
.bg-warning-soft { background: rgba(255, 165, 2, 0.1) !important; }
.bg-accent-soft { background: rgba(0, 210, 255, 0.1) !important; }

.text-accent { color: var(--accent-color) !important; }
.border-accent-10 { border-color: rgba(0, 210, 255, 0.1) !important; }
.border-danger-10 { border-color: rgba(255, 71, 87, 0.1) !important; }

.fw-800 { font-weight: 800 !important; }
.fw-900 { font-weight: 900 !important; }

.custom-premium-table {
    border-collapse: separate;
    border-spacing: 0 8px;
}
.custom-premium-table tr {
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}
.custom-premium-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.01);
}
.custom-premium-table td {
    padding: 20px 15px !important;
    border: none !important;
}
.custom-premium-table td:first-child { border-radius: 15px 0 0 15px; }
.custom-premium-table td:last-child { border-radius: 0 15px 15px 0; }

.text-gold { color: var(--gold-primary) !important; }
.bg-gold-soft { background: rgba(212, 175, 55, 0.1) !important; }
.btn-outline-gold {
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    transition: var(--transition-luxury);
}
.btn-outline-gold:hover {
    background: var(--gold-primary);
    color: #000;
}
.luxury-hover {
    transition: var(--transition-luxury);
}
.luxury-hover:hover {
    transform: scale(1.03);
    border-color: var(--gold-primary);
}
