:root {
    --primary-color: #1e1b4b; /* Deep Indigo */
    --secondary-color: #4338ca; /* Indigo */
    --accent-color: #14b8a6; /* Teal */
    --accent-hover: #0d9488;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-bg: #f3f4f6;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

body {
    background-color: var(--light-bg);
    font-family: 'Inter', sans-serif;
    color: #1f2937;
}

/* Glassmorphism Navbar */
.navbar {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

/* Modern Cards */
.card {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.card-header {
    background-color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 600;
}

/* Sidebar Styling */
.sidebar {
    height: 100vh;
    background: linear-gradient(145deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: rgba(255, 255, 255, 0.9);
    padding-top: 20px;
    box-shadow: 4px 0 24px rgba(0,0,0,0.1);
}

.sidebar .nav-link {
    color: rgba(255,255,255,0.7);
    padding: 14px 24px;
    border-radius: 0 30px 30px 0;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    margin-right: 15px;
}

.sidebar .nav-link i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.sidebar .nav-link:hover, .sidebar .nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
}

.sidebar .nav-link:hover i {
    transform: scale(1.15);
    color: var(--accent-color);
}

.sidebar .nav-link.active i {
    color: var(--accent-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-color);
    border: none;
    border-radius: 10px;
    padding: 10px 24px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(20, 184, 166, 0.4);
    transition: all 0.3s ease;
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.6);
}

.btn-secondary {
    border-radius: 10px;
    font-weight: 600;
}

/* Alerts */
.alert {
    border-radius: 12px;
    border: none;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
}

/* Gradients */
.bg-gradient-primary { background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%); }
.bg-gradient-success { background: linear-gradient(135deg, #10b981 0%, #34d399 100%); }
.bg-gradient-warning { background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%); }
.bg-gradient-danger { background: linear-gradient(135deg, #ef4444 0%, #f87171 100%); }

/* Stat Cards */
.stat-card {
    padding: 24px;
    border-radius: 16px;
    color: white;
    transition: all 0.3s ease;
    border: none;
}
.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
}
.stat-card h3 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0;
}

/* Inputs */
.form-control, .form-select {
    border-radius: 10px;
    padding: 10px 15px;
    border: 1px solid #d1d5db;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(20, 184, 166, 0.25);
}
