.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 12px;
    margin-top: 10px;
    white-space: nowrap; /* Empêche le contenu de revenir à la ligne */
    width: auto; /* Ajuste la largeur automatiquement en fonction du contenu */
}

.dropdown-content.show {
    display: block; /* Affiche le contenu */
}

.dropdown-content.hide {
    display: none; /* Masque le contenu */
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropbtn {
    font-size: 16px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropbtn:focus {
outline: none !important;
}

.dropbtn:hover {
    background-color: #4F69A2 !important;
    }

.dropbtn .button-icon {
    margin-right: 8px;
    width: 16px; /* Ajustez la taille selon vos besoins */
    height: 16px; /* Ajustez la taille selon vos besoins */
}

.chevron-icon {
    margin-left: auto;
    width: 16px;
    height: 16px;
}

.dropbtn:hover, .dropbtn:focus {
    background-color: #3e8e41;
}

.dropbtn .separator {
    height: 31px;
    width: 1px;
    background-color: white;
    margin: 0 7px;
}

.chevron-icon {
    transition: transform 0.3s ease; /* Transition pour la rotation */
}

.chevron-rotate {
    transform: rotate(180deg); /* Rotation de 180 degrés */
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: flex; /* Utilisation de flexbox pour aligner le label et l'icône */
    align-items: center;
    justify-content: space-between; /* Espace entre le label et l'icône */
}

.dropdown-content a img.dropdown-item-icon {
    margin-left: 8px; /* Ajoute une marge de 8px entre le label et l'icône */
    width: 16px; /* Ajustez la taille selon vos besoins */
    height: 16px; /* Ajustez la taille selon vos besoins */
}

.dropdown-separator {
    border: none; /* Enlève les bordures par défaut */
    border-top: 1px solid #F6F8FC; /* Ajoute une ligne fine */
}

.dropdown-content a:hover svg.dropdown-item-icon path{
    fill: #1865FF;
}
