/* ================================================================
   REAL LIFE GTA — Admin Panel
   VICE CITY / MIAMI EDITION 🌴
   Hot Pink · Neon Green · Purple · Gold
   ═══════════════════════════════════════════════════════════════
   PREMIUM 2026 OVERHAUL — Glassmorphism · 3D Depth · Enterprise
   ================================================================ */

@import url('https://fonts.cdnfonts.com/css/pricedown');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* === VICE CITY PALETTE === */
    --bg-dark: #0a0015;
    --bg-darker: #060010;
    --bg-card: rgba(20, 10, 40, 0.7);
    --bg-card-hover: rgba(35, 15, 60, 0.8);
    --bg-sidebar: rgba(8, 0, 22, 0.92);
    --bg-input: rgba(12, 4, 28, 0.7);
    --border: rgba(139, 0, 255, 0.18);
    --border-glow: rgba(255, 20, 147, 0.35);

    /* Primary: Hot Pink / Magenta */
    --pink: #FF1493;
    --pink-bright: #FF0080;
    --pink-dim: #cc1077;
    --pink-dark: #330028;

    /* Secondary: Neon Green */
    --neon: #39FF14;
    --neon-bright: #00FF41;
    --neon-dim: #2ecc11;
    --neon-dark: #0a2200;

    /* Tertiary: Purple */
    --purple: #8B00FF;
    --purple-bright: #A020F0;
    --purple-dim: #7B2FBE;
    --purple-dark: #1a0033;

    /* Accent: Gold */
    --gold: #FFD700;
    --gold-dim: #ccaa00;

    /* Danger */
    --red: #ff0044;
    --red-dark: #330011;

    /* Blues */
    --blue: #00bfff;

    --text: #f0eaf5;
    --text-dim: #c0a0d0;
    --text-muted: #7a5a9a;

    /* === PREMIUM TOKENS === */
    --glass-bg: rgba(20, 10, 40, 0.65);
    --glass-bg-heavy: rgba(20, 10, 40, 0.82);
    --glass-border: rgba(255, 20, 147, 0.12);
    --glass-blur: 20px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --ease-premium: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s var(--ease-premium);
    --transition-smooth: 0.35s var(--ease-premium);

    /* Shadows & Glows */
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
    --shadow-elevated: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 20, 147, 0.06);
    --shadow-float: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 24px rgba(255, 20, 147, 0.08);
    --shadow-glow-pink: 0 0 20px rgba(255, 20, 147, 0.25), 0 0 40px rgba(255, 20, 147, 0.12);
    --shadow-glow-neon: 0 0 20px rgba(57, 255, 20, 0.25), 0 0 40px rgba(57, 255, 20, 0.12);
    --shadow-glow-purple: 0 0 20px rgba(139, 0, 255, 0.25), 0 0 40px rgba(139, 0, 255, 0.12);
    --neon-text-pink: 0 0 10px rgba(255, 20, 147, 0.6), 0 0 20px rgba(255, 20, 147, 0.4), 0 0 40px rgba(255, 20, 147, 0.2);
    --neon-text-neon: 0 0 10px rgba(57, 255, 20, 0.6), 0 0 20px rgba(57, 255, 20, 0.4), 0 0 40px rgba(57, 255, 20, 0.2);
    --neon-text-purple: 0 0 10px rgba(139, 0, 255, 0.6), 0 0 20px rgba(139, 0, 255, 0.4);
    --neon-text-gold: 0 0 10px rgba(255, 215, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ================================================================
   NOISE / GRAIN TEXTURE OVERLAY
   ================================================================ */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ================================================================
   PRICEDOWN — GTA HEADER FONT
   ================================================================ */
.gta-font, .login-logo h1, .sidebar-logo h2, .page-header h1, .modal h3,
.stat-card .stat-value, .gta-title {
    font-family: 'Pricedown', 'Impact', 'Arial Black', sans-serif !important;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes gridScroll {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

@keyframes neonPulse {
    0%, 100% { opacity: 1; text-shadow: var(--neon-text-pink); }
    50% { opacity: 0.85; text-shadow: 0 0 20px rgba(255, 20, 147, 0.8), 0 0 40px rgba(255, 20, 147, 0.5), 0 0 80px rgba(255, 20, 147, 0.3); }
}

@keyframes neonGlowPulse {
    0%, 100% { box-shadow: 0 0 5px rgba(57, 255, 20, 0.3), 0 0 10px rgba(57, 255, 20, 0.1); }
    50% { box-shadow: 0 0 15px rgba(57, 255, 20, 0.5), 0 0 30px rgba(57, 255, 20, 0.2); }
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes borderGlow {
    0%, 100% { border-color: rgba(255, 20, 147, 0.2); }
    50% { border-color: rgba(255, 20, 147, 0.5); }
}

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

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

@keyframes countPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.06); }
    100% { transform: scale(1); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes focusGlow {
    0%, 100% { box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.15), inset 0 1px 4px rgba(0, 0, 0, 0.3); }
    50% { box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.35), 0 0 16px rgba(255, 20, 147, 0.1), inset 0 1px 4px rgba(0, 0, 0, 0.3); }
}

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

/* ================================================================
   LOGIN PAGE — VICE CITY HERO BACKGROUND
   ================================================================ */
.login-container {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(6, 0, 16, 0.55) 0%, rgba(10, 0, 21, 0.7) 100%),
        url(/gta-ladies.jpg) center center / cover no-repeat;
    position: relative;
    overflow: hidden;
}

