/* ==========================================================================
   BR MODS // 3D ENTERPRISE CYBER DASHBOARD DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Base Colors */
    --bg-dark: #06080d;
    --bg-surface: #0c101a;
    --bg-card: rgba(14, 19, 32, 0.82);
    --bg-card-hover: rgba(20, 27, 45, 0.92);
    --bg-input: rgba(8, 11, 18, 0.9);
    --border-color: rgba(255, 255, 255, 0.09);
    --border-highlight: rgba(255, 255, 255, 0.2);

    /* Default Theme: Cyan Matrix */
    --primary: #00f2fe;
    --primary-glow: rgba(0, 242, 254, 0.45);
    --primary-dim: rgba(0, 242, 254, 0.14);
    --accent: #4facfe;
    --accent-glow: rgba(79, 172, 254, 0.45);

    /* Status Colors */
    --success: #00e676;
    --success-glow: rgba(0, 230, 118, 0.4);
    --warning: #ffb300;
    --warning-glow: rgba(255, 179, 0, 0.4);
    --danger: #ff1744;
    --danger-glow: rgba(255, 23, 68, 0.45);
    --gold: #ffd700;
    --gold-glow: rgba(255, 215, 0, 0.4);

    /* Typography */
    --text-main: #f5f8fc;
    --text-muted: #91a0b8;
    --text-dim: #54647c;

    /* 3D Layout & Depth */
    --sidebar-width: 285px;
    --topbar-height: 78px;
    --border-radius: 18px;
    --border-radius-sm: 11px;
    --glass-blur: blur(24px);
    --card-shadow: 
        0 20px 45px -10px rgba(0, 0, 0, 0.85),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.6);
    --btn-3d-shadow: 
        0 6px 0 rgba(0, 0, 0, 0.4),
        0 10px 20px rgba(0, 0, 0, 0.5);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Theme Switching Overrides */
[data-theme="purple"] {
    --primary: #c084fc;
    --primary-glow: rgba(192, 132, 252, 0.45);
    --primary-dim: rgba(192, 132, 252, 0.14);
    --accent: #e879f9;
    --accent-glow: rgba(232, 121, 249, 0.45);
}

[data-theme="emerald"] {
    --primary: #00e676;
    --primary-glow: rgba(0, 230, 118, 0.45);
    --primary-dim: rgba(0, 230, 118, 0.14);
    --accent: #00b0ff;
    --accent-glow: rgba(0, 176, 255, 0.45);
}

[data-theme="gold"] {
    --primary: #ffd700;
    --primary-glow: rgba(255, 215, 0, 0.45);
    --primary-dim: rgba(255, 215, 0, 0.14);
    --accent: #ff9100;
    --accent-glow: rgba(255, 145, 0, 0.45);
}

/* ==========================================================================
   BASE & 3D CANVAS PARTICLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}

#cyberParticlesCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
    z-index: 0;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace !important;
}

/* Ambient Glowing Lights */
.ambient-glow {
    position: fixed;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    filter: blur(150px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.25;
    transition: background-color 0.5s ease;
}
.glow-1 { top: -140px; left: -120px; background: var(--primary); }
.glow-2 { bottom: -160px; right: -120px; background: #7928ca; }
.glow-3 { top: 35%; left: 45%; background: var(--accent); opacity: 0.15; }

/* ==========================================================================
   SOLID 3D CARD ARCHITECTURE & DEPTH (STABLE & CRISP)
   ========================================================================== */
.card-3d {
    position: relative;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.card-3d:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 24px 50px -10px rgba(0, 0, 0, 0.9),
        0 0 25px var(--primary-dim),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.6);
}

/* Panel Structure & Universal Padding */
.panel-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px !important;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.panel-body {
    padding: 24px 28px !important;
}

.card-glass-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
    pointer-events: none;
}

/* 3D Solid Buttons */
.btn-3d {
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.15s ease;
}

.btn-3d:hover {
    box-shadow: 0 6px 18px var(--primary-glow);
}

.btn-3d:active {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   APP LAYOUT & SIDEBAR
   ========================================================================== */
.app-layout {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.sidebar {
    width: var(--sidebar-width);
    background: rgba(10, 14, 23, 0.9);
    backdrop-filter: var(--glass-blur);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.7);
    transition: transform var(--transition-smooth);
}

.brand-container {
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 24px;
    border-bottom: 1px solid var(--border-color);
}

.brand-logo {
    width: 46px;
    height: 46px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 25px var(--primary-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: visible;
}

.sidebar-brand-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 11px;
    display: block;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.65));
    transition: transform 0.3s ease;
}

.brand-container:hover .sidebar-brand-img {
    transform: scale(1.08) rotate(-2deg);
}

.logo-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 14px;
    border: 2px solid var(--primary);
    animation: ripple 2s infinite ease-out;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.3); opacity: 0; }
}

.brand-text h2 {
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 1.5px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Universal 2-Color Brand Typography: BR in Cyan, MODS in White */
.brand-br {
    color: #00f2fe !important;
    -webkit-text-fill-color: #00f2fe !important;
    text-shadow: 0 0 16px rgba(0, 242, 254, 0.8), 0 0 30px rgba(0, 242, 254, 0.4);
    font-weight: 900;
    letter-spacing: 0.5px;
}

.brand-mods {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.5), 0 0 25px rgba(255, 255, 255, 0.25);
    font-weight: 900;
    letter-spacing: 0.5px;
}

.brand-tagline {
    font-size: 10px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pulse-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.sidebar-app-card {
    padding: 16px;
}

.app-card-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
}

.app-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
    box-shadow: 0 0 12px var(--primary-glow);
}

.app-label {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-dim);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.app-title {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.app-badge {
    font-size: 10px;
    font-weight: 800;
    background: var(--primary-dim);
    color: var(--primary);
    padding: 1px 6px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
}

.nav-menu {
    flex: 1;
    padding: 10px 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-section-title {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-dim);
    letter-spacing: 1.2px;
    padding: 14px 12px 6px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 14px;
    border-radius: var(--border-radius-sm);
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition-fast);
}

