/* ******************************************************* */
/*    LDAP - MULTI SELECT                                  */
/*    LDAP - SINGLE SELECT                                 */
/*    FREE TAG INPUT                                       */
/* ******************************************************* */

.ldap-tags-container-stacked,
.free-tags-container-stacked {
    min-height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: none;
    border-radius: 0.25rem 0.25rem 0 0;
}

/* Style des puces (tags) individuelles */
.ldap-tag,
.free-text-tag {
    /* Style du badge (puce) */
    display: inline-flex;
    align-items: center;
    padding: .25em .6em;
    font-size: 1em;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    margin-right: 5px;
    /* Espace entre les tags */
    margin-top: 2px;
    ;
    margin-bottom: 2px;
}

/* Style du bouton de suppression (la croix) dans la puce */
.ldap-tag-close,
.free-tag-close {
    font-size: 1.2em;
    font-weight: bold;
    line-height: 0.8;
    margin-left: 5px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.ldap-tag-close:hover,
.free-tag-close:hover {
    opacity: 1;
}

/* Style de l'input de recherche pour qu'il complète l'ensemble */
.ldap-multi-autocomplete-input {
    border-top: none;
    border-radius: 0 0 0.25rem 0.25rem;
}