/* Dark gradient overlay for readability */
.login-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 20, 147, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(139, 0, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0) 0%, rgba(6, 0, 16, 0.6) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Scanline effect — pink tinted */
.login-container::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 20, 147, 0.15), transparent);
    animation: scanline 4s linear infinite;
    pointer-events: none;
    z-index: 2;
}

/* Grid overlay — purple tinted */
.login-bg-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(139, 0, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 0, 255, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridScroll 8s linear infinite;
    pointer-events: none;
}

.login-box {
    margin-right: 0;
    margin-bottom: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, rgba(20, 8, 42, 0.88) 0%, rgba(10, 0, 28, 0.94) 100%);
    border: 1px solid rgba(255, 20, 147, 0.2);
    border-radius: 0;
    padding: 56px 48px;
    width: 42vw;
    max-width: 90vw;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-float), 0 0 80px rgba(139, 0, 255, 0.12), 0 0 40px rgba(255, 20, 147, 0.08);
    animation: fadeInUp 0.7s var(--ease-premium);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
}

/* Corner accents — hot pink */
.login-box::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px;
    width: 48px; height: 48px;
    border-top: 3px solid var(--pink);
    border-left: 3px solid var(--pink);
    border-radius: 0;
    box-shadow: -3px -3px 16px rgba(255, 20, 147, 0.25);
}
.login-box::after {
    content: '';
    position: absolute;
    bottom: -1px; right: -1px;
    width: 48px; height: 48px;
    border-bottom: 3px solid var(--pink);
    border-right: 3px solid var(--pink);
    border-radius: 0;
    box-shadow: 3px 3px 16px rgba(255, 20, 147, 0.25);
}

.login-logo {
    text-align: center;
    margin-bottom: 40px;
}

.login-logo h1 {
    font-size: 58px;
    font-weight: 400;
    letter-spacing: 5px;
    color: var(--pink);
    text-shadow: var(--neon-text-pink);
    line-height: 1.1;
    margin-bottom: 8px;
    animation: neonPulse 3s ease-in-out infinite;
}

.login-logo .gta-subline {
    font-family: 'Pricedown', 'Impact', sans-serif;
    font-size: 22px;
    color: var(--neon);
    letter-spacing: 8px;
    text-shadow: var(--neon-text-neon);
    margin-top: 4px;
}

.login-logo .subtitle {
    font-family: 'Inter', 'Roboto', sans-serif;
    font-size: 11px;
    color: var(--gold);
    letter-spacing: 6px;
    text-transform: uppercase;
    font-weight: 600;
    text-shadow: var(--neon-text-gold);
    margin-top: 10px;
}

/* ===== FORM ELEMENTS — PREMIUM GLASS ===== */
.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--pink);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(10, 0, 25, 0.6);
    border: 1px solid rgba(139, 0, 255, 0.2);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: 'Inter', 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 400;
    transition: all var(--transition-smooth);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--pink);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
    background: rgba(20, 0, 40, 0.75);
    animation: focusGlow 2s ease-in-out infinite;
}

.form-group input::placeholder {
    color: var(--text-muted);
    font-style: normal;
    font-weight: 300;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* ===== BUTTONS — PREMIUM 3D VICE CITY ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Inter', 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    /* 3D depth base */
    transform: translateY(0);
}

.btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; right: 0; bottom: 0;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transition: left 0.5s var(--ease-premium);
}

.btn:hover::after {
    left: 100%;
}

.btn:active {
    transform: translateY(2px);
    transition: transform 0.1s;
}