.nav-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.nav-item:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.nav-item.active {
    color: #fff;
    background: linear-gradient(90deg, var(--primary-dim), rgba(255, 255, 255, 0.02));
    border-left: 3px solid var(--primary);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.nav-item.active i {
    color: var(--primary);
}

.theme-picker-widget {
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.theme-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.theme-dots { display: flex; gap: 8px; }
.theme-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.theme-dot:hover { transform: scale(1.2); }
.theme-dot.active { border-color: #fff; box-shadow: 0 0 10px currentColor; }

.sidebar-footer { 
    padding: 12px 16px; 
    border-top: 1px solid var(--border-color); 
    margin-top: auto;
}

.user-profile-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--primary-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
    flex-shrink: 0;
}

.user-info { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    min-width: 0;
}

.user-name { 
    font-size: 13px; 
    font-weight: 800; 
    color: #fff; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}

.user-status { 
    font-size: 10px; 
    color: var(--text-dim); 
    display: flex; 
    align-items: center; 
    gap: 5px; 
}

.status-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.status-dot.online { background: var(--success); box-shadow: 0 0 8px var(--success-glow); }

.btn-logout-mini {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255, 23, 68, 0.12);
    border: 1px solid rgba(255, 23, 68, 0.3);
    color: var(--danger);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 12px;
    flex-shrink: 0;
}

.btn-logout-mini:hover {
    background: var(--danger);
    color: #fff;
    box-shadow: 0 0 14px rgba(255, 23, 68, 0.5);
}

/* ==========================================================================
   TOPBAR & MAIN CONTENT
   ========================================================================== */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.topbar {
    height: var(--topbar-height);
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 36px;
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.topbar-left { display: flex; align-items: center; gap: 16px; }
.mobile-toggle { display: none; background: transparent; border: none; color: #fff; font-size: 20px; cursor: pointer; }
.page-title-group h1 {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff, #b9cbdf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.page-title-group .subtitle { font-size: 12px; color: var(--text-muted); }
.topbar-right { display: flex; align-items: center; gap: 14px; }

.clock-display {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-main);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.content-body { padding: 32px 36px; flex: 1; }
.tab-content { display: none; animation: fadeIn 0.3s ease; }
.tab-content.active { display: block; }

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

/* ==========================================================================
   QUICK SHORTCUTS BAR
   ========================================================================== */
.quick-shortcuts-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 12px 22px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.shortcut-label { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.shortcut-buttons { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.btn-outline-accent {
    background: var(--primary-dim);
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
}
.btn-outline-accent:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-outline-gold {
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-weight: 700;
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 20px var(--gold-glow);
}

/* ==========================================================================
   3D STATS & METRIC CARDS GRID
   ========================================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
    margin-bottom: 28px;
}

/* 3-Column Reseller Analytics Grid */
.reseller-analytics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

/* 4-Column Reseller Creation Grid */
.reseller-create-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1.2fr 1.4fr;
    gap: 16px;
    align-items: end;
    width: 100%;
}

.text-purple { color: #bd00ff !important; }

/* Universal Metric Card System */
.analytics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.metric-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px 24px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-fast);
}

.metric-card:hover {
    border-color: rgba(0, 242, 254, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px var(--primary-dim);
    transform: translateY(-2px);
}

.metric-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.metric-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.metric-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.bg-accent-glow { background: rgba(0, 242, 254, 0.1); color: var(--primary); box-shadow: 0 0 15px var(--primary-glow); }
.bg-purple-glow { background: rgba(189, 0, 255, 0.1); color: #bd00ff; box-shadow: 0 0 15px rgba(189, 0, 255, 0.3); }
.bg-success-glow { background: rgba(0, 230, 118, 0.1); color: var(--success); box-shadow: 0 0 15px var(--success-glow); }
.bg-warning-glow { background: rgba(255, 170, 0, 0.1); color: var(--warning); box-shadow: 0 0 15px var(--warning-glow); }

.metric-value-group {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 32px;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.1;
    margin-bottom: 4px;
}

.metric-subtext {
    font-size: 11px;
    color: var(--text-dim);
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 22px 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.stat-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.stat-title {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.8px;
}

.stat-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.stat-total .stat-icon-wrapper { background: var(--primary-dim); color: var(--primary); box-shadow: 0 0 15px var(--primary-glow); }
.stat-active .stat-icon-wrapper { background: rgba(0, 230, 118, 0.15); color: var(--success); box-shadow: 0 0 15px var(--success-glow); }
.stat-expired .stat-icon-wrapper { background: rgba(255, 179, 0, 0.15); color: var(--warning); box-shadow: 0 0 15px var(--warning-glow); }
.stat-banned .stat-icon-wrapper { background: rgba(255, 23, 68, 0.15); color: var(--danger); box-shadow: 0 0 15px var(--danger-glow); }

.stat-main {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
}

.stat-value {
    font-size: 38px;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.1;
}

.stat-ratio-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(0, 230, 118, 0.15);
    color: var(--success);
    border: 1px solid rgba(0, 230, 118, 0.3);
}

.stat-progress-bar {
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.8s ease;
}

.fill-primary { background: var(--primary); box-shadow: 0 0 8px var(--primary-glow); }
.fill-success { background: var(--success); box-shadow: 0 0 8px var(--success-glow); }
.fill-warning { background: var(--warning); box-shadow: 0 0 8px var(--warning-glow); }
.fill-danger { background: var(--danger); box-shadow: 0 0 8px var(--danger-glow); }
.stat-meta { font-size: 12px; color: var(--text-dim); }

/* ==========================================================================
   3D ANALYTICS CHARTS ROW
   ========================================================================== */
.analytics-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 22px;
}

.analytics-card {
    padding: 20px 24px;
}

.chart-container-wrap {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 10px 0;
}

.chart-canvas-box {
    width: 140px;
    height: 140px;
    position: relative;
}

.chart-legend-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.legend-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.hwid-insights-content {
    display: flex;
    justify-content: space-around;
    padding: 26px 0;
    text-align: center;
}

.insight-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-val {
    font-size: 28px;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
}

.metric-lbl {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 700;
}

/* ==========================================================================
   BATCH OPERATIONS BAR
   ========================================================================== */
.batch-action-bar {
    background: rgba(16, 24, 40, 0.95);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--primary);
    border-radius: var(--border-radius-sm);
    padding: 12px 22px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px var(--primary-glow);
    animation: slideDown 0.25s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.batch-count { font-size: 14px; font-weight: 800; color: var(--primary); }
.batch-buttons { display: flex; gap: 8px; }

/* ==========================================================================
   PANEL CARD & TABLES
   ========================================================================== */
.panel-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.panel-header {
    padding: 20px 28px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.panel-title-wrap h3 {
    font-size: 17px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-input-box {
    position: relative;
    min-width: 270px;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 13px;
}

.search-input-box input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: #fff;
    padding: 9px 34px 9px 36px;
    font-size: 13px;
    outline: none;
    transition: all var(--transition-fast);
}

.search-input-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 14px var(--primary-glow);
}

.clear-search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    display: none;
}

.filter-select {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 9px 14px;
    border-radius: var(--border-radius-sm);
    font-size: 13px;
    outline: none;
    cursor: pointer;
}

.filter-select:focus { border-color: var(--primary); }

.table-responsive { overflow-x: auto; width: 100%; }

.keys-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.keys-table th {
    background: rgba(0, 0, 0, 0.4);
    color: var(--text-muted);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.8px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.keys-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

.keys-table tbody tr { transition: background-color var(--transition-fast); }
.keys-table tbody tr:hover { background-color: rgba(255, 255, 255, 0.04); }

.custom-checkbox {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

.key-code-cell { display: flex; align-items: center; gap: 8px; }

.key-badge {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    font-size: 13px;
    color: var(--primary);
    background: var(--primary-dim);
    padding: 4px 9px;
    border-radius: 6px;
    border: 1px solid rgba(0, 242, 254, 0.3);
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

.copy-mini-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.copy-mini-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.copy-mini-btn.copied { color: var(--success); }

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-pill { background: rgba(255, 255, 255, 0.1); color: #fff; padding: 2px 8px; margin-left: auto; }
.badge-accent { background: var(--primary-dim); color: var(--primary); border: 1px solid var(--primary); }
.badge-success { background: rgba(0, 230, 118, 0.15); color: var(--success); border: 1px solid rgba(0, 230, 118, 0.3); }
.badge-warning { background: rgba(255, 179, 0, 0.15); color: var(--warning); border: 1px solid rgba(255, 179, 0, 0.3); }
.badge-danger { background: rgba(255, 23, 68, 0.15); color: var(--danger); border: 1px solid rgba(255, 23, 68, 0.3); }
.badge-gold { background: rgba(255, 215, 0, 0.15); color: var(--gold); border: 1px solid rgba(255, 215, 0, 0.3); }
.badge-muted { background: rgba(255, 255, 255, 0.08); color: var(--text-muted); }

/* Device Mini Bar */
.device-mini-bar-wrap { display: flex; flex-direction: column; gap: 4px; }
.device-bar-track {
    width: 75px;
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}
.device-bar-fill {
    height: 100%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
}

/* Actions in Table */
.action-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.btn-action {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: all var(--transition-fast);
}

.btn-action:hover {
    color: #fff;
    transform: translateY(-2px);
}

.btn-action.info:hover { background: var(--primary-dim); border-color: var(--primary); color: var(--primary); }
.btn-action.reset:hover { background: rgba(255, 179, 0, 0.2); border-color: var(--warning); color: var(--warning); }
.btn-action.extend:hover { background: rgba(0, 230, 118, 0.2); border-color: var(--success); color: var(--success); }
.btn-action.delete:hover { background: rgba(255, 23, 68, 0.2); border-color: var(--danger); color: var(--danger); }

/* Pagination Footer */
.panel-footer {
    padding: 16px 28px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

/* ==========================================================================
   BUTTONS & FORMS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--border-radius-sm);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    border: none;
    outline: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #06090e;
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid var(--border-color);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.15); }

.btn-warning { background: var(--warning); color: #000; }
.btn-warning:hover { box-shadow: 0 0 18px var(--warning-glow); }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { box-shadow: 0 0 18px var(--danger-glow); }

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}
.btn-outline:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); }

.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: var(--border-radius-sm); }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }

/* Forms */
.form-group { margin-bottom: 20px; flex: 1; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-main);
}
.form-group label i { color: var(--primary); margin-right: 4px; }

.form-control {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: #fff;
    padding: 11px 14px;
    font-size: 14px;
    outline: none;
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 14px var(--primary-glow);
}

.form-hint { display: block; font-size: 11px; color: var(--text-dim); margin-top: 6px; }
.form-row { display: flex; gap: 20px; }

.mode-toggle-group { display: flex; gap: 10px; }
.mode-toggle {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    transition: all var(--transition-fast);
}
.mode-toggle input { display: none; }
.mode-toggle.active {
    background: var(--primary-dim);
    border-color: var(--primary);
    color: #fff;
    box-shadow: inset 0 0 18px var(--primary-dim);
}

.quick-preset-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.preset-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.preset-chip:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.preset-chip.active {
    background: var(--primary-dim);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
}

.input-with-addon { display: flex; }
.input-with-addon .form-control { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-addon {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-left: none;
    padding: 11px 14px;
    border-top-right-radius: var(--border-radius-sm);
    border-bottom-right-radius: var(--border-radius-sm);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 800;
}

.input-with-button { display: flex; gap: 8px; }

/* ==========================================================================
   3D HOLOGRAM VIP CARD PREVIEW
   ========================================================================== */
.generator-container { max-width: 1240px; margin: 0 auto; }
.generator-header { margin-bottom: 24px; }
.generator-header h2 { font-size: 24px; font-weight: 900; }
.generator-header p { color: var(--text-muted); font-size: 13px; }

.generator-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
}

.generator-card { padding: 30px; }
.generator-preview-sidebar { display: flex; flex-direction: column; }

/* 3D Hologram VIP Card */
.holo-card {
    background: linear-gradient(135deg, rgba(20, 28, 48, 0.95), rgba(12, 17, 30, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--border-radius);
    padding: 28px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.holo-chip-graphic {
    width: 44px;
    height: 34px;
    background: linear-gradient(135deg, #ffd700, #ff9900);
    border-radius: 6px;
    box-shadow: 0 0 15px var(--gold-glow);
    border: 1px solid #ffe680;
    position: relative;
}

.chip-circuit {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.4);
}

.holo-shimmer {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 45%, rgba(255, 255, 255, 0.1) 50%, transparent 55%);
    transform: rotate(30deg);
    animation: shimmerPass 6s infinite ease-in-out;
    pointer-events: none;
}

@keyframes shimmerPass {
    0% { transform: translateY(-100%) rotate(30deg); }
    100% { transform: translateY(100%) rotate(30deg); }
}

.holo-header { display: flex; align-items: center; justify-content: space-between; }
.holo-brand {
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}
.holo-brand i { color: var(--primary); font-size: 20px; }

.holo-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--gold-glow);
    color: var(--gold);
    border: 1px solid var(--gold);
    letter-spacing: 1px;
}

.holo-key-title { font-size: 10px; font-weight: 800; color: var(--text-dim); letter-spacing: 1px; margin-bottom: 4px; }
.holo-key-string {
    font-family: 'JetBrains Mono', monospace;
    font-size: 18px;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 18px var(--primary-glow);
    word-break: break-all;
}

.holo-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
}

.holo-stat { display: flex; flex-direction: column; }
.holo-label { font-size: 9px; font-weight: 800; color: var(--text-dim); letter-spacing: 0.8px; }
.holo-stat strong { font-size: 13px; font-weight: 900; color: #fff; }

/* Template Buttons */
.template-buttons-list { display: flex; flex-direction: column; gap: 8px; }
.template-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-main);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.template-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateX(4px);
}

/* ==========================================================================
   ACTIVITY LOG DRAWER & MODALS
   ========================================================================== */
.activity-log-list { display: flex; flex-direction: column; gap: 10px; }
.activity-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
}

.activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}
.activity-details { flex: 1; }
.activity-text { font-size: 13px; font-weight: 700; color: #fff; }
.activity-time { font-size: 11px; color: var(--text-dim); }

.modal-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop.open { display: flex; animation: fadeIn 0.2s ease; }
.modal-card {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 550px;
    overflow: hidden;
    animation: slideUp 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-lg { max-width: 800px; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(25px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    padding: 18px 26px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-title { display: flex; align-items: center; gap: 10px; }
.modal-title h3 { font-size: 17px; font-weight: 800; }
.modal-close-btn { background: transparent; border: none; color: var(--text-dim); font-size: 18px; cursor: pointer; }
.modal-close-btn:hover { color: #fff; }
.modal-body { padding: 26px; max-height: 70vh; overflow-y: auto; }
.modal-footer {
    padding: 16px 26px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    background: rgba(0, 0, 0, 0.3);
}

.key-banner {
    background: rgba(0, 0, 0, 0.5);
    border: 1px dashed var(--border-color);
    padding: 14px;
    border-radius: var(--border-radius-sm);
    font-size: 16px;
    font-weight: 900;
    text-align: center;
    letter-spacing: 1px;
}

.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.info-table td { padding: 10px 8px; font-size: 13px; }
.info-table td:first-child { color: var(--text-muted); font-weight: 700; width: 38%; }
.result-textarea { font-size: 12px; line-height: 1.6; background: #07090f; border-color: rgba(0, 242, 254, 0.3); }

/* Toast */
.toast-container { position: fixed; top: 24px; right: 24px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
    background: rgba(14, 19, 32, 0.96);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 18px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75);
    pointer-events: auto;
    min-width: 290px;
    max-width: 420px;
    animation: toastIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s ease;
}
.toast.toast-success { border-left: 4px solid var(--success); }
.toast.toast-error { border-left: 4px solid var(--danger); }
.toast.toast-info { border-left: 4px solid var(--primary); }
.toast-content { flex: 1; font-size: 13px; font-weight: 600; }

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

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(0, 242, 254, 0.15);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.spinner-center { display: flex; justify-content: center; align-items: center; padding: 40px 0; }
.table-loading-cell { padding: 60px 0 !important; text-align: center; }
.loading-state { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--text-muted); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Utilities */
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger { color: var(--danger) !important; }
.text-accent { color: var(--primary) !important; }
.text-gold { color: var(--gold) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-dim { color: var(--text-dim) !important; }
.text-right { text-align: right !important; }
.font-semibold { font-weight: 700 !important; }
.mt-1 { margin-top: 4px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 12px !important; }
.mt-4 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 12px !important; }
.mb-4 { margin-bottom: 20px !important; }
.p-3 { padding: 14px !important; }
.py-2 { padding-top: 10px !important; padding-bottom: 10px !important; }
.text-sm { font-size: 12px !important; }
.text-xs { font-size: 11px !important; }

/* ==========================================================================
   ADVANCED TOOLS STYLING (AUTO-SYNC, SMART FILTERS, EXPORT CENTER, QR CODE)
   ========================================================================== */

/* Auto-Sync Selector in Topbar */
.auto-sync-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
}

.sync-select {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 12px;
    font-weight: 700;
    outline: none;
    cursor: pointer;
}
.sync-select option { background: var(--bg-surface); }

.sync-spinner-mini {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 8px var(--success-glow);
    display: none;
}
.sync-spinner-mini.active { display: block; animation: pulse 1s infinite; }

@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.3; transform: scale(0.8); } }

/* Smart Filter Chips Bar */
.smart-filters-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 10px 16px;
}

.smart-filters-label {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.smart-chips-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.smart-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.smart-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.smart-chip.active {
    background: var(--primary-dim);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Export Options Grid */
.export-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.export-card {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.export-card i { font-size: 32px; margin-bottom: 4px; }
.export-card h4 { font-size: 15px; font-weight: 800; }
.export-card p { font-size: 11px; color: var(--text-muted); }

.export-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-3px);
}

.quick-copy-columns-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 16px;
}

/* QR Code Modal */
.qr-container-box {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    width: 220px;
    height: 220px;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.3);
}

.max-w-400 { max-width: 400px !important; }
.text-center { text-align: center !important; }
.d-flex { display: flex !important; }
.d-block { display: block !important; }
.gap-2 { gap: 8px !important; }
.flex-wrap { flex-wrap: wrap !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-center { align-items: center !important; }
.btn-success { background: var(--success); color: #000; font-weight: 800; }

.btn-action.qr:hover { background: rgba(0, 242, 254, 0.2); border-color: var(--primary); color: var(--primary); }

/* ==========================================================================
   HWID MANAGEMENT & SECURITY COMMAND DECK
   ========================================================================== */
.hwid-page-wrapper {
    max-width: 1240px;
    margin: 0 auto;
}

.hwid-page-header {
    margin-bottom: 24px;
}

.hwid-page-header h2 {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.hwid-page-header p {
    color: var(--text-muted);
    font-size: 13px;
}

.hwid-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
}

/* Terminal Dots */
.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

/* Large Cyber Input */
.hwid-input-container {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 6px 8px 6px 14px;
    transition: all var(--transition-fast);
}

.hwid-input-container:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 16px var(--primary-glow);
}

.hwid-input-icon {
    font-size: 18px;
    color: var(--primary);
    margin-right: 12px;
}

.hwid-input-field {
    flex: 1;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 8px 4px !important;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    outline: none !important;
}

.hwid-input-buttons {
    display: flex;
    gap: 6px;
}

/* HWID Full Page Layout & Grid */
.hwid-full-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hwid-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    align-items: stretch;
}

.hwid-control-card, .hwid-inspector-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hwid-control-card .panel-body,
.hwid-inspector-card .panel-body {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
}

/* Action Buttons Grid */
.hwid-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hwid-action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    text-align: left;
    height: auto;
}

.hwid-action-btn i {
    font-size: 22px;
}

.btn-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.btn-text-group strong {
    font-size: 14px;
    font-weight: 800;
}

.btn-text-group small {
    font-size: 11px;
    opacity: 0.8;
}

.hwid-subactions-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Guidelines Deck */
.hwid-info-deck {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: auto;
}

.hwid-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-sm);
    padding: 12px 14px;
}

.info-icon-box {
    font-size: 18px;
    margin-top: 2px;
}

.info-text h6 {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}

.info-text p {
    font-size: 11px;
    color: var(--text-dim);
    line-height: 1.4;
}

/* Clean 2-Row Generator Form */
.generator-clean-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.gen-row-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

.gen-row-bottom {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 20px;
    align-items: end;
    width: 100%;
}

.form-label-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.validity-controls-group {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.validity-controls-group .quick-preset-chips {
    flex: 1;
    display: flex;
    gap: 6px;
}

.validity-controls-group .preset-chip {
    flex: 1;
    padding: 9px 8px;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.validity-controls-group .preset-chip:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
    color: #fff;
}

.validity-controls-group .preset-chip.active {
    background: var(--primary-dim);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 12px var(--primary-glow);
}

.validity-number-input {
    width: 130px;
    min-width: 120px;
    flex-shrink: 0;
}

.btn-generate-hero {
    width: 100%;
    height: 44px;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.3px;
}


.generated-link-box {
    padding: 24px 28px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Generous Padding for HWID Share Deck */
.share-reset-link-card .panel-header {
    padding: 20px 36px !important;
}

.share-reset-link-card .panel-body {
    padding: 28px 36px 36px 36px !important;
}

/* Reset Links Table */
.reset-links-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.reset-links-table th {
    padding: 14px 18px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.reset-links-table td {
    padding: 14px 18px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.reset-links-table th:first-child,
.reset-links-table td:first-child {
    padding-left: 6px;
}

.reset-links-table th:last-child,
.reset-links-table td:last-child {
    padding-right: 6px;
}





/* Right: Hardware HUD */
.status-pulse-live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 10px var(--success-glow);
    animation: pulse 1.5s infinite;
}

.hud-idle-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    min-height: 320px;
}

.hud-radar-scanner {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px dashed var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.radar-beam {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--primary);
    animation: spin 3s linear infinite;
}

.max-w-350 { max-width: 350px !important; }

/* Active HUD Content */
.hud-active-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: fadeIn 0.3s ease;
}

.hud-key-badge-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hud-device-status-box {
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-align: center;
}

.hud-device-status-box.unbound {
    background: rgba(0, 230, 118, 0.08);
    border-color: rgba(0, 230, 118, 0.3);
}

.hud-metric-unit strong {
    font-size: 24px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 900;
}

.hud-details-matrix {
    width: 100%;
    border-collapse: collapse;
}

.hud-details-matrix tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hud-details-matrix td {
    padding: 9px 6px;
    font-size: 13px;
}

.hud-details-matrix td:first-child {
    color: var(--text-muted);
    font-weight: 700;
    width: 40%;
}

/* ==========================================================================
   CYBER SEGMENTED TOGGLE & OUTPUT STREAM ENHANCEMENTS
   ========================================================================== */
.cyber-segmented-group {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 4px;
    gap: 4px;
}

.cyber-segment {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.cyber-segment:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.cyber-segment.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #000;
    font-weight: 800;
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Terminal Feed Styling */
.terminal-output-wrapper {
    background: rgba(5, 8, 14, 0.9);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 380px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.8);
}

.terminal-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; box-shadow: 0 0 6px #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; box-shadow: 0 0 6px #ffbd2e; }
/* ==========================================================================
   FLEX UTILITIES & OUTPUT CARD ENFORCEMENT
   ========================================================================== */
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-end { justify-content: flex-end !important; }
.gap-1 { gap: 6px !important; }
.gap-2 { gap: 10px !important; }
.gap-3 { gap: 16px !important; }
.w-100 { width: 100% !important; }
.w-50 { width: 50% !important; }

/* Ultra VIP Generated Key Hologram Card */
.out-key-card {
    width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.12) 0%, rgba(189, 0, 255, 0.08) 50%, rgba(10, 14, 23, 0.95) 100%);
    border: 1px solid rgba(0, 242, 254, 0.4);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 20px rgba(0, 242, 254, 0.15);
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
    animation: keyCardPopIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.terminal-body-feed {
    padding: 18px;
    flex: 1;
    overflow-y: auto;
    max-height: 520px;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px;
}

@keyframes keyCardPopIn {
    from { opacity: 0; transform: scale(0.92) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.out-key-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), #bd00ff, transparent);
}

.out-key-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.85), 0 0 25px var(--primary-dim);
    transform: translateY(-2px);
}

