/* =============================================================
   admin.css  –  FunUtility Admin Panel
   Futuristic dark/light glassmorphism theme
   ============================================================= */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
    --adm-accent:        #00f0ff;
    --adm-accent2:       #bd00ff;
    --adm-gradient:      linear-gradient(135deg, #00f0ff, #bd00ff);

    --adm-sidebar-w:     240px;
    --adm-topbar-h:      60px;
    --adm-radius:        14px;
    --adm-radius-sm:     8px;
    --adm-transition:    0.25s ease;
}

[data-theme="dark"] {
    --adm-bg:            #0a0f1e;
    --adm-bg2:           #0d1424;
    --adm-surface:       rgba(255,255,255,0.04);
    --adm-surface-hover: rgba(255,255,255,0.07);
    --adm-border:        rgba(255,255,255,0.08);
    --adm-text:          #e2e8f0;
    --adm-text2:         #a0aec0;
    --adm-text3:         #64748b;
    --adm-sidebar-bg:    rgba(10,15,30,0.95);
    --adm-shadow:        0 4px 24px rgba(0,0,0,0.5);
}

[data-theme="light"] {
    --adm-bg:            #f0f4f8;
    --adm-bg2:           #e8edf3;
    --adm-surface:       rgba(255,255,255,0.85);
    --adm-surface-hover: rgba(255,255,255,1);
    --adm-border:        rgba(0,0,0,0.08);
    --adm-text:          #1a202c;
    --adm-text2:         #4a5568;
    --adm-text3:         #718096;
    --adm-sidebar-bg:    rgba(255,255,255,0.97);
    --adm-shadow:        0 4px 24px rgba(0,0,0,0.1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    height: 100%;
    font-family: 'Space Grotesk', sans-serif;
    background: var(--adm-bg);
    color: var(--adm-text);
    font-size: 14px;
    line-height: 1.6;
}

a { color: var(--adm-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Accent ────────────────────────────────────────────────── */
.adm-accent { color: var(--adm-accent); }

/* ═══════════════════════════════════════════════════════════ */
/*  SIDEBAR                                                   */
/* ═══════════════════════════════════════════════════════════ */
.adm-sidebar {
    position: fixed;
    top: 0; left: 0;
    width: var(--adm-sidebar-w);
    height: 100vh;
    background: var(--adm-sidebar-bg);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--adm-border);
    display: flex;
    flex-direction: column;
    z-index: 200;
    transition: transform var(--adm-transition);
}

.adm-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid var(--adm-border);
}

.adm-brand-icon { font-size: 1.8rem; }

.adm-brand-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--adm-text);
    letter-spacing: 1px;
}

.adm-brand-sub {
    font-size: 0.65rem;
    color: var(--adm-text3);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Nav links */
.adm-nav {
    flex: 1;
    padding: 1rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    overflow-y: auto;
}

.adm-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.875rem;
    border-radius: var(--adm-radius-sm);
    color: var(--adm-text2);
    font-weight: 500;
    font-size: 0.875rem;
    transition: all var(--adm-transition);
    text-decoration: none;
}

.adm-nav-link i { width: 18px; text-align: center; font-size: 0.95rem; }

.adm-nav-link:hover {
    background: var(--adm-surface-hover);
    color: var(--adm-text);
    text-decoration: none;
}

.adm-nav-link.active {
    background: linear-gradient(135deg, rgba(0,240,255,0.15), rgba(189,0,255,0.1));
    color: var(--adm-accent);
    border-left: 2px solid var(--adm-accent);
    font-weight: 600;
}

/* Sidebar footer */
.adm-sidebar-footer {
    padding: 1rem 1rem 1.25rem;
    border-top: 1px solid var(--adm-border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.adm-admin-info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.adm-admin-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--adm-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #000;
    flex-shrink: 0;
}

.adm-admin-name  { font-weight: 600; font-size: 0.8rem; }
.adm-admin-email { font-size: 0.68rem; color: var(--adm-text3); }

.adm-logout-btn {
    width: 100%;
    padding: 0.55rem;
    border: 1px solid rgba(239,68,68,0.4);
    border-radius: var(--adm-radius-sm);
    background: rgba(239,68,68,0.08);
    color: #ef4444;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--adm-transition);
}

.adm-logout-btn:hover {
    background: rgba(239,68,68,0.18);
    border-color: #ef4444;
}

/* Mobile overlay */
.adm-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 190;
}

.adm-overlay.show { display: block; }