/* Primary: Neon Green with glow + 3D */
.btn-primary {
    background: linear-gradient(180deg, #44ff22 0%, #28cc10 50%, #1fa80d 100%);
    color: #000;
    width: 100%;
    font-weight: 900;
    font-size: 15px;
    letter-spacing: 3px;
    box-shadow: 
        0 4px 0 #148a08,
        0 6px 20px rgba(57, 255, 20, 0.3),
        0 0 40px rgba(57, 255, 20, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 0 rgba(57, 255, 20, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #55ff44 0%, #39FF14 50%, #28cc10 100%);
    box-shadow: 
        0 4px 0 #148a08,
        0 8px 30px rgba(57, 255, 20, 0.5),
        0 0 60px rgba(57, 255, 20, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-primary:active {
    box-shadow: 
        0 1px 0 #148a08,
        0 2px 10px rgba(57, 255, 20, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(2px);
}

/* Secondary: Hot Pink outline with glass */
.btn-secondary {
    background: linear-gradient(180deg, rgba(255, 20, 147, 0.12) 0%, rgba(255, 20, 147, 0.05) 100%);
    border: 1px solid rgba(255, 20, 147, 0.35);
    color: var(--pink);
    box-shadow: 
        0 2px 0 rgba(100, 0, 60, 0.3),
        inset 0 1px 0 rgba(255, 20, 147, 0.1);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    border-color: var(--pink);
    background: linear-gradient(180deg, rgba(255, 20, 147, 0.2) 0%, rgba(255, 20, 147, 0.08) 100%);
    color: var(--pink-bright);
    box-shadow: 
        var(--shadow-glow-pink),
        0 2px 0 rgba(100, 0, 60, 0.3),
        inset 0 1px 0 rgba(255, 20, 147, 0.15);
    transform: translateY(-2px);
}

/* Danger: Purple with 3D */
.btn-danger {
    background: linear-gradient(180deg, rgba(139, 0, 255, 0.15) 0%, rgba(139, 0, 255, 0.05) 100%);
    border: 1px solid rgba(139, 0, 255, 0.35);
    color: var(--purple-bright);
    box-shadow: 
        0 2px 0 rgba(60, 0, 100, 0.3),
        inset 0 1px 0 rgba(139, 0, 255, 0.1);
}

.btn-danger:hover {
    background: linear-gradient(180deg, var(--purple-bright) 0%, var(--purple) 100%);
    color: #fff;
    box-shadow: 
        var(--shadow-glow-purple),
        0 2px 0 rgba(60, 0, 100, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 9px 18px;
    font-size: 11px;
    letter-spacing: 1.5px;
}

.login-error {
    background: rgba(255, 0, 68, 0.08);
    border: 1px solid rgba(255, 0, 68, 0.4);
    color: var(--red);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 16px;
    display: none;
    text-shadow: 0 0 10px rgba(255, 0, 68, 0.3);
    backdrop-filter: blur(8px);
}

/* ================================================================
   MAIN LAYOUT
   ================================================================ */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* ================================================================
   SIDEBAR — PREMIUM GLASS PANEL
   ================================================================ */
.sidebar {
    width: 270px;
    background: linear-gradient(180deg, rgba(12, 0, 32, 0.95) 0%, rgba(16, 0, 48, 0.92) 50%, rgba(10, 0, 24, 0.96) 100%);
    border-right: 1px solid rgba(255, 20, 147, 0.12);
    padding: 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    box-shadow: 4px 0 40px rgba(0, 0, 0, 0.6), 4px 0 80px rgba(139, 0, 255, 0.06);
    backdrop-filter: blur(24px) saturate(1.3);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
}

.sidebar-logo {
    padding: 28px 24px 24px;
    border-bottom: 1px solid rgba(255, 20, 147, 0.2);
    background: linear-gradient(180deg, rgba(255, 20, 147, 0.06) 0%, rgba(139, 0, 255, 0.03) 100%);
    position: relative;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* Subtle gradient glow line under logo */
.sidebar-logo::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pink), transparent);
    opacity: 0.5;
}

.sidebar-logo h2 {
    font-size: 34px;
    font-weight: 400;
    letter-spacing: 4px;
    color: var(--pink);
    text-shadow: var(--neon-text-pink);
    line-height: 1;
}

.sidebar-logo .version {
    font-family: 'Inter', 'Roboto', sans-serif;
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 8px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Wanted stars — gold */
.sidebar-logo .wanted-stars {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--gold);
    text-shadow: var(--neon-text-gold);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 24px;
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-smooth);
    border-left: 3px solid transparent;
    text-decoration: none;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-item:hover {
    background: rgba(255, 20, 147, 0.05);
    color: var(--text);
    border-left-color: rgba(255, 20, 147, 0.4);
    padding-left: 28px;
}

/* Active: neon green gradient glow */
.nav-item.active {
    color: var(--neon);
    background: linear-gradient(90deg, rgba(57, 255, 20, 0.08) 0%, transparent 80%);
    border-left: 3px solid transparent;
    border-image: linear-gradient(180deg, var(--neon), var(--neon-dim)) 1;
    text-shadow: 0 0 12px rgba(57, 255, 20, 0.4);
    font-weight: 600;
}

/* Active glow bar */
.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background: var(--neon);
    box-shadow: 0 0 12px rgba(57, 255, 20, 0.6), 0 0 24px rgba(57, 255, 20, 0.3);
    border-radius: 0 2px 2px 0;
}

.nav-item.active::after {
    content: '▸';
    position: absolute;
    right: 16px;
    color: var(--neon);
    font-size: 12px;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.5);
}

.nav-item .icon {
    font-size: 18px;
    width: 26px;
    text-align: center;
    transition: transform var(--transition-fast);
}

.nav-item:hover .icon {
    transform: scale(1.15);
}

.sidebar-footer {
    margin-top: auto;
    padding: 18px 22px;
    border-top: 1px solid rgba(255, 20, 147, 0.15);
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
}

.sidebar-footer .user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.sidebar-footer .avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--purple-dark), rgba(255, 20, 147, 0.15));
    border: 2px solid var(--pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    color: var(--pink);
    text-shadow: 0 0 8px rgba(255, 20, 147, 0.5);
    box-shadow: 0 0 12px rgba(255, 20, 147, 0.2);
    transition: all var(--transition-smooth);
}

.sidebar-footer .avatar:hover {
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.4);
    transform: scale(1.05);
}

