.htmx-indicator { opacity: 0; transition: opacity 200ms ease-in; }
.htmx-request .htmx-indicator,
.htmx-indicator.htmx-request { opacity: 1; }


/* HOVER BOOTSTRAP
.table {
    --bs-table-hover-bg: #9fd3ff;
    --bs-table-hover-color: #000;
}
*/


/* HOVER PERSO */
.table-sel tbody tr:hover td {
    background-color: #9fd3ff;
    color: #000;
}

@media (max-width: 767.98px) {
    .nom-responsive {
        display: block;

        max-width: 12ch;

        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;

        text-align: left;
    }
}

/* STICKY HORIZONTALE SOUS-TITRE (Expiration des accès ZRR) */
.sticky-subtitle {
    position: sticky;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    z-index: 10;
    background: var(--bs-tertiary-bg);
    margin-left: 0;
}

/* STICKY PALETTE GESTION DES DOSSIERS */
@media (min-width: 992px) { /* Uniquement sur écran Large (lg) et plus */
    .sticky-column {
        position: sticky;
        top: 60px; /* Distance entre le haut de l'écran et le menu quand on scrolle */
        align-self: start; /* CRUCIAL : Empêche la colonne de s'étirer sur toute la hauteur */
    }
}


/* Assure que tous les boutons d'action sont cliquables et au premier plan */
.btn, .accordion-button {
    position: relative !important;
    z-index: 10 !important;
    cursor: pointer !important;
}