/* ═══════════════════════════════════════════════════════════ */
/*  MAIN LAYOUT                                               */
/* ═══════════════════════════════════════════════════════════ */
.adm-main {
    margin-left: var(--adm-sidebar-w);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Top bar */
.adm-topbar {
    height: var(--adm-topbar-h);
    background: var(--adm-sidebar-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--adm-border);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.adm-menu-btn {
    background: none; border: none; color: var(--adm-text2);
    font-size: 1.1rem; cursor: pointer; padding: 0.25rem;
    display: none;
}

.adm-page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--adm-text);
    flex: 1;
}

.adm-topbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.adm-theme-btn {
    background: var(--adm-surface);
    border: 1px solid var(--adm-border);
    border-radius: 50%;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    color: var(--adm-text2);
    cursor: pointer;
    transition: all var(--adm-transition);
    font-size: 0.85rem;
}

.adm-theme-btn:hover {
    border-color: var(--adm-accent);
    color: var(--adm-accent);
}

.adm-live-badge {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Green when site is live */
.adm-badge-live  { color: #10b981; }

/* Amber/orange when countdown is active */
.adm-badge-countdown { color: #f59e0b; }

.adm-live-badge i {
    font-size: 0.45rem;
    animation: admLivePulse 1.2s ease-in-out infinite;
}

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

/* ═══════════════════════════════════════════════════════════ */
/*  LAUNCH MODE BANNER                                        */
/* ═══════════════════════════════════════════════════════════ */
.adm-launch-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    border-radius: var(--adm-radius);
    padding: 1.1rem 1.4rem;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
    transition: background var(--adm-transition), border-color var(--adm-transition);
}

/* ON state — amber tint */
.adm-launch-on {
    background: rgba(245, 158, 11, 0.10);
    border-color: rgba(245, 158, 11, 0.35);
}

/* OFF state — green tint */
.adm-launch-off {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.30);
}

.adm-launch-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.adm-launch-icon {
    width: 46px; height: 46px;
    border-radius: var(--adm-radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.adm-launch-on  .adm-launch-icon { background: rgba(245,158,11,0.18); color: #f59e0b; }
.adm-launch-off .adm-launch-icon { background: rgba(16,185,129,0.15); color: #10b981; }

.adm-launch-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--adm-text);
    margin-bottom: 0.15rem;
}

.adm-launch-status-text {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.05em;
}

.adm-launch-on  .adm-launch-status-text { color: #f59e0b; }
.adm-launch-off .adm-launch-status-text { color: #10b981; }

.adm-launch-desc {
    font-size: 0.78rem;
    color: var(--adm-text2);
}

.adm-launch-desc strong { color: var(--adm-text); }

/* Toggle buttons */
.adm-launch-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.2rem;
    border-radius: var(--adm-radius-sm);
    border: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity var(--adm-transition), transform var(--adm-transition);
    white-space: nowrap;
}

.adm-launch-toggle-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.adm-launch-toggle-btn:active { transform: translateY(0); }

/* "Turn OFF" → green (going live is a positive action) */
.adm-toggle-off-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.35);
}

/* "Turn ON" → amber (enabling countdown is a caution action) */
.adm-toggle-on-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.35);
}

/* Content area */
.adm-content {
    flex: 1;
    padding: 1.5rem;
    max-width: 1400px;
    width: 100%;
}

/* ═══════════════════════════════════════════════════════════ */
/*  CARDS                                                     */
/* ═══════════════════════════════════════════════════════════ */
.adm-card {
    background: var(--adm-surface);
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.adm-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--adm-border);
}

.adm-card-header h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--adm-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.adm-card-header h3 i { color: var(--adm-accent); }

.adm-card-body { padding: 1.25rem; }

.adm-card-footer {
    padding: 0.875rem 1.25rem;
    border-top: 1px solid var(--adm-border);
}

/* ═══════════════════════════════════════════════════════════ */
/*  STAT CARDS                                                */
/* ═══════════════════════════════════════════════════════════ */
.adm-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.adm-stat-card {
    background: var(--adm-surface);
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform var(--adm-transition), box-shadow var(--adm-transition);
    backdrop-filter: blur(12px);
}

.adm-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--adm-shadow);
}