.sidebar-footer .username {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.5px;
}

.logout-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: linear-gradient(180deg, rgba(139, 0, 255, 0.1) 0%, rgba(139, 0, 255, 0.04) 100%);
    border: 1px solid rgba(139, 0, 255, 0.3);
    border-radius: var(--radius-sm);
    color: var(--purple-bright);
    font-family: 'Inter', 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 2px 0 rgba(60, 0, 100, 0.2);
}

.logout-btn:hover {
    background: linear-gradient(180deg, var(--purple-bright), var(--purple));
    border-color: var(--purple);
    color: #fff;
    box-shadow: var(--shadow-glow-purple), 0 2px 0 rgba(60, 0, 100, 0.3);
    transform: translateY(-1px);
}

.logout-btn:active {
    transform: translateY(1px);
    box-shadow: 0 0 0 rgba(60, 0, 100, 0.2);
}

/* ================================================================
   MAIN CONTENT
   ================================================================ */
.main-content {
    margin-left: 270px;
    flex: 1;
    padding: 36px 40px;
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 85% 5%, rgba(139, 0, 255, 0.04) 0%, transparent 35%),
        radial-gradient(ellipse at 15% 95%, rgba(255, 20, 147, 0.03) 0%, transparent 35%),
        radial-gradient(ellipse at 50% 50%, rgba(57, 255, 20, 0.01) 0%, transparent 60%),
        linear-gradient(180deg, #0a0015 0%, #0e001e 50%, #0a0015 100%);
}

.page-header {
    margin-bottom: 36px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 20, 147, 0.1);
    position: relative;
    animation: fadeInUp 0.5s var(--ease-premium);
}

/* Gradient glow line under header */
.page-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, var(--pink), transparent);
    opacity: 0.6;
}

/* Headers: Hot Pink Pricedown */
.page-header h1 {
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 4px;
    color: var(--pink);
    text-shadow: var(--neon-text-pink);
    margin-bottom: 6px;
    line-height: 1.2;
}

.page-header .breadcrumb {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

/* ================================================================
   STATS GRID — PREMIUM NEON NUMBERS
   ================================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid rgba(255, 20, 147, 0.12);
    border-radius: var(--radius-md);
    padding: 26px 24px;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--shadow-elevated);
    animation: fadeInUp 0.5s var(--ease-premium) backwards;
}

.stat-card:nth-child(1) { animation-delay: 0.05s; }
.stat-card:nth-child(2) { animation-delay: 0.1s; }
.stat-card:nth-child(3) { animation-delay: 0.15s; }
.stat-card:nth-child(4) { animation-delay: 0.2s; }
.stat-card:nth-child(5) { animation-delay: 0.25s; }

/* Top accent line — hot pink gradient */
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.4);
    transition: box-shadow var(--transition-smooth);
}

/* Subtle background gradient wash */
.stat-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at top right, rgba(255, 20, 147, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.stat-card:hover {
    border-color: rgba(255, 20, 147, 0.3);
    box-shadow: var(--shadow-float), var(--shadow-glow-pink);
    transform: translateY(-4px);
}

.stat-card:hover::before {
    box-shadow: 0 0 24px rgba(255, 20, 147, 0.6);
}

.stat-card .stat-icon {
    font-size: 28px;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 6px rgba(255, 20, 147, 0.3));
    position: relative;
    z-index: 1;
    display: inline-block;
    background: rgba(255, 20, 147, 0.06);
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 20, 147, 0.1);
    transition: all var(--transition-smooth);
}