.out-key-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 19px;
    font-weight: 900;
    color: #00f2fe;
    letter-spacing: 1.5px;
    text-shadow: 0 0 16px rgba(0, 242, 254, 0.6);
    user-select: all;
}

.out-key-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-copy-glow {
    background: linear-gradient(135deg, var(--primary), #00b0ff);
    color: #000;
    font-weight: 800;
    font-size: 13px;
    padding: 9px 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 18px var(--primary-glow);
    transition: all var(--transition-fast);
}

.btn-copy-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--primary-glow);
}

.btn-qr-glow {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    font-size: 13px;
    font-weight: 700;
    padding: 9px 14px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-fast);
}

.btn-qr-glow:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
    color: var(--primary);
}

/* ==========================================================================
   ADVANCED MOBILE, PHONE & TABLET RESPONSIVE ENGINE (ZERO OVERLAP)
   ========================================================================== */

/* Large Tablets & Small Laptops (<= 1100px) */
@media (max-width: 1100px) {
    .hwid-main-grid { grid-template-columns: 1fr !important; }
    .gen-row-top { grid-template-columns: 1fr !important; }
    .gen-row-bottom { grid-template-columns: 1fr !important; }
    .reseller-analytics-grid { grid-template-columns: 1fr 1fr !important; }
    .reseller-create-grid { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 1024px) {
    .generator-grid { grid-template-columns: 1fr !important; }
    .analytics-row { grid-template-columns: 1fr 1fr !important; }
    .hwid-actions-grid { grid-template-columns: 1fr !important; }
    .reseller-create-grid { grid-template-columns: 1fr !important; }
}

/* Tablets & Mobile Devices (<= 900px) - Mobile Sidebar Drawer Engine */
@media (max-width: 900px) {
    :root {
        --sidebar-width: 0px !important;
        --topbar-height: 60px !important;
    }

    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    .app-layout {
        display: block !important;
        width: 100vw !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        position: relative !important;
    }

    /* Mobile Sidebar Sliding Drawer */
    .sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 290px !important;
        height: 100vh !important;
        max-height: 100vh !important;
        z-index: 9999 !important;
        transform: translateX(-100%) !important;
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 15px 0 50px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
        background: #080c16 !important;
        backdrop-filter: blur(28px) !important;
    }

    .sidebar.open {
        transform: translateX(0) !important;
    }

    /* Sidebar Mobile Backdrop Overlay */
    .sidebar-backdrop {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(3, 6, 12, 0.78) !important;
        backdrop-filter: blur(6px) !important;
        z-index: 9998 !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: opacity 0.3s ease !important;
    }

    .sidebar.open ~ .sidebar-backdrop,
    .sidebar-backdrop.active {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        min-height: 100vh !important;
        padding: 0 !important;
    }

    /* Hamburger Menu Button */
    .mobile-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        background: rgba(255, 255, 255, 0.06) !important;
        border: 1px solid var(--border-color) !important;
        border-radius: 10px !important;
        color: var(--primary) !important;
        font-size: 17px !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        flex-shrink: 0 !important;
    }

    .mobile-toggle:active {
        transform: scale(0.92) !important;
        background: var(--primary-dim) !important;
    }

    .mobile-bottom-nav {
        display: flex !important;
    }

    .content-body {
        padding-bottom: 84px !important;
    }
}