.adm-stat-icon {
    width: 48px; height: 48px;
    border-radius: var(--adm-radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.adm-icon-blue   { background: rgba(59,130,246,0.15);  color: #3b82f6; }
.adm-icon-green  { background: rgba(16,185,129,0.15);  color: #10b981; }
.adm-icon-purple { background: rgba(139,92,246,0.15);  color: #8b5cf6; }
.adm-icon-orange { background: rgba(245,158,11,0.15);  color: #f59e0b; }
.adm-icon-cyan   { background: rgba(0,240,255,0.12);   color: #00f0ff; }
.adm-icon-pink   { background: rgba(236,72,153,0.15);  color: #ec4899; }

.adm-stat-label {
    font-size: 0.72rem;
    color: var(--adm-text3);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.adm-stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--adm-text);
    line-height: 1;
}

.adm-stat-sm { font-size: 0.9rem; font-family: 'Space Grotesk', sans-serif; font-weight: 600; }

/* ═══════════════════════════════════════════════════════════ */
/*  CHARTS ROW                                                */
/* ═══════════════════════════════════════════════════════════ */
.adm-charts-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════ */
/*  TABLE                                                     */
/* ═══════════════════════════════════════════════════════════ */
.adm-table-wrap { overflow-x: auto; padding: 0; }

.adm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.adm-table thead th {
    background: var(--adm-surface-hover);
    padding: 0.6rem 0.875rem;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--adm-text3);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    border-bottom: 1px solid var(--adm-border);
}

.adm-table tbody td {
    padding: 0.65rem 0.875rem;
    border-bottom: 1px solid var(--adm-border);
    vertical-align: middle;
    color: var(--adm-text);
}

.adm-table tbody tr:last-child td { border-bottom: none; }

.adm-table tbody tr:hover { background: var(--adm-surface-hover); }

.adm-ip {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    color: var(--adm-accent);
    letter-spacing: 0.5px;
}

.adm-page {
    font-size: 0.75rem;
    color: var(--adm-text2);
    background: var(--adm-surface-hover);
    padding: 2px 6px;
    border-radius: 4px;
}

.adm-muted { color: var(--adm-text3); }

.adm-empty {
    text-align: center;
    color: var(--adm-text3);
    padding: 2rem !important;
    font-style: italic;
}

/* Device badges */
.adm-device-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 50px;
    font-weight: 600;
}

.adm-device-desktop { background: rgba(59,130,246,0.12); color: #3b82f6; }
.adm-device-mobile  { background: rgba(16,185,129,0.12); color: #10b981; }
.adm-device-tablet  { background: rgba(245,158,11,0.12); color: #f59e0b; }

/* Tool badge */
.adm-tool-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: var(--adm-accent);
    font-weight: 600;
}

/* Count badge */
.adm-count-badge {
    background: rgba(0,240,255,0.12);
    color: var(--adm-accent);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
    margin-left: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════ */
/*  FILTERS                                                   */
/* ═══════════════════════════════════════════════════════════ */
.adm-filter-form {}

.adm-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    align-items: flex-end;
}

.adm-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
    min-width: 150px;
}

.adm-filter-actions {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════ */
/*  FORM ELEMENTS                                             */
/* ═══════════════════════════════════════════════════════════ */
.adm-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--adm-text2);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.adm-label i { color: var(--adm-accent); }

.adm-input {
    width: 100%;
    padding: 0.6rem 0.875rem;
    background: var(--adm-surface);
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius-sm);
    color: var(--adm-text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    transition: border-color var(--adm-transition), box-shadow var(--adm-transition);
    outline: none;
}

.adm-input:focus {
    border-color: var(--adm-accent);
    box-shadow: 0 0 0 3px rgba(0,240,255,0.12);
}

.adm-input.is-invalid { border-color: #ef4444; }
.adm-input-sm { padding: 0.5rem 0.75rem; font-size: 0.82rem; }

.adm-input-wrap { position: relative; }
.adm-pw-toggle {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: var(--adm-text3); cursor: pointer;
    padding: 0.25rem;
}

.adm-form-group { margin-bottom: 1.1rem; }

.adm-form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    color: var(--adm-text2);
}

.adm-checkbox { accent-color: var(--adm-accent); width: 15px; height: 15px; cursor: pointer; }

/* ═══════════════════════════════════════════════════════════ */
/*  BUTTONS                                                   */
/* ═══════════════════════════════════════════════════════════ */
.adm-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    border-radius: var(--adm-radius-sm);
    border: 1px solid var(--adm-accent);
    background: rgba(0,240,255,0.08);
    color: var(--adm-accent);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--adm-transition);
    white-space: nowrap;
    text-decoration: none;
}

.adm-btn:hover { background: rgba(0,240,255,0.18); text-decoration: none; }

.adm-btn-ghost {
    border-color: var(--adm-border);
    background: var(--adm-surface);
    color: var(--adm-text2);
}

.adm-btn-ghost:hover { border-color: var(--adm-text2); color: var(--adm-text); }

.adm-btn-green {
    border-color: #10b981;
    background: rgba(16,185,129,0.08);
    color: #10b981;
}

.adm-btn-green:hover { background: rgba(16,185,129,0.18); }

.adm-btn-sm { padding: 0.35rem 0.8rem; font-size: 0.75rem; }

/* ═══════════════════════════════════════════════════════════ */
/*  ALERTS                                                    */
/* ═══════════════════════════════════════════════════════════ */
.adm-alert {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-radius: var(--adm-radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    transition: opacity 0.5s ease;
}

.adm-alert-success {
    background: rgba(16,185,129,0.12);
    border: 1px solid rgba(16,185,129,0.35);
    color: #10b981;
}

.adm-alert-error {
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.35);
    color: #ef4444;
}

/* ═══════════════════════════════════════════════════════════ */
/*  PAGINATION                                                */
/* ═══════════════════════════════════════════════════════════ */
.adm-pagination {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.adm-page-btn {
    min-width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--adm-radius-sm);
    border: 1px solid var(--adm-border);
    background: var(--adm-surface);
    color: var(--adm-text2);
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--adm-transition);
    padding: 0 0.5rem;
}

.adm-page-btn:hover:not(.disabled):not(.active) {
    border-color: var(--adm-accent);
    color: var(--adm-accent);
    text-decoration: none;
}

.adm-page-btn.active {
    background: var(--adm-gradient);
    border-color: transparent;
    color: #000;
    font-weight: 700;
}

.adm-page-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════ */
/*  TOP TOOLS GRID                                            */
/* ═══════════════════════════════════════════════════════════ */
.adm-top-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.875rem;
    margin-bottom: 1.5rem;
}

.adm-top-tool-card {
    background: var(--adm-surface);
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius);
    padding: 1rem 1.1rem;
    backdrop-filter: blur(12px);
    transition: transform var(--adm-transition);
}

.adm-top-tool-card:hover { transform: translateY(-2px); }

.adm-top-tool-name {
    font-size: 0.78rem;
    color: var(--adm-text2);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.adm-top-tool-count {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--adm-accent);
    margin-bottom: 0.5rem;
}

.adm-top-tool-bar {
    height: 4px;
    background: var(--adm-border);
    border-radius: 2px;
    overflow: hidden;
}

.adm-top-tool-fill {
    height: 100%;
    background: var(--adm-gradient);
    border-radius: 2px;
    transition: width 0.8s ease;
}

/* ═══════════════════════════════════════════════════════════ */
/*  LOGIN PAGE                                                */
/* ═══════════════════════════════════════════════════════════ */
.adm-login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--adm-bg);
    padding: 2rem 1rem;
}

