/* ============================================
   NAVBAR MODERN STYLING
   Aligned with new-templates.css design system
   ============================================ */

.navbar-modern {
    background: linear-gradient(135deg, #003399 0%, #0d47a1 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-modern .navbar-brand {
    color: #f8f8ff;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.navbar-modern .navbar-brand:hover {
    color: #2196f3;
}

.navbar-modern .navbar-nav .nav-link,
.navbar-modern .navbar-nav .dropdown-toggle {
    color: #f8f8ff !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    letter-spacing: 0.3px;
}

.navbar-modern .navbar-nav .nav-link:hover,
.navbar-modern .navbar-nav .dropdown-toggle:hover {
    color: #2196f3 !important;
    background: rgba(33, 150, 243, 0.1);
    border-bottom-color: #2196f3;
    transform: translateY(-1px);
}

.navbar-modern .navbar-nav .nav-link:active,
.navbar-modern .navbar-nav .nav-link.active,
.navbar-modern .navbar-nav .dropdown-toggle:active,
.navbar-modern .navbar-nav .dropdown-toggle.active {
    color: #42a5f5 !important;
    font-weight: 600;
}

/* Dropdown menus */
.navbar-modern .dropdown-menu {
    background: white;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.navbar-modern .dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
    color: #333;
    border-left: 3px solid transparent;
}

.navbar-modern .dropdown-item:hover {
    background: #e3f2fd;
    color: #003399;
    border-left-color: #2196f3;
}

.navbar-modern .dropdown-item.disabled {
    color: #999;
}

.navbar-modern .dropdown-divider {
    border-color: #e9ecef;
}

/* Mobile responsiveness */
@media (max-width: 991px) {
    .navbar-modern .navbar-nav {
        padding: 1rem 0;
    }

    .navbar-modern .nav-link {
        border-left: 3px solid transparent;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-modern .nav-link:hover {
        border-left-color: #2196f3;
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

    .navbar-modern .dropdown-menu {
        background: rgba(0, 51, 153, 0.95);
        box-shadow: none;
    }

    .navbar-modern .dropdown-item {
        color: #f8f8ff;
    }

    .navbar-modern .dropdown-item:hover {
        background: rgba(33, 150, 243, 0.2);
        color: #2196f3;
    }
}

/* Navbar toggler (hamburger) */
.navbar-modern .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
    padding: 0.5rem 0.75rem;
}

.navbar-modern .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(33, 150, 243, 0.25);
}

.navbar-modern .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%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
