:root {
    --bg-dark: #0f172a;       /* Dark Blue Theme */
    --bg-glass: rgba(30, 41, 59, 0.7);
    --accent: #dc2626;        /* Dark Red Accent */
    --accent-hover: #b91c1c;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    min-height: 100vh;
}

.bg-dark-blue {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
}

.text-accent {
    color: var(--accent) !important;
}

.text-muted {
    color: #cbd5e1 !important;
}

.btn-accent {
    background-color: var(--accent);
    border: none;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.glass-effect {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.login-container {
    width: 100%;
    max-width: 400px;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    box-shadow: 0 0 0 0.25rem rgba(220, 38, 38, 0.25);
    color: white;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-container {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Dashboard Sidebar */
.sidebar {
    width: 250px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--bg-glass);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.sidebar.collapsed {
    left: -250px;
}

.main-content {
    margin-left: 250px;
    padding: 30px;
    min-height: 100vh;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.main-content.expanded {
    margin-left: 0;
}

.nav-link {
    color: var(--text-muted);
    padding: 12px 20px;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 4px 15px;
}

.nav-link:hover, .nav-link.active {
    color: white;
    background-color: rgba(220, 38, 38, 0.1);
    border-left: 3px solid var(--accent);
}

.card {
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

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

.bg-accent-light {
    background: rgba(220, 38, 38, 0.1);
    color: var(--accent);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a; 
}
::-webkit-scrollbar-thumb {
    background: #334155; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569; 
}
