/* Les cartes sorties dans liste ont un minimum de hauteur seulement sur media large */
@media (min-width: 992px) {
    /* 'lg' breakpoint in Bootstrap starts at 992px */
    .min-height-lg {
        min-height: 20rem;
    }
}
/*
lien sur toute la carte avec animation*/
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-link .card {
    transition: transform 0.3s, background-color 0.3s;
}

.card-link .card:hover {
    transform: scale(1.05);
    background-color: #f0f0f0;
}

label.required:after, legend.required:after {
    content: "*";
    color: red;
    margin-left: 5px;
}

.alert {
    opacity: 1;
    transition: opacity 2s ease-out;
}

.alert.fade-out {
    opacity: 0;
    pointer-events: none;
}

/*pour limiter les tables*/
.table-container {
    overflow-x: auto; /* Ajoute un ascenseur horizontal si nécessaire */
    max-width: 100%; /* Limite la largeur à celle de son parent */
}

table {
    width: 100%; /* Ajuste la largeur du tableau à son contenu */
    border-collapse: collapse; /* Style classique pour les tableaux */
}

.fs-petit {
    font-size: 0.8em;

}

.horizontal-scroll {
    overflow-x: auto;
    white-space: nowrap;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}