.adm-login-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(0,240,255,0.07) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(189,0,255,0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.adm-login-wrap {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.adm-login-brand { text-align: center; }

.adm-login-logo {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 16px rgba(0,240,255,0.5));
}

.adm-login-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--adm-text);
}

.adm-login-sub {
    font-size: 0.72rem;
    color: var(--adm-text3);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.adm-login-card {
    width: 100%;
    background: var(--adm-surface);
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius);
    padding: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: var(--adm-shadow);
}

.adm-login-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--adm-text);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.adm-login-heading i { color: var(--adm-accent); }

.adm-login-btn {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: var(--adm-radius-sm);
    background: var(--adm-gradient);
    color: #000;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--adm-transition);
    margin-top: 0.5rem;
}

.adm-login-btn:hover {
    opacity: 0.88;
    box-shadow: 0 0 24px rgba(0,240,255,0.4);
    transform: translateY(-1px);
}

.adm-login-hint {
    margin-top: 1rem;
    font-size: 0.72rem;
    color: var(--adm-text3);
    text-align: center;
}

.adm-login-hint code {
    background: var(--adm-surface-hover);
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 0.72rem;
    color: var(--adm-accent);
}

.adm-back-link {
    font-size: 0.8rem;
    color: var(--adm-text3);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color var(--adm-transition);
    text-decoration: none;
}

.adm-back-link:hover { color: var(--adm-accent); text-decoration: none; }

/* ═══════════════════════════════════════════════════════════ */
/*  RESPONSIVE                                                */
/* ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .adm-charts-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .adm-sidebar {
        transform: translateX(-100%);
    }
    .adm-sidebar.open {
        transform: translateX(0);
    }
    .adm-main {
        margin-left: 0;
    }
    .adm-menu-btn { display: flex; }
    .adm-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .adm-stats-grid { grid-template-columns: 1fr; }
    .adm-content { padding: 1rem; }
    .adm-filter-row { flex-direction: column; }
    .adm-filter-group { min-width: 100%; }
}