/* Phones & Small Screens (<= 768px) - Zero Overlap Layout */
@media (max-width: 768px) {
    /* 1. Bulletproof Non-overlapping Topbar */
    .topbar {
        height: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;
        padding: 0 12px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 100 !important;
        background: rgba(10, 14, 23, 0.95) !important;
        backdrop-filter: blur(20px) !important;
        border-bottom: 1px solid var(--border-color) !important;
    }

    .topbar-left {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .page-title-group {
        min-width: 0 !important;
        flex: 1 1 auto !important;
        overflow: hidden !important;
    }

    .page-title-group h1 {
        font-size: 15px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        margin: 0 !important;
        line-height: 1.2 !important;
        display: block !important;
    }

    .page-title-group .subtitle,
    .page-title-group p,
    .auto-sync-box,
    .theme-selector,
    .theme-picker-widget,
    #soundToggleBtn,
    .clock-display {
        display: none !important;
    }

    .topbar-right {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
        flex-wrap: nowrap !important;
    }

    .topbar-right .btn {
        height: 36px !important;
        padding: 0 10px !important;
        font-size: 12px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        flex-shrink: 0 !important;
        border-radius: 8px !important;
    }

    #topCreateKeyBtn span,
    .topbar-right a[href*="logout"] span {
        display: none !important; /* Icon-only in phone topbar */
    }

    .topbar-right a[href*="logout"],
    #globalRefreshBtn {
        width: 36px !important;
        height: 36px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 8px !important;
    }

    /* 2. Content Body Spacing */
    .content-body {
        padding: 14px 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 3. Hero HUD Banner & Action Buttons */
    .panel-card .panel-body.d-flex,
    .hero-hud-banner {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
        padding: 16px 12px !important;
    }

    .hero-hud-banner .d-flex.gap-2,
    .panel-body .d-flex.gap-2.flex-wrap {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 8px !important;
    }

    .hero-hud-banner .d-flex.gap-2 .btn,
    .panel-body .d-flex.gap-2.flex-wrap .btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 14px !important;
        font-size: 13px !important;
        margin: 0 !important;
    }

    /* 4. Panel Header & Badges (No Collisions) */
    .panel-card {
        border-radius: 14px !important;
        margin-bottom: 14px !important;
        overflow: hidden !important;
    }

    .panel-header {
        padding: 12px 14px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }

    .panel-header .d-flex {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 6px !important;
        width: 100% !important;
        justify-content: flex-start !important;
    }

    .panel-header .badge {
        font-size: 10px !important;
        padding: 4px 8px !important;
    }

    .panel-body {
        padding: 14px 12px !important;
    }

    /* 5. Metrics & Forms Stacking (No Overlap) */
    .gen-row-top,
    .gen-row-bottom,
    .reseller-create-grid,
    .analytics-row,
    .reseller-analytics-grid,
    .generator-grid,
    .hwid-main-grid {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
    }

    .metric-card {
        padding: 14px 12px !important;
        border-radius: 12px !important;
        width: 100% !important;
    }

    .metric-value {
        font-size: 24px !important;
    }

    .cyber-segmented-group {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        width: 100% !important;
    }

    .cyber-segment {
        width: 100% !important;
        padding: 10px !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .quick-preset-chips {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
        width: 100% !important;
    }

    .preset-chip {
        width: 100% !important;
        text-align: center !important;
        padding: 8px 4px !important;
        font-size: 11px !important;
        margin: 0 !important;
        border-radius: 8px !important;
    }

    .btn-generate-hero,
    .btn-3d.btn-lg {
        width: 100% !important;
        padding: 13px 16px !important;
        font-size: 14px !important;
        margin-top: 8px !important;
    }

    /* 6. HWID Input Box Stacking */
    .hwid-input-container {
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        padding: 8px !important;
        gap: 8px !important;
    }

    .hwid-input-field {
        height: 42px !important;
        padding-left: 36px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .hwid-input-buttons {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        display: flex !important;
        gap: 6px !important;
    }

    .hwid-input-buttons .btn {
        flex: 1 !important;
        height: 38px !important;
    }

    .hwid-actions-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .hwid-action-btn {
        width: 100% !important;
        padding: 12px 14px !important;
        text-align: left !important;
    }

    /* 7. Shortcut & Search Bars */
    .quick-shortcuts-bar {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        padding: 12px !important;
        width: 100% !important;
    }

    .quick-shortcuts-bar .d-flex {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        width: 100% !important;
    }

    .search-box,
    .filter-group,
    .input-group {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
    }

    /* 8. Table Horizontal Touch Scrolling */
    .table-responsive {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        border-radius: 10px !important;
        border: 1px solid var(--border-color) !important;
        margin-bottom: 0 !important;
        display: block !important;
    }

    .keys-table {
        min-width: 600px !important;
    }

    .keys-table th, 
    .keys-table td {
        padding: 10px 10px !important;
        font-size: 11px !important;
        white-space: nowrap !important;
    }

    .keys-table td .btn,
    .keys-table td .btn-group {
        margin: 0 2px !important;
    }
}

/* ==========================================================================
   CYBER FROSTED GLASS MOBILE BOTTOM NAVIGATION BAR
   ========================================================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(8, 12, 22, 0.94);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 9990;
    align-items: center;
    justify-content: space-around;
    padding: 0 4px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mobile-nav-item {
    background: transparent;
    border: none;
    outline: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    height: 100%;
    color: var(--text-dim);
    cursor: pointer;
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 6px 0;
    border-radius: 12px;
    margin: 2px 2px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-item i {
    font-size: 18px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-item span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.mobile-nav-item:active {
    transform: scale(0.92);
}

.mobile-nav-item.active {
    color: var(--primary);
    background: rgba(0, 242, 254, 0.09);
}

.mobile-nav-item.active i {
    transform: translateY(-2px) scale(1.15);
    color: var(--primary);
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

.mobile-nav-item.active span {
    color: #fff;
    font-weight: 900;
}

.mobile-nav-item.active::after {
    content: '';
    position: absolute;
    top: 4px;
    width: 20px;
    height: 3px;
    border-radius: 3px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Extra Small Mobile Devices (<= 480px) */
@media (max-width: 480px) {
    .content-body {
        padding: 10px 6px !important;
    }

    .panel-header {
        padding: 10px 10px !important;
    }

    .panel-body {
        padding: 12px 8px !important;
    }

    .quick-preset-chips {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 4px !important;
    }

    .keys-table {
        min-width: 540px !important;
    }

    /* Modals on small phones */
    .modal-backdrop {
        padding: 8px 4px !important;
        align-items: flex-start !important;
    }

    .modal-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 8px auto !important;
        border-radius: 14px !important;
        max-height: 96vh !important;
    }

    .modal-header {
        padding: 12px 14px !important;
    }

    .modal-header h3 {
        font-size: 14px !important;
    }

    .modal-body {
        padding: 12px 10px !important;
        max-height: calc(96vh - 130px) !important;
    }

    .modal-footer {
        padding: 10px 12px !important;
        display: flex !important;
        flex-direction: column-reverse !important;
        gap: 6px !important;
    }

    .modal-footer .btn {
        width: 100% !important;
    }

    .toast-container {
        left: 8px !important;
        right: 8px !important;
        bottom: 8px !important;
        max-width: none !important;
    }
}

/* ==========================================================================
   MODERN PRO KEY CARDS GRID SYSTEM (3-DOTS MENU & ULTRA-HIGH-END CARDS)
   ========================================================================== */
.keys-view-container {
    width: 100%;
    position: relative;
}

.keys-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 16px;
    width: 100%;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .keys-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
}

