:root {
    --primary: #2E7D32;
    --primary-light: #4CAF50;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-users: #3b82f6;
    --accent-active: #10b981;
    --accent-total-id: #f59e0b;
    --accent-today-id: #8b5cf6;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
}

/* Overlays */
.overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.overlay.active {
    display: flex;
}

.auth-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}
.auth-card h2 { margin-top: 0; color: #ef4444; }
.auth-card p { color: var(--text-muted); margin-bottom: 24px; }

.btn-primary, .btn-outline {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}
.btn-primary {
    background: var(--primary);
    color: white;
}
.btn-primary:hover {
    background: var(--primary-light);
}
.btn-outline {
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
}

/* Dashboard */
.admin-header {
    background: var(--bg-card);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 16px 0;
}
.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-light);
    display: flex;
    align-items: center;
    gap: 10px;
}
.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
}

.dashboard-main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 24px;
}
.dashboard-header h1 {
    margin: 0 0 8px 0;
    font-size: 28px;
}
.dashboard-header p {
    color: var(--text-muted);
    margin: 0 0 32px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.stat-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.stat-icon.users { background: rgba(59, 130, 246, 0.2); color: var(--accent-users); }
.stat-icon.active { background: rgba(16, 185, 129, 0.2); color: var(--accent-active); }
.stat-icon.total-id { background: rgba(245, 158, 11, 0.2); color: var(--accent-total-id); }
.stat-icon.today-id { background: rgba(139, 92, 246, 0.2); color: var(--accent-today-id); }

.stat-info h3 {
    margin: 0 0 4px 0;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}
.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-main);
}
