/* Google Font - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #f1f5f9;
    color: #0f172a;
    padding-top: 100px;
}

/* Navbar Premium Dynamic Design */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    /* Higher opacity for readability while scrolling */
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    /* Vibrant Top Accent */
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, #2563eb, #7c3aed, #db2777) 1;
    padding: 1rem 0;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05) !important;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -0.05em;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    font-weight: 600;
    color: #475569 !important;
    padding: 0.6rem 1.2rem !important;
    font-size: 0.95rem;
    border-radius: 12px;
    margin: 0 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

.nav-link i {
    font-size: 1.1rem;
    color: #2563eb;
    /* Blue accent for icons */
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: #2563eb !important;
    background: rgba(37, 99, 235, 0.08);
}

.nav-link:hover i {
    transform: scale(1.1);
}

.nav-link.active {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb !important;
}

/* Premium Logout Button */
.logout-btn {
    background: linear-gradient(135deg, #ef4444, #b91c1c) !important;
    color: white !important;
    border: none !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.2);
    padding: 0.6rem 1.5rem !important;
    transition: all 0.3s ease !important;
}

.logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.3);
    color: white !important;
}

.logout-btn i {
    color: white !important;
}

.navbar-toggler {
    border: none;
    background: #f1f5f9;
    padding: 0.6rem;
    border-radius: 12px;
    color: #2563eb;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        margin-top: 1rem;
        padding: 1.5rem;
        border-radius: 20px;
        box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.15);
        border: 1px solid #e2e8f0;
    }

    .nav-link {
        padding: 0.8rem 1.2rem !important;
        margin-bottom: 0.5rem;
    }

    .logout-btn {
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }
}