:root {
    --primary-color: #1e293b;
    --primary-dark: #0f172a;
    --accent-color: #10b981;
    --bg-color: #f1f5f9;
    --text-main: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
}

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

h1, h2, h3, .heading-font {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.navbar {
    background-color: var(--primary-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.dashboard-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--text-main) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    margin-bottom: -4rem;
}

.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease-in-out;
}

@media (hover: hover) {
    .card:hover {
        transform: translateY(-5px);
    }
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-accent {
    background-color: var(--accent-color);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
}

.btn-accent:hover {
    background-color: #059669;
    color: white;
}

.sidebar-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-main);
    text-decoration: none;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.sidebar-link:hover {
    background-color: #e2e8f0;
    color: var(--primary-color);
}

.sidebar-link.active {
    background-color: var(--primary-color);
    color: var(--white);
}

@media (max-width: 767.98px) {
    .form-switch .form-check-input {
        width: 3em;
        height: 1.5em;
    }
}