.key-pro-card {
    background: #0d111a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px 18px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.key-pro-card:hover {
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 242, 254, 0.08);
    transform: translateY(-2px);
}

.key-pro-card.selected {
    border-color: var(--primary);
    background: rgba(0, 242, 254, 0.04);
}

.key-pro-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.key-pro-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.key-pro-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: color 0.15s ease;
}

.key-pro-title:hover {
    color: var(--primary);
}

.key-pro-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Status Badges */
.key-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1;
}

.key-status-pill.status-used {
    background: rgba(0, 230, 118, 0.12);
    color: #00e676;
    border: 1px solid rgba(0, 230, 118, 0.3);
}

.key-status-pill.status-not-used {
    background: rgba(145, 160, 184, 0.12);
    color: #91a0b8;
    border: 1px solid rgba(145, 160, 184, 0.25);
}

.key-status-pill.status-expired {
    background: rgba(255, 23, 68, 0.12);
    color: #ff1744;
    border: 1px solid rgba(255, 23, 68, 0.35);
}

.key-status-pill.status-banned {
    background: rgba(255, 23, 68, 0.18);
    color: #ff5252;
    border: 1px solid rgba(255, 23, 68, 0.45);
}

.key-status-pill.status-paused {
    background: rgba(192, 132, 252, 0.15);
    color: #c084fc;
    border: 1px solid rgba(192, 132, 252, 0.35);
}

/* 3-Dots Action Button & Floating Menu */
.card-menu-container {
    position: relative;
}

.card-menu-btn {
    background: transparent;
    border: none;
    color: #91a0b8;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.15s ease;
}

.card-menu-btn:hover,
.card-menu-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.card-action-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 190px;
    background: #0e1422;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(0, 242, 254, 0.1);
    backdrop-filter: blur(16px);
    z-index: 1000;
    display: none;
    animation: fadeInDrop 0.15s ease-out forwards;
}

.card-action-dropdown.show {
    display: block;
}

@keyframes fadeInDrop {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.card-action-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #d1d9e6;
    font-size: 12px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.12s ease;
}

.card-action-item i {
    font-size: 13px;
    width: 16px;
    text-align: center;
    color: #91a0b8;
}

.card-action-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.card-action-item:hover i {
    color: var(--primary);
}

.card-action-item.danger-item {
    color: #ff5252;
}

.card-action-item.danger-item:hover {
    background: rgba(255, 23, 68, 0.15);
    color: #ff1744;
}

.card-action-item.danger-item i {
    color: #ff5252;
}

.card-action-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 4px 0;
}

/* Card Body Rows (Clean Key-Value Pairs from User Image) */
.key-pro-card-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .key-pro-card-body {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

.key-pro-field {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.key-pro-field-full {
    grid-column: span 2;
}

@media (max-width: 480px) {
    .key-pro-field-full {
        grid-column: span 1;
    }
}

.key-pro-label {
    color: #718096;
    font-size: 11px;
    font-weight: 600;
}

.key-pro-val {
    color: #e2e8f0;
    font-weight: 500;
    word-break: break-all;
}

.key-pro-val.font-mono {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
}

/* View Mode Switcher (Card vs Table) */
.view-mode-toggle {
    display: inline-flex;
    background: rgba(8, 11, 18, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 3px;
    gap: 2px;
}

.view-mode-btn {
    background: transparent;
    border: none;
    color: #91a0b8;
    padding: 5px 10px;
    border-radius: 7px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    transition: all 0.15s ease;
}

.view-mode-btn.active {
    background: rgba(0, 242, 254, 0.15);
    color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.view-mode-btn:hover:not(.active) {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   GLOBAL BULLETPROOF MOBILE & PHONE RESPONSIVE ENGINE (< 992px, < 768px, < 480px)
   ========================================================================== */
@media screen and (max-width: 992px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative !important;
    }

    .app-layout {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        min-height: 100vh !important;
        overflow-x: hidden !important;
    }

    .sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 280px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        z-index: 100000 !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 12px 0 40px rgba(0, 0, 0, 0.9) !important;
        backdrop-filter: blur(25px) !important;
        background: #080c14 !important;
    }

    .sidebar.open {
        transform: translateX(0) !important;
    }

    .sidebar-backdrop {
        display: none;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: rgba(0, 0, 0, 0.75) !important;
        z-index: 99999 !important;
        backdrop-filter: blur(4px) !important;
    }

    .sidebar-backdrop.active {
        display: block !important;
    }

    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-x: hidden !important;
        min-height: 100vh !important;
    }

    .content-body {
        padding: 16px 14px 40px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .topbar {
        height: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;
        padding: 0 16px !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: rgba(8, 12, 22, 0.95) !important;
        backdrop-filter: blur(20px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 0 !important;
    }

    .topbar-left {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        flex: 1 !important;
        min-width: 0 !important;
    }

    .mobile-toggle {
        display: flex !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 10px !important;
        background: rgba(0, 242, 254, 0.15) !important;
        color: #00f2fe !important;
        border: 1px solid rgba(0, 242, 254, 0.3) !important;
        font-size: 18px !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
    }

    .page-title-group {
        display: flex !important;
        flex-direction: column !important;
        min-width: 0 !important;
    }

    .page-title-group h1 {
        font-size: 16px !important;
        font-weight: 800 !important;
        margin: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .page-title-group .subtitle {
        display: none !important;
    }

    .topbar-right {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
        width: auto !important;
        flex-wrap: nowrap !important;
    }

    /* Hide bulky desktop-only controls from topbar on mobile */
    .topbar-right .auto-sync-box,
    .topbar-right #topCreateKeyBtn,
    .topbar-right #soundToggleBtn,
    .topbar-right .theme-selector,
    .topbar-right .theme-picker-widget,
    .topbar-right #liveTime {
        display: none !important;
    }

    .topbar-right .clock-display {
        font-size: 11.5px !important;
        padding: 4px 8px !important;
        border-radius: 8px !important;
        display: inline-flex !important;
    }

    .topbar-right .btn,
    .topbar-right .btn-icon {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 8px !important;
        font-size: 14px !important;
    }

    .stats-grid,
    .analytics-grid,
    .reseller-analytics-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        margin-bottom: 20px !important;
    }

    .reseller-create-grid,
    .generator-grid,
    .hwid-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .panel-header {
        padding: 12px 14px !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .panel-body {
        padding: 14px !important;
    }

    /* Cards Grid on Phone */
    .keys-cards-grid,
    .resellers-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        width: 100% !important;
    }

    .key-pro-card,
    .reseller-pro-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 14px 14px !important;
        border-radius: 14px !important;
        overflow: visible !important;
    }

    .key-pro-card-header,
    .reseller-card-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        margin-bottom: 10px !important;
        padding-bottom: 10px !important;
    }

    .key-pro-title {
        max-width: 165px !important;
        font-size: 12px !important;
        padding: 4px 8px !important;
    }

    .key-status-pill {
        font-size: 10px !important;
        padding: 4px 8px !important;
        letter-spacing: 0.2px !important;
    }

    .key-pro-card-body {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px 10px !important;
    }

    .reseller-card-body {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px 10px !important;
    }

    .card-action-dropdown {
        position: absolute !important;
        top: calc(100% + 4px) !important;
        right: 0 !important;
        max-width: calc(100vw - 32px) !important;
        width: 200px !important;
        z-index: 99999 !important;
    }

    /* Pagination on Mobile */
    .pagination-controls-bar {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 14px 10px !important;
        width: 100% !important;
    }

    .page-numbers-list {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 6px !important;
        width: 100% !important;
    }

    .page-pill-btn {
        min-width: 32px !important;
        height: 32px !important;
        padding: 0 8px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
    }

    /* Search & Filter Bars on Mobile */
    .keys-actions-bar,
    .table-action-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .search-box,
    .search-input-group {
        width: 100% !important;
        max-width: 100% !important;
    }

    .quick-filter-chips {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        width: 100% !important;
    }

    .filter-chip {
        font-size: 11px !important;
        padding: 5px 10px !important;
    }
}

@media screen and (max-width: 480px) {
    .content-body {
        padding: 12px 10px 30px !important;
    }

    .key-pro-card-body,
    .reseller-card-body {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }

    .key-pro-title {
        max-width: 135px !important;
        font-size: 11px !important;
    }

    .reseller-card-footer {
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    .reseller-card-footer .btn {
        flex: 1 1 45% !important;
        font-size: 11px !important;
        padding: 6px 8px !important;
    }
}

/* ==========================================================================
   GLOBAL CHROME / EDGE / SAFARI AUTOFILL DARK THEME OVERRIDE
   ========================================================================== */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #080c16 inset !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #00f2fe !important;
    border-radius: 8px !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

input:-moz-autofill,
textarea:-moz-autofill,
select:-moz-autofill {
    box-shadow: 0 0 0 1000px #080c16 inset !important;
    -moz-text-fill-color: #ffffff !important;
    filter: none !important;
}

/* ==========================================================================
   LUXURY CYBER TOP SELLERS LEADERBOARD & PROFILE STYLING (GLOBAL)
   ========================================================================== */
.top-sellers-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
}

.podium-card {
    background: linear-gradient(145deg, rgba(16, 23, 38, 0.95) 0%, rgba(9, 14, 24, 0.98) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    padding: 24px 20px !important;
    position: relative !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(16px) !important;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.podium-card:hover {
    transform: translateY(-5px) !important;
}

.podium-card.rank-1 {
    border-color: rgba(255, 215, 0, 0.4) !important;
    box-shadow: 0 16px 40px rgba(255, 215, 0, 0.15), 0 0 25px rgba(255, 215, 0, 0.1) !important;
}
.podium-card.rank-1::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #ffd700, #ff9100) !important;
}

.podium-card.rank-2 {
    border-color: rgba(224, 224, 224, 0.35) !important;
    box-shadow: 0 16px 36px rgba(224, 224, 224, 0.12) !important;
}
.podium-card.rank-2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #e0e0e0, #9e9e9e) !important;
}

.podium-card.rank-3 {
    border-color: rgba(205, 127, 50, 0.35) !important;
    box-shadow: 0 16px 36px rgba(205, 127, 50, 0.12) !important;
}
.podium-card.rank-3::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #cd7f32, #8d5524) !important;
}

