.filters {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}
.choices__list--dropdown, .choices__list[aria-expanded]{
    z-index:12;
}
.choices__input{
    min-width: auto !important; /* mal calculé en js donc on force en auto */
    width: auto !important;/* mal calculé en js donc on force en auto */
    padding: 0;
    margin: 0;
    padding-left:5px;
}

/* Style général du tableau */
.table-container {
    max-height: 70vh; /* Ajuste la hauteur pour éviter un scroll trop long */
    overflow-y: auto;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* Personnalisation spécifique à la div contenant le tableau */
.table-container::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.table-container::-webkit-scrollbar-thumb {
    background: rgba(52, 58, 64, 0.75);
    border-radius: 5px;
    transition: all 0.5s ease;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: rgba(49, 55, 61, 0.5);
}



.modern-table {
    width: 100%;
    border-collapse: collapse;
}

/* En-tête collant */
.modern-table thead {
    position: sticky;
    top: 0;
    background: #343a40;
    color: white;
    z-index: 10;
}

.modern-table th, .modern-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

/* Alternance des couleurs de lignes */
.modern-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* Effet au survol */
.modern-table tbody tr:hover {
    background-color: #e9ecef;
    transition: background 0.3s ease-in-out;
}

/* Boutons stylisés */
.view-image-btn {
    display: inline-block;
    padding: 6px 12px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background 0.3s ease-in-out;
}

.view-image-btn:hover {
    background-color: #0056b3;
}

/* Badges */
.badge {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: bold;
    display: inline-block;
}
.modern-table .badge{
    font-weight:normal;
}

.badge-secondary { background: #6c757d; color: white; }
.badge-info { background: #17a2b8; color: white; }
.badge-light { background: #f8f9fa; color: black; }


.choices__input::placeholder{
    font-size:14px;
}

.choices__inner{
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height:30px;
}

.choices__item.choices__item--selectable {
    padding-top: 0;
    margin: 0;
    padding-bottom: 0;
    margin-left: 2px;
}

.choices__button{
    padding-top: 0;
    padding-bottom: 0;
}