.stat-card:hover .stat-icon {
    background: rgba(255, 20, 147, 0.1);
    box-shadow: 0 0 16px rgba(255, 20, 147, 0.15);
    transform: scale(1.05);
}

/* Stat values: MASSIVE Neon Green, bold glow */
.stat-card .stat-value {
    font-size: 48px;
    font-weight: 400;
    color: var(--neon);
    text-shadow: var(--neon-text-neon);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
}

/* Stat labels: Hot Pink, slightly larger */
.stat-card .stat-label {
    font-family: 'Inter', 'Roboto', sans-serif;
    font-size: 11px;
    color: var(--pink);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(255, 20, 147, 0.3);
    position: relative;
    z-index: 1;
}

/* Purple variant */
.stat-card.purple::before {
    background: linear-gradient(90deg, var(--purple), var(--pink));
    box-shadow: 0 0 15px rgba(139, 0, 255, 0.4);
}
.stat-card.purple::after {
    background: radial-gradient(ellipse at top right, rgba(139, 0, 255, 0.05) 0%, transparent 70%);
}
.stat-card.purple .stat-icon {
    background: rgba(139, 0, 255, 0.06);
    border-color: rgba(139, 0, 255, 0.1);
}
.stat-card.purple:hover .stat-icon {
    background: rgba(139, 0, 255, 0.1);
    box-shadow: 0 0 16px rgba(139, 0, 255, 0.15);
}
.stat-card.purple .stat-value {
    color: var(--gold);
    text-shadow: var(--neon-text-gold);
}
.stat-card.purple .stat-label {
    color: var(--purple-bright);
    text-shadow: 0 0 5px rgba(139, 0, 255, 0.3);
}
.stat-card.purple:hover {
    box-shadow: var(--shadow-float), var(--shadow-glow-purple);
}

/* Yellow variant */
.stat-card.yellow::before {
    background: linear-gradient(90deg, var(--gold), var(--pink));
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}
.stat-card.yellow::after {
    background: radial-gradient(ellipse at top right, rgba(255, 215, 0, 0.04) 0%, transparent 70%);
}
.stat-card.yellow .stat-icon {
    background: rgba(255, 215, 0, 0.06);
    border-color: rgba(255, 215, 0, 0.1);
}
.stat-card.yellow:hover .stat-icon {
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.15);
}
.stat-card.yellow .stat-value {
    color: var(--pink);
    text-shadow: var(--neon-text-pink);
}
.stat-card.yellow .stat-label {
    color: var(--gold);
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

/* ================================================================
   CARDS — PREMIUM GLASSMORPHISM
   ================================================================ */
.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: var(--shadow-elevated);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    transition: all var(--transition-smooth);
    animation: fadeInUp 0.5s var(--ease-premium) 0.1s backwards;
}

.card:hover {
    border-color: rgba(255, 20, 147, 0.2);
    box-shadow: var(--shadow-float), 0 0 30px rgba(139, 0, 255, 0.05);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 20, 147, 0.1);
    background: linear-gradient(90deg, rgba(255, 20, 147, 0.04), rgba(139, 0, 255, 0.03), transparent);
    position: relative;
}

/* Subtle left accent on card header */
.card-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--pink), var(--purple));
    opacity: 0.6;
    border-radius: 0 2px 2px 0;
}

.card-header h3 {
    font-family: 'Pricedown', 'Impact', sans-serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--pink);
    text-shadow: 0 0 10px rgba(255, 20, 147, 0.25);
}

.card-body {
    padding: 28px;
}

/* ================================================================
   TABLES — PREMIUM ALTERNATING ROWS + GLOW HOVER
   ================================================================ */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

th {
    text-align: left;
    padding: 14px 20px;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    border-bottom: 2px solid var(--pink);
    background: linear-gradient(90deg, rgba(255, 20, 147, 0.1), rgba(139, 0, 255, 0.06), rgba(255, 20, 147, 0.04));
}

th:first-child {
    border-radius: var(--radius-sm) 0 0 0;
}

th:last-child {
    border-radius: 0 var(--radius-sm) 0 0;
}

td {
    padding: 14px 20px;
    font-size: 14px;
    border-bottom: 1px solid rgba(139, 0, 255, 0.07);
    font-weight: 400;
    transition: all var(--transition-fast);
}

tr {
    transition: all var(--transition-fast);
    position: relative;
}

/* Alternating row backgrounds — very subtle */
tbody tr:nth-child(even) td {
    background: rgba(139, 0, 255, 0.025);
}

tbody tr:nth-child(odd) td {
    background: transparent;
}

/* Premium hover with left border glow */
tr:hover td {
    background: rgba(57, 255, 20, 0.04);
    color: #fff;
}

tr:hover td:first-child {
    box-shadow: inset 3px 0 0 var(--neon), inset 3px 0 12px rgba(57, 255, 20, 0.1);
}

