.navbar-modern {
    background-color: #004466;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-brand-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
    letter-spacing: -0.02em;
    transition: opacity 0.2s ease;
}

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

.navbar-toggler-modern {
    border-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 0.75rem;
}

.navbar-toggler-modern:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

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

.navbar-modern .navbar-nav-modern {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.navbar-modern .nav-link-modern {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    margin: 0 0.25rem;
    text-decoration: none;
    display: block;
}

.navbar-modern .nav-link-modern:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white !important;
}

.navbar-modern .nav-link-modern.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: white !important;
}

/* Modern dropdown */
.dropdown-menu-modern {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item-modern {
    border-radius: 0.375rem;
    padding: 0.625rem 1rem;
    transition: all 0.15s ease;
    color: #212529;
    text-decoration: none;
    display: block;
}

.dropdown-item-modern:hover {
    background-color: #f8f9fa;
    transform: translateX(4px);
    color: #212529;
}

.dropdown-item-modern.disabled {
    color: #6c757d;
    pointer-events: none;
    background-color: transparent;
}

/* Badge redesign */
.badge-modern {
    background-color: #ff6b6b;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    margin-left: 0.5rem;
}

/* Dropdown toggle */
.dropdown-toggle-modern::after {
    margin-left: 0.5rem;
}

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

    .navbar-modern .navbar-nav-modern {
        flex-direction: column;
        align-items: stretch;
    }

    .navbar-modern .nav-link-modern {
        padding: 0.75rem 1rem;
        margin: 0.25rem 0;
    }

    .navbar-collapse-modern {
        background-color: #003355;
        border-radius: 0.5rem;
        margin-top: 1rem;
        padding: 1rem;
    }

    .dropdown-menu-modern {
        border: none;
        background-color: #002244;
        margin-left: 1rem;
    }

    .dropdown-item-modern {
        color: rgba(255, 255, 255, 0.9);
    }

    .dropdown-item-modern:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
    }

    .dropdown-item-modern.disabled {
        color: rgba(255, 255, 255, 0.5);
    }
}

/* Navbar divider for mobile */
.dropdown-divider-modern {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .dropdown-divider-modern {
        border-top-color: rgba(255, 255, 255, 0.2);
    }
}