.podium-card.rank-4 {
    border-color: rgba(0, 242, 254, 0.35) !important;
    box-shadow: 0 16px 36px rgba(0, 242, 254, 0.1) !important;
}
.podium-card.rank-4::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #00f2fe, #4facfe) !important;
}

.podium-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 18px !important;
}

.podium-badge-rank {
    font-size: 26px !important;
    line-height: 1 !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5)) !important;
}

.podium-title-tag {
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    font-family: 'JetBrains Mono', monospace !important;
}

.podium-avatar-wrap {
    width: 58px !important;
    height: 58px !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-bottom: 14px !important;
}

.podium-name {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.podium-handle {
    font-size: 11.5px !important;
    color: #8391a7 !important;
    font-family: 'JetBrains Mono', monospace !important;
    margin-bottom: 16px !important;
    display: block !important;
}

.podium-metrics-box {
    background: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.podium-metric-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 12px !important;
}

.profile-settings-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
}

.reseller-avatar-large {
    width: 64px !important;
    height: 64px !important;
    border-radius: 18px !important;
    background: rgba(0, 242, 254, 0.08) !important;
    border: 1px solid rgba(0, 242, 254, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15) !important;
}

.border-bottom-dim {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.profile-stat-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.profile-stat-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 12px !important;
    background: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-radius: 10px !important;
}

/* ==========================================================================
   ULTRA-PREMIUM 100X CHAMPIONSHIP HALL OF FAME PODIUM (OLYMPIC 3D SYSTEM)
   ========================================================================== */
.championship-container {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
}

