/* Conteneur du dropdown */
.dropdown {
    position: relative;
    display: inline-block;
    width: auto;
}

/* Bouton du dropdown */
.dropdown-button {
    cursor: pointer;
    padding: 8px 16px;
    background-color: transparent;
    color: rgba(0,0,0,0.65);
    border: none;
}

/* Menu dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    z-index: 1000;
    flex-direction: column;
    --bs-dropdown-padding-y: 0 !important;
    width:210px;
}

/* Items du menu */
.dropdown-menu a {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    width: 100%;
    text-decoration: none;
    color: rgba(0,0,0,0.65);
}

.dropdown-menu :nth-last-child(1) {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.dropdown-menu :nth-child(1) {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.dropdown-menu a:hover {
    background-color:#f1f1f1;
    color:#1d4a7f;
    font-weight:bold;
}

/* Affichage du menu au hover */
.dropdown:hover .dropdown-menu {
    display: flex;
}