/* Styles spécifiques à la navigation */

/* Améliorations du dropdown */
.dropdown-menu {
    border-radius: 12px;
    padding: 8px 0;
    margin-top: 8px;
}

.dropdown-item {
    border-radius: 8px;
    margin: 2px 8px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: linear-gradient(45deg, var(--ocean-blue), var(--deep-blue));
    color: white;
    transform: translateY(-1px);
}

.dropdown-item:hover small {
    color: rgba(255, 255, 255, 0.8) !important;
}

.dropdown-header {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 16px 4px 16px;
}

.dropdown-divider {
    margin: 8px 16px;
    opacity: 0.3;
}

/* Animation du dropdown */
.dropdown-menu {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Styles pour les boutons de sélection de langue */
.dropdown-menu form {
    margin: 0;
    padding: 0;
}

.dropdown-menu button.dropdown-item {
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    padding: 0.5rem 1rem;
    display: block;
    clear: both;
    font-weight: 400;
    white-space: nowrap;
    text-decoration: none;
}

.dropdown-menu button.dropdown-item:hover {
    background: linear-gradient(45deg, var(--ocean-blue), var(--deep-blue));
    color: white;
    transform: translateY(-1px);
}

.dropdown-menu button.dropdown-item.active {
    background-color: var(--ocean-blue) !important;
    color: white !important;
    font-weight: 500;
}

.dropdown-menu button.dropdown-item.active:hover {
    background-color: var(--deep-blue) !important;
    color: white !important;
}

/* Responsive */
@media (max-width: 991.98px) {
    .dropdown-menu {
        position: static !important;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
        transform: none !important;
        opacity: 1 !important;
    }
    
    .dropdown-item {
        margin: 0;
        border-radius: 0;
        padding-left: 2rem;
    }
    
    .dropdown-menu button.dropdown-item {
        padding-left: 2rem;
    }
    
    .dropdown-header {
        padding-left: 2rem;
    }
    
    .dropdown-divider {
        margin: 4px 0;
    }
}