/* ===== BADGES — PREMIUM PILL ===== */
.badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
}

/* Inner glow shimmer */
.badge::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    border-radius: 50px;
    pointer-events: none;
}

.badge-active {
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.15) 0%, rgba(57, 255, 20, 0.08) 100%);
    color: var(--neon);
    border: 1px solid rgba(57, 255, 20, 0.35);
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.3);
    box-shadow: 0 0 12px rgba(57, 255, 20, 0.08);
}

.badge-inactive {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    color: var(--text-muted);
    border: 1px solid rgba(139, 0, 255, 0.15);
}

.badge-purple {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.15) 0%, rgba(255, 20, 147, 0.06) 100%);
    color: var(--pink);
    border: 1px solid rgba(255, 20, 147, 0.35);
    text-shadow: 0 0 8px rgba(255, 20, 147, 0.3);
    box-shadow: 0 0 12px rgba(255, 20, 147, 0.08);
}

/* ================================================================
   MODAL — PREMIUM GLASS PANEL
   ================================================================ */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(4, 0, 12, 0.85);
    backdrop-filter: blur(12px) saturate(0.8);
    -webkit-backdrop-filter: blur(12px) saturate(0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-premium);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: linear-gradient(180deg, rgba(25, 10, 48, 0.95) 0%, rgba(12, 0, 30, 0.98) 100%);
    border: 1px solid rgba(255, 20, 147, 0.2);
    border-radius: var(--radius-lg);
    padding: 36px;
    width: 500px;
    max-width: 90vw;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 
        0 0 80px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(139, 0, 255, 0.1),
        0 0 30px rgba(255, 20, 147, 0.08),
        0 0 0 1px rgba(255, 20, 147, 0.1);
    transform: translateY(30px) scale(0.92);
    transition: transform 0.4s var(--ease-bounce), opacity 0.3s;
    position: relative;
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    opacity: 0;
}

/* Top gradient bar: pink → purple → neon — wider glow */
.modal::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pink), var(--purple), var(--neon));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.3);
}

/* Bottom subtle glow */
.modal::after {
    content: '';
    position: absolute;
    bottom: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 255, 0.3), transparent);
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal h3 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 28px;
    color: var(--pink);
    text-shadow: var(--neon-text-pink);
    letter-spacing: 2px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 28px;
}

/* ===== ACTIONS ===== */
.actions {
    display: flex;
    gap: 8px;
}

/* ================================================================
   TOAST — PREMIUM NOTIFICATION
   ================================================================ */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.08) 0%, rgba(20, 10, 40, 0.95) 100%);
    border: 1px solid rgba(57, 255, 20, 0.4);
    border-left: 3px solid var(--neon);
    border-radius: var(--radius-sm);
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--neon);
    box-shadow: 0 0 24px rgba(57, 255, 20, 0.12), var(--shadow-elevated);
    animation: slideIn 0.4s var(--ease-bounce);
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.toast.error {
    border-color: rgba(255, 0, 68, 0.4);
    border-left-color: var(--red);
    color: var(--red);
    background: linear-gradient(135deg, rgba(255, 0, 68, 0.08) 0%, rgba(20, 10, 40, 0.95) 100%);
    box-shadow: 0 0 24px rgba(255, 0, 68, 0.12), var(--shadow-elevated);
}

@keyframes slideIn {
    from { transform: translateX(100%) scale(0.9); opacity: 0; }
    to { transform: translateX(0) scale(1); opacity: 1; }
}

/* ================================================================
   TOGGLE SWITCH — PREMIUM PINK / NEON
   ================================================================ */
.toggle {
    position: relative;
    width: 48px;
    height: 26px;
    display: inline-block;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle .slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(139, 0, 255, 0.25);
    border-radius: 26px;
    transition: all var(--transition-smooth);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}
.toggle .slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background: linear-gradient(180deg, #888, #666);
    border-radius: 50%;
    transition: all var(--transition-smooth);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.toggle input:checked + .slider {
    background: rgba(57, 255, 20, 0.12);
    border-color: var(--neon);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), 0 0 12px rgba(57, 255, 20, 0.2);
}
.toggle input:checked + .slider::before {
    transform: translateX(22px);
    background: linear-gradient(180deg, var(--neon-bright), var(--neon));
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ================================================================
   SECTION LABEL
   ================================================================ */
.section-label {
    font-family: 'Pricedown', 'Impact', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 32px 0 16px;
    text-shadow: var(--neon-text-gold);
    position: relative;
    padding-bottom: 8px;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0.5;
}

/* ================================================================
   SCROLLBAR — PINK TINTED PREMIUM
   ================================================================ */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(10, 0, 21, 0.5);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 20, 147, 0.2);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 20, 147, 0.4);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
