/* ===== MODERN NAVIGATION STYLES ===== */

/* Remove the old ugly gradient */
.sidebar {
    background: white !important;
    border-right: 1px solid #e2e8f0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.03);
}

/* Navigation header */
.top-row.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    padding: 1rem 1.5rem !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: white !important;
    text-decoration: none;
}

.navbar-brand:hover {
    opacity: 0.9;
}

/* Navigation items */
.nav-scrollable {
    padding: 1.5rem 0;
}

.nav-item {
    padding: 0.25rem 1rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: #475569 !important;
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-link:hover {
    background: #f8fafc;
    color: #6366f1 !important;
    transform: translateX(4px);
}

.nav-link.active {
    background: linear-gradient(135deg, #667eea15, #764ba215);
    color: #6366f1 !important;
    font-weight: 600;
}

.nav-link .bi {
    font-size: 1.125rem;
    opacity: 0.9;
}

.nav-link.active .bi {
    opacity: 1;
}

/* Logo in navigation */
.logo-img {
    max-height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* Mobile navbar toggler */
.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.2);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive */
@media (max-width: 640.98px) {
    .sidebar {
        background: white !important;
    }

    .top-row.navbar {
        justify-content: space-between !important;
    }
}