.podium-hero-hud {
    background: linear-gradient(135deg, rgba(16, 24, 42, 0.88) 0%, rgba(8, 12, 22, 0.96) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 24px !important;
    padding: 22px 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(20px) !important;
}

.podium-hero-hud::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important; right: 0 !important; height: 2px !important;
    background: linear-gradient(90deg, transparent, #ffd700, #00f2fe, #bd00ff, transparent) !important;
}

.hud-title-group {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

.hud-trophy-icon {
    width: 52px !important;
    height: 52px !important;
    border-radius: 16px !important;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.25) 0%, rgba(255, 215, 0, 0.05) 100%) !important;
    border: 1px solid rgba(255, 215, 0, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    color: #ffd700 !important;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.35) !important;
}

.hud-title-text h2 {
    font-size: 21px !important;
    font-weight: 900 !important;
    letter-spacing: 0.5px !important;
    background: linear-gradient(90deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    margin-bottom: 3px !important;
}

.hud-title-text p {
    font-size: 12px !important;
    color: #64748b !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

.hud-metrics-strip {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

.hud-chip {
    background: rgba(0, 0, 0, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    padding: 8px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 12px !important;
}

.hud-chip-label {
    color: #8391a7 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.hud-chip-value {
    font-weight: 800 !important;
    color: #ffffff !important;
    font-family: 'JetBrains Mono', monospace !important;
}

/* 3D Olympic Podium Row (Top 3) */
.podium-stage-row {
    display: grid !important;
    grid-template-columns: 1fr 1.12fr 1fr !important;
    gap: 22px !important;
    align-items: end !important;
    position: relative !important;
    margin-top: 10px !important;
    width: 100% !important;
}

.podium-column {
    position: relative !important;
    border-radius: 28px !important;
    background: linear-gradient(175deg, rgba(18, 25, 44, 0.95) 0%, rgba(9, 13, 24, 0.98) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 28px 22px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    backdrop-filter: blur(25px) !important;
    overflow: hidden !important;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7) !important;
}

.podium-column:hover {
    transform: translateY(-8px) scale(1.015) !important;
}

.podium-column::after {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: linear-gradient(
        45deg,
        transparent 45%,
        rgba(255, 255, 255, 0.04) 50%,
        transparent 55%
    ) !important;
    pointer-events: none !important;
    transition: transform 0.8s ease !important;
}

.podium-column:hover::after {
    transform: translate(25%, 25%) !important;
}

/* ==================== RANK 1 (GOLD CHAMPION - CENTER) ==================== */
.podium-column.rank-1 {
    order: 2 !important;
    border-color: rgba(255, 215, 0, 0.45) !important;
    background: linear-gradient(175deg, rgba(28, 36, 25, 0.92) 0%, rgba(20, 26, 18, 0.95) 40%, rgba(10, 14, 22, 0.99) 100%) !important;
    box-shadow: 0 25px 60px rgba(255, 215, 0, 0.2), 0 0 35px rgba(255, 215, 0, 0.1), 0 0 0 1px rgba(255, 215, 0, 0.2) !important;
    min-height: 520px !important;
    z-index: 3 !important;
}

.podium-column.rank-1::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important; right: 0 !important; height: 4px !important;
    background: linear-gradient(90deg, #ffd700, #ffb300, #fff275, #ffd700) !important;
    box-shadow: 0 0 15px #ffd700 !important;
}

/* ==================== RANK 2 (SILVER ELITE - LEFT) ==================== */
.podium-column.rank-2 {
    order: 1 !important;
    border-color: rgba(220, 230, 245, 0.35) !important;
    background: linear-gradient(175deg, rgba(24, 30, 48, 0.9) 0%, rgba(12, 16, 28, 0.98) 100%) !important;
    box-shadow: 0 20px 45px rgba(180, 200, 240, 0.15), 0 0 25px rgba(180, 200, 240, 0.08) !important;
    min-height: 475px !important;
    z-index: 2 !important;
}

.podium-column.rank-2::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important; right: 0 !important; height: 3px !important;
    background: linear-gradient(90deg, #94a3b8, #e2e8f0, #cbd5e1) !important;
}

/* ==================== RANK 3 (BRONZE MASTER - RIGHT) ==================== */
.podium-column.rank-3 {
    order: 3 !important;
    border-color: rgba(255, 140, 66, 0.35) !important;
    background: linear-gradient(175deg, rgba(32, 24, 20, 0.9) 0%, rgba(14, 12, 20, 0.98) 100%) !important;
    box-shadow: 0 20px 45px rgba(255, 140, 66, 0.14), 0 0 25px rgba(255, 140, 66, 0.08) !important;
    min-height: 450px !important;
    z-index: 1 !important;
}

.podium-column.rank-3::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important; right: 0 !important; height: 3px !important;
    background: linear-gradient(90deg, #d97706, #f97316, #b45309) !important;
}

/* Header within card */
.podium-badge-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 20px !important;
}

.rank-number-crest {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-weight: 900 !important;
    font-size: 22px !important;
    line-height: 1 !important;
}

.rank-title-badge {
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    padding: 5px 12px !important;
    border-radius: 30px !important;
    font-family: 'JetBrains Mono', monospace !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

/* Avatar Sphere Presentation */
.podium-avatar-center {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    margin-bottom: 20px !important;
    position: relative !important;
}

.avatar-halo-wrap {
    position: relative !important;
    margin-bottom: 14px !important;
}

.avatar-sphere {
    width: 76px !important;
    height: 76px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    position: relative !important;
    border: 2px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6) !important;
}

.rank-1 .avatar-sphere {
    width: 90px !important;
    height: 90px !important;
    font-size: 34px !important;
    border: 3px solid #ffd700 !important;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4), inset 0 0 20px rgba(255, 215, 0, 0.2) !important;
}

.rank-2 .avatar-sphere {
    border: 2px solid #cbd5e1 !important;
    box-shadow: 0 0 25px rgba(203, 213, 225, 0.35) !important;
}

.rank-3 .avatar-sphere {
    border: 2px solid #f97316 !important;
    box-shadow: 0 0 25px rgba(249, 115, 22, 0.35) !important;
}

.floating-crown-badge {
    position: absolute !important;
    top: -14px !important;
    background: linear-gradient(135deg, #ffd700, #ff9100) !important;
    color: #000000 !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.8) !important;
    border: 2px solid #ffffff !important;
    animation: crownBounce 3s ease-in-out infinite !important;
}

@keyframes crownBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.verified-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: rgba(0, 242, 254, 0.12) !important;
    color: #00f2fe !important;
    border: 1px solid rgba(0, 242, 254, 0.3) !important;
    border-radius: 20px !important;
    padding: 3px 8px !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    margin-top: 4px !important;
}

.dealer-display-name {
    font-size: 19px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    letter-spacing: 0.3px !important;
    margin-bottom: 2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}

.rank-1 .dealer-display-name {
    font-size: 22px !important;
    color: #fff9db !important;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.3) !important;
}

.dealer-username-tag {
    font-size: 12px !important;
    color: #8391a7 !important;
    font-family: 'JetBrains Mono', monospace !important;
    margin-bottom: 14px !important;
    display: block !important;
}

/* Hero Revenue Callout Box */
.hero-turnover-box {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 18px !important;
    padding: 16px 14px !important;
    text-align: center !important;
    margin-bottom: 14px !important;
    position: relative !important;
    overflow: hidden !important;
}

.turnover-label {
    font-size: 10px !important;
    color: #8391a7 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 4px !important;
    display: block !important;
}

.turnover-amount {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 26px !important;
    font-weight: 900 !important;
    display: block !important;
    letter-spacing: 0.5px !important;
}

.rank-1 .turnover-amount {
    color: #ffd700 !important;
    font-size: 30px !important;
    text-shadow: 0 0 25px rgba(255, 215, 0, 0.5) !important;
}
.rank-2 .turnover-amount {
    color: #e2e8f0 !important;
    text-shadow: 0 0 20px rgba(226, 232, 240, 0.4) !important;
}
.rank-3 .turnover-amount {
    color: #f97316 !important;
    text-shadow: 0 0 20px rgba(249, 115, 22, 0.4) !important;
}

/* Key Count Metric Pill */
.keys-minted-banner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 9px 14px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
    font-size: 12px !important;
}

.keys-minted-banner strong {
    font-family: 'JetBrains Mono', monospace !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
}

/* Volume Share Progress */
.volume-share-group {
    margin-bottom: 14px !important;
}

.volume-share-header {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 10.5px !important;
    color: #8391a7 !important;
    font-weight: 700 !important;
    margin-bottom: 5px !important;
}

.volume-share-bar-bg {
    height: 6px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.volume-share-bar-fill {
    height: 100% !important;
    border-radius: 6px !important;
    transition: width 1s ease-in-out !important;
}

.rank-1 .volume-share-bar-fill { background: linear-gradient(90deg, #ffd700, #ff9100) !important; }
.rank-2 .volume-share-bar-fill { background: linear-gradient(90deg, #94a3b8, #e2e8f0) !important; }
.rank-3 .volume-share-bar-fill { background: linear-gradient(90deg, #f97316, #ea580c) !important; }
.rank-4 .volume-share-bar-fill { background: linear-gradient(90deg, #00f2fe, #4facfe) !important; }

/* Lifetime Stats Footer */
.podium-footer-stats {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 11px !important;
    color: #64748b !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Holographic Pedestal Base Step */
.podium-pedestal-base {
    height: 48px !important;
    margin-top: 14px !important;
    background: rgba(0, 0, 0, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-weight: 900 !important;
    font-size: 16px !important;
    letter-spacing: 2px !important;
}

.rank-1 .podium-pedestal-base {
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.04) 100%) !important;
    border-color: rgba(255, 215, 0, 0.35) !important;
    color: #ffd700 !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5) !important;
    height: 56px !important;
}
.rank-2 .podium-pedestal-base {
    border-color: rgba(226, 232, 240, 0.25) !important;
    color: #cbd5e1 !important;
}
.rank-3 .podium-pedestal-base {
    border-color: rgba(249, 115, 22, 0.25) !important;
    color: #f97316 !important;
}

/* ==================== RANK 4 (RISING STAR - WIDE PEDESTAL) ==================== */
.rank-4-pedestal-card {
    background: linear-gradient(135deg, rgba(14, 22, 38, 0.95) 0%, rgba(8, 14, 24, 0.98) 100%) !important;
    border: 1px solid rgba(0, 242, 254, 0.3) !important;
    border-radius: 22px !important;
    padding: 20px 26px !important;
    display: grid !important;
    grid-template-columns: auto 1fr auto auto !important;
    align-items: center !important;
    gap: 24px !important;
    box-shadow: 0 16px 36px rgba(0, 242, 254, 0.08), 0 0 20px rgba(0, 242, 254, 0.04) !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
}

.rank-4-pedestal-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(0, 242, 254, 0.5) !important;
    box-shadow: 0 20px 40px rgba(0, 242, 254, 0.15) !important;
}

.rank-4-pedestal-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important; bottom: 0 !important; width: 4px !important;
    background: linear-gradient(180deg, #00f2fe, #4facfe) !important;
}

.rank-4-avatar-group {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

.rank-4-sphere {
    width: 56px !important;
    height: 56px !important;
    border-radius: 16px !important;
    background: rgba(0, 242, 254, 0.1) !important;
    border: 1px solid rgba(0, 242, 254, 0.35) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    color: #00f2fe !important;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2) !important;
}

@media (max-width: 992px) {
    .podium-stage-row {
        grid-template-columns: 1fr !important;
    }
    .podium-column.rank-1 { order: 1 !important; min-height: auto !important; }
    .podium-column.rank-2 { order: 2 !important; min-height: auto !important; }
    .podium-column.rank-3 { order: 3 !important; min-height: auto !important; }
    .rank-4-pedestal-card {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* ==========================================================================
   TOP CONTENDERS & DEALER MATRIX (RANKS 4 TO 10)
   ========================================================================== */
.contenders-section {
    background: linear-gradient(135deg, rgba(14, 20, 36, 0.82) 0%, rgba(8, 12, 22, 0.96) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 24px !important;
    padding: 24px 28px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(20px) !important;
    width: 100% !important;
}

.contenders-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 20px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.contenders-header h3 {
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
}

.contenders-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
}

.contender-row {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    padding: 14px 20px !important;
    display: grid !important;
    grid-template-columns: 80px 1.4fr 1fr 1fr 150px !important;
    align-items: center !important;
    gap: 18px !important;
    transition: all 0.25s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.contender-row:hover {
    transform: translateX(4px) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: var(--contender-accent, rgba(0, 242, 254, 0.3)) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
}

.contender-row::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important; top: 0 !important; bottom: 0 !important; width: 4px !important;
    background: var(--contender-accent, #00f2fe) !important;
}

.contender-rank {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    color: var(--contender-accent, #00f2fe) !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.contender-profile {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.contender-avatar {
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 900 !important;
    font-size: 17px !important;
    color: #ffffff !important;
    flex-shrink: 0 !important;
}

.contender-names h4 {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 2px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.contender-names span {
    font-size: 11px !important;
    color: #8391a7 !important;
    font-family: 'JetBrains Mono', monospace !important;
}

.contender-metric {
    display: flex !important;
    flex-direction: column !important;
}

.contender-metric-label {
    font-size: 9.5px !important;
    color: #8391a7 !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 2px !important;
}

.contender-metric-value {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
}

.contender-share-bar {
    width: 100% !important;
}

.contender-share-bar-fill {
    height: 5px !important;
    border-radius: 5px !important;
    background: var(--contender-accent, #00f2fe) !important;
}

@media (max-width: 992px) {
    .contender-row {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* ==========================================================================
   ULTRA-LUXURY CYBER VAULT LOCKOUT SCREEN (REST API ACCESS LOCKED)
   ========================================================================== */
.cyber-vault-lockout-container {
    max-width: 820px !important;
    margin: 25px auto !important;
    padding: 45px 35px !important;
    background: radial-gradient(circle at 50% 15%, rgba(255, 179, 0, 0.08) 0%, rgba(13, 18, 30, 0.96) 65%, rgba(6, 9, 16, 0.99) 100%) !important;
    border: 1px solid rgba(255, 179, 0, 0.28) !important;
    border-radius: 24px !important;
    box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.9), 0 0 50px rgba(255, 179, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
    position: relative !important;
    overflow: hidden !important;
    backdrop-filter: blur(25px) !important;
    text-align: center !important;
}

.cyber-vault-lockout-container::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 20% !important;
    right: 20% !important;
    height: 3px !important;
    background: linear-gradient(90deg, transparent, #ffd700, transparent) !important;
    box-shadow: 0 0 20px #ffd700 !important;
    border-radius: 3px !important;
}

.vault-hud-chips-row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin-bottom: 26px !important;
}

.vault-chip {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 5px 14px !important;
    border-radius: 20px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    letter-spacing: 0.5px !important;
}

.vault-chip.active-alert {
    border-color: rgba(255, 179, 0, 0.4) !important;
    color: #ffd700 !important;
    background: rgba(255, 179, 0, 0.08) !important;
}

.vault-core-stage {
    position: relative !important;
    width: 130px !important;
    height: 130px !important;
    margin: 0 auto 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.vault-rotating-ring {
    position: absolute !important;
    inset: 0 !important;
    border-radius: 50% !important;
    border: 2px dashed rgba(255, 179, 0, 0.35) !important;
    animation: vaultRingSpin 18s linear infinite !important;
}

.vault-inner-ring {
    position: absolute !important;
    inset: 12px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 179, 0, 0.2) !important;
    box-shadow: 0 0 25px rgba(255, 179, 0, 0.15), inset 0 0 20px rgba(255, 179, 0, 0.08) !important;
}

.vault-lock-orb {
    width: 86px !important;
    height: 86px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle at 35% 30%, rgba(255, 215, 0, 0.25) 0%, rgba(18, 24, 38, 0.95) 75%) !important;
    border: 2px solid rgba(255, 179, 0, 0.7) !important;
    box-shadow: 0 0 35px rgba(255, 179, 0, 0.45), inset 0 0 15px rgba(255, 179, 0, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 34px !important;
    color: #ffd700 !important;
    animation: vaultPulse 3s ease-in-out infinite !important;
    z-index: 2 !important;
}

@keyframes vaultRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes vaultPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(255, 179, 0, 0.35);
    }
    50% {
        transform: scale(1.04);
        box-shadow: 0 0 50px rgba(255, 179, 0, 0.65), 0 0 20px #ffd700;
    }
}

.vault-title-section h2 {
    font-family: 'Inter', sans-serif !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    letter-spacing: 1.5px !important;
    background: linear-gradient(135deg, #ffffff 15%, #ffd700 65%, #ff9100 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    margin-bottom: 10px !important;
    text-transform: uppercase !important;
}

.vault-subtitle {
    font-size: 14px !important;
    color: #cbd5e1 !important;
    max-width: 560px !important;
    margin: 0 auto 25px !important;
    line-height: 1.6 !important;
}

.vault-notice-terminal {
    background: rgba(0, 0, 0, 0.65) !important;
    border: 1px solid rgba(255, 179, 0, 0.2) !important;
    border-left: 4px solid #ffd700 !important;
    border-radius: 14px !important;
    padding: 18px 22px !important;
    max-width: 660px !important;
    margin: 0 auto 24px !important;
    text-align: left !important;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5) !important;
}

.vault-notice-header {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    color: #ffd700 !important;
    letter-spacing: 1px !important;
    margin-bottom: 8px !important;
}

.vault-notice-terminal p {
    font-size: 13px !important;
    color: #94a3b8 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.contact-super-admin-banner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    background: linear-gradient(135deg, rgba(255, 179, 0, 0.12) 0%, rgba(20, 26, 40, 0.95) 100%) !important;
    border: 1.5px solid rgba(255, 179, 0, 0.45) !important;
    border-radius: 16px !important;
    padding: 18px 24px !important;
    max-width: 660px !important;
    margin: 0 auto !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 25px rgba(255, 179, 0, 0.15) !important;
    text-align: left !important;
}

.cs-admin-left {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

.cs-admin-icon-wrap {
    width: 52px !important;
    height: 52px !important;
    border-radius: 14px !important;
    background: rgba(255, 179, 0, 0.15) !important;
    border: 1px solid rgba(255, 179, 0, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    color: #ffd700 !important;
    flex-shrink: 0 !important;
}

.cs-admin-text-wrap {
    display: flex !important;
    flex-direction: column !important;
}

.cs-admin-label {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    color: #f59e0b !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.cs-admin-main {
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    letter-spacing: 0.5px !important;
}

.cs-admin-desc {
    font-size: 12px !important;
    color: #94a3b8 !important;
}

.cs-admin-pill {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #ffd700 !important;
    background: rgba(255, 179, 0, 0.12) !important;
    border: 1px solid rgba(255, 179, 0, 0.35) !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

@media (max-width: 768px) {
    .cyber-vault-lockout-container {
        padding: 30px 18px !important;
        margin: 15px auto !important;
    }
    .contact-super-admin-banner {
        flex-direction: column !important;
        text-align: center !important;
        gap: 14px !important;
    }
    .cs-admin-left {
        flex-direction: column !important;
    }
}

/* ==========================================================================
   GLOBAL RESELLER TOP ANNOUNCEMENT NOTIFICATION BAR
   ========================================================================== */
.reseller-top-announcement {
    border-radius: 14px !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    animation: announcementSlideIn 0.5s ease-out !important;
}

@keyframes announcementSlideIn {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

.announcement-glass-panel {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 20px !important;
    gap: 16px !important;
}

.announcement-left {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.announcement-icon-wrap {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    flex-shrink: 0 !important;
}

.announcement-content-wrap {
    flex: 1 !important;
    min-width: 0 !important;
}

.announcement-header-strip {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    margin-bottom: 3px !important;
}

.announcement-pill {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

.announcement-title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    letter-spacing: 0.3px !important;
}

.announcement-body-text {
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.btn-dismiss-announcement {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    transition: all 0.2s ease !important;
}

.btn-dismiss-announcement:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    transform: rotate(90deg) !important;
}

/* Announcement Themes */
.reseller-top-announcement.theme-info {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.12) 0%, rgba(10, 14, 23, 0.95) 100%) !important;
    border: 1px solid rgba(0, 242, 254, 0.35) !important;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.15) !important;
}
.reseller-top-announcement.theme-info .announcement-icon-wrap {
    background: rgba(0, 242, 254, 0.18) !important;
    border: 1px solid rgba(0, 242, 254, 0.4) !important;
    color: #00f2fe !important;
}
.reseller-top-announcement.theme-info .announcement-pill {
    background: rgba(0, 242, 254, 0.18) !important;
    color: #00f2fe !important;
    border: 1px solid rgba(0, 242, 254, 0.3) !important;
}
.reseller-top-announcement.theme-info .announcement-title { color: #00f2fe !important; }

.reseller-top-announcement.theme-offer {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12) 0%, rgba(10, 14, 23, 0.95) 100%) !important;
    border: 1px solid rgba(255, 215, 0, 0.35) !important;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.15) !important;
}
.reseller-top-announcement.theme-offer .announcement-icon-wrap {
    background: rgba(255, 215, 0, 0.18) !important;
    border: 1px solid rgba(255, 215, 0, 0.4) !important;
    color: #ffd700 !important;
}
.reseller-top-announcement.theme-offer .announcement-pill {
    background: rgba(255, 215, 0, 0.18) !important;
    color: #ffd700 !important;
    border: 1px solid rgba(255, 215, 0, 0.3) !important;
}
.reseller-top-announcement.theme-offer .announcement-title { color: #ffd700 !important; }

.reseller-top-announcement.theme-warning {
    background: linear-gradient(135deg, rgba(255, 171, 0, 0.12) 0%, rgba(10, 14, 23, 0.95) 100%) !important;
    border: 1px solid rgba(255, 171, 0, 0.35) !important;
    box-shadow: 0 4px 20px rgba(255, 171, 0, 0.15) !important;
}
.reseller-top-announcement.theme-warning .announcement-icon-wrap {
    background: rgba(255, 171, 0, 0.18) !important;
    border: 1px solid rgba(255, 171, 0, 0.4) !important;
    color: #ffab00 !important;
}
.reseller-top-announcement.theme-warning .announcement-pill {
    background: rgba(255, 171, 0, 0.18) !important;
    color: #ffab00 !important;
    border: 1px solid rgba(255, 171, 0, 0.3) !important;
}
.reseller-top-announcement.theme-warning .announcement-title { color: #ffab00 !important; }

.reseller-top-announcement.theme-emergency {
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.15) 0%, rgba(10, 14, 23, 0.95) 100%) !important;
    border: 1px solid rgba(255, 23, 68, 0.4) !important;
    box-shadow: 0 4px 25px rgba(255, 23, 68, 0.25) !important;
    animation: announcementEmergencyPulse 2s infinite alternate !important;
}
@keyframes announcementEmergencyPulse {
    from { border-color: rgba(255, 23, 68, 0.3); }
    to { border-color: rgba(255, 23, 68, 0.7); box-shadow: 0 0 30px rgba(255, 23, 68, 0.4); }
}
.reseller-top-announcement.theme-emergency .announcement-icon-wrap {
    background: rgba(255, 23, 68, 0.2) !important;
    border: 1px solid rgba(255, 23, 68, 0.5) !important;
    color: #ff1744 !important;
}
.reseller-top-announcement.theme-emergency .announcement-pill {
    background: rgba(255, 23, 68, 0.2) !important;
    color: #ff1744 !important;
    border: 1px solid rgba(255, 23, 68, 0.4) !important;
}
.reseller-top-announcement.theme-emergency .announcement-title { color: #ff1744 !important; }

/* ==========================================================================
   NOTIFICATION BELL & CYBER FLYOUT CENTER
   ========================================================================== */
.notification-bell-btn {
    position: relative !important;
}

.notification-badge-dot {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    width: 9px !important;
    height: 9px !important;
    border-radius: 50% !important;
    background: #ff1744 !important;
    box-shadow: 0 0 10px #ff1744, 0 0 16px rgba(255, 23, 68, 0.6) !important;
    animation: bellPulseDot 1.4s infinite !important;
}

@keyframes bellPulseDot {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #ff1744; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

.bell-ringing i {
    animation: bellWiggle 0.6s ease-in-out infinite alternate !important;
    color: #ffab00 !important;
}

@keyframes bellWiggle {
    0% { transform: rotate(-20deg); }
    100% { transform: rotate(20deg); }
}

.notification-flyout-menu {
    position: absolute !important;
    top: calc(100% + 14px) !important;
    right: 0 !important;
    width: 360px !important;
    max-width: 92vw !important;
    background: rgba(10, 14, 23, 0.96) !important;
    border: 1px solid rgba(0, 242, 254, 0.25) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(25px) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 242, 254, 0.15) !important;
    z-index: 1050 !important;
    overflow: hidden !important;
    animation: flyoutSlideDown 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

@keyframes flyoutSlideDown {
    from { opacity: 0; transform: translateY(-8px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.notif-menu-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 14px 18px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

.notif-permission-box {
    background: rgba(0, 242, 254, 0.06) !important;
    border: 1px solid rgba(0, 242, 254, 0.2) !important;
    border-radius: 10px !important;
    margin: 12px 14px 8px !important;
    padding: 10px 14px !important;
}

.notif-items-list {
    max-height: 280px !important;
    overflow-y: auto !important;
    padding: 8px 14px !important;
}

.notif-card-item {
    padding: 12px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    margin-bottom: 8px !important;
    transition: all 0.2s ease !important;
}

.notif-card-item:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(0, 242, 254, 0.3) !important;
}

.notif-card-item.is-unread {
    border-left: 3px solid #00f2fe !important;
    background: rgba(0, 242, 254, 0.05) !important;
}

.notif-menu-footer {
    padding: 10px 16px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    text-align: center !important;
    background: rgba(0, 0, 0, 0.3) !important;
}

.btn-clear-notif {
    background: none !important;
    border: none !important;
    color: #94a3b8 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: color 0.2s ease !important;
}

.btn-clear-notif:hover {
    color: #00f2fe !important;
}