/* Hamburger button */
.hamburger {
    display: none;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 1001;
    background: rgba(30, 10, 50, 0.9);
    border: 1px solid rgba(255, 20, 147, 0.4);
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    backdrop-filter: blur(10px);
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--pink);
    margin: 5px 0;
    transition: all 0.3s;
    border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    backdrop-filter: blur(4px);
}
.sidebar-overlay.active { display: block; }

@media (max-width: 768px) {
    .hamburger { display: block; }
    .sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        width: 260px;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }
    .sidebar.open { left: 0; }
    .main-content { margin-left: 0; padding: 60px 16px 20px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .login-logo h1 { font-size: 38px; }
    .stat-card .stat-value { font-size: 36px; }
    .login-box { width: 100vw; padding: 36px 28px; }
    .card-body { padding: 20px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card .stat-value { font-size: 32px; }
}

/* ================================================================
   UTILITIES
   ================================================================ */
.hidden { display: none !important; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.text-green { color: var(--neon); text-shadow: 0 0 5px rgba(57, 255, 20, 0.3); }
.text-purple { color: var(--pink); text-shadow: 0 0 5px rgba(255, 20, 147, 0.3); }
.text-dim { color: var(--text-dim); }
.text-muted { color: var(--text-muted); }
.text-red { color: var(--red); }
.mono { font-family: 'JetBrains Mono', 'Courier New', monospace; font-size: 13px; color: var(--neon); }

.empty-state {
    text-align: center;
    padding: 56px 24px;
    color: var(--text-muted);
}
.empty-state .icon { font-size: 52px; margin-bottom: 14px; filter: grayscale(0.3); }
.empty-state p { font-size: 15px; letter-spacing: 1px; font-weight: 400; }

.link-cell {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.link-cell a {
    color: var(--blue);
    text-decoration: none;
    transition: all var(--transition-fast);
    border-bottom: 1px solid transparent;
}
.link-cell a:hover {
    color: var(--neon);
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.3);
    text-decoration: none;
    border-bottom-color: rgba(57, 255, 20, 0.3);
}

/* ================================================================
   SELECTION
   ================================================================ */
::selection {
    background: rgba(255, 20, 147, 0.35);
    color: #fff;
}

/* ================================================================
   REFERENCE IMAGES
   ================================================================ */

/* === LOGIN PAGE: Circular Logo === */
.login-logo-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 24px;
    border: 3px solid var(--pink);
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.35), 0 0 60px rgba(139, 0, 255, 0.15);
    animation: logoGlow 3s ease-in-out infinite;
    transition: all var(--transition-smooth);
}

.login-logo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 20, 147, 0.5), 0 0 80px rgba(139, 0, 255, 0.25);
}

@keyframes logoGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 20, 147, 0.3), 0 0 40px rgba(139, 0, 255, 0.12); }
    50% { box-shadow: 0 0 30px rgba(255, 20, 147, 0.45), 0 0 60px rgba(139, 0, 255, 0.2); }
}

/* === SIDEBAR: Small Logo === */
.sidebar-logo-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--pink);
    box-shadow: 0 0 14px rgba(255, 20, 147, 0.25);
    margin-bottom: 10px;
    transition: all var(--transition-smooth);
}

.sidebar-logo-img:hover {
    box-shadow: 0 0 24px rgba(255, 20, 147, 0.45);
    transform: scale(1.05);
}

/* === DASHBOARD: Hero Banner — Premium with hover zoom === */
.dashboard-hero {
    margin-bottom: 28px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 20, 147, 0.2);
    box-shadow: var(--shadow-elevated), 0 0 40px rgba(139, 0, 255, 0.06);
    position: relative;
    max-height: 280px;
    transition: all var(--transition-smooth);
}

.dashboard-hero:hover {
    border-color: rgba(255, 20, 147, 0.35);
    box-shadow: var(--shadow-float), 0 0 40px rgba(139, 0, 255, 0.1);
}

.dashboard-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(transparent, rgba(10, 0, 21, 0.95));
    pointer-events: none;
    z-index: 2;
}

.dashboard-hero-img {
    width: 100%;
    height: 100%;
    max-height: 280px;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.6s var(--ease-premium);
}

.dashboard-hero:hover .dashboard-hero-img {
    transform: scale(1.04);
}

/* ================================================================
   PAGE TRANSITIONS
   ================================================================ */
.page {
    animation: fadeIn 0.3s var(--ease-premium);
}

/* ================================================================
   PREMIUM TOUCHES — MICRO-INTERACTIONS
   ================================================================ */

/* Smooth focus rings on all interactive elements */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid rgba(255, 20, 147, 0.5);
    outline-offset: 2px;
}

/* Subtle glow on hovered input fields */
.form-group input:hover, .form-group select:hover, .form-group textarea:hover {
    border-color: rgba(139, 0, 255, 0.35);
}

/* Actions button hover polish */
.actions .btn-sm {
    border-radius: var(--radius-sm);
    backdrop-filter: blur(4px);
}

/* Row selection feel */
tbody tr {
    cursor: default;
}

/* Card body form spacing */
.card-body .form-group {
    margin-bottom: 20px;
}

.card-body .btn {
    width: auto;
}

/* ================================================================
   BROADCASTS — STYLES
   ================================================================ */

.broadcast-msg-cell {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.badge-sending {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.06) 100%);
    color: var(--gold);
    border: 1px solid rgba(255, 215, 0, 0.35);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.08);
    animation: neonGlowPulse 1.5s ease-in-out infinite;
}

.badge-failed {
    background: linear-gradient(135deg, rgba(255, 0, 68, 0.15) 0%, rgba(255, 0, 68, 0.06) 100%);
    color: var(--red);
    border: 1px solid rgba(255, 0, 68, 0.35);
    text-shadow: 0 0 8px rgba(255, 0, 68, 0.3);
}

.media-preview-box {
    min-height: 0;
    margin-bottom: 8px;
}

.media-preview-box img,
.media-preview-box video {
    border: 1px solid rgba(255, 20, 147, 0.2);
}

.broadcast-preview {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(139, 0, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 16px;
    min-height: 80px;
    max-height: 300px;
    overflow-y: auto;
}

.broadcast-preview .preview-empty {
    text-align: center;
    padding: 20px;
    font-size: 13px;
    letter-spacing: 1px;
}

.broadcast-preview .preview-media {
    margin-bottom: 12px;
    text-align: center;
}

.broadcast-preview .preview-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    white-space: pre-wrap;
    word-break: break-word;
}

/* Broadcast detail view */
.broadcast-detail {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.detail-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(139, 0, 255, 0.07);
}

.detail-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--pink);
    text-transform: uppercase;
    letter-spacing: 2px;
    min-width: 120px;
    flex-shrink: 0;
    padding-top: 4px;
}

.detail-msg {
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.5;
}


/* ================================================================
   STATISTICS — STYLES
   ================================================================ */

/* Password breakdown rows */
.pw-breakdown-row {
    margin-bottom: 18px;
}

.pw-breakdown-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.pw-breakdown-count {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 0.5px;
}

.pw-breakdown-bar-bg {
    width: 100%;
    height: 28px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(139, 0, 255, 0.1);
    overflow: hidden;
    position: relative;
}

.pw-breakdown-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--pink-dark), var(--pink), var(--pink-bright));
    border-radius: var(--radius-sm);
    transition: width 0.8s var(--ease-premium);
    position: relative;
    box-shadow: 0 0 12px rgba(255, 20, 147, 0.2);
    min-width: 4px;
}

.pw-breakdown-bar::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    animation: shimmer 3s linear infinite;
    background-size: 200% 100%;
}

/* Bar chart for signups */
.chart-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 6px;
    height: 200px;
    padding: 10px 0;
}

.chart-bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    min-width: 0;
}

.chart-bar-value {
    font-size: 10px;
    font-weight: 700;
    color: var(--neon);
    text-shadow: 0 0 5px rgba(57, 255, 20, 0.3);
    margin-bottom: 4px;
    font-family: 'Pricedown', Impact, sans-serif;
    letter-spacing: 1px;
}

.chart-bar {
    width: 100%;
    max-width: 40px;
    background: linear-gradient(180deg, var(--neon-bright), var(--neon), var(--neon-dim));
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    transition: height 0.6s var(--ease-bounce);
    position: relative;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    min-height: 4px;
}

.chart-bar:hover {
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    filter: brightness(1.15);
}

.chart-bar::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    border-radius: inherit;
}

.chart-bar-label {
    font-size: 9px;
    color: var(--text-muted);
    margin-top: 8px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Responsive chart */
@media (max-width: 768px) {
    .chart-container {
        height: 150px;
        gap: 3px;
    }
    .chart-bar-value { font-size: 8px; }
    .chart-bar-label { font-size: 7px; }
}


/* --- Mini App Panel Extras --- */
.generated-codes-list {
    max-height: 240px;
    overflow-y: auto;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 12px 16px;
}

.badge-failed {
    background: rgba(255,75,75,0.2);
    color: #ff6b6b;
    border: 1px solid rgba(255,75,75,0.3);
}

.badge-sending {
    background: rgba(255,170,0,0.2);
    color: #ffaa00;
    border: 1px solid rgba(255,170,0,0.3);
    animation: pulse-badge 1.5s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

#page-miniapp .card { margin-bottom: 20px; }

#page-miniapp iframe {
    border: 2px solid rgba(255,255,255,0.05);
}
