.login-form{
    width: 500px;
    text-align: center;
}
.btn-block{
    width: 100%;
}
.security-form{
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: 100Vh;
}
.security-login-form{
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 25%;
    height: 100Vh;
}
.centered-element{
    display: flex;
    justify-content: center;
    align-items: center;
}
.table-barre{
    overflow-x: auto;
}
.collection-container{
    display: flex;
    flex-direction: column;
}
.collection-item{
    margin-right: 10px;
}
.switch-success{
    background-color: green;
}
.mid-center{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.card-header-primary {
    padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);
    margin-bottom: 0;
    color: var(--bs-card-cap-color);
    background-color: #325d88;
    border-bottom: var(--bs-card-border-width) solid var(--bs-card-border-color);
  }
.highlight {
    background-color: red;
}
.divbord {
    position: absolute;
    line-height: 1em;
    width: 49%;
    top: 10%;
    left: 26%;
    border-width: 8px;
    border-style: double;
    border-color: #325d88;
}

/* Style spécifique pour la cellule avec défilement */
.table-scroll td:nth-child(4) {
    overflow-x: auto; /* Ajoute la barre de défilement */
}
.table-scroll .scroll-content{
    display: inline-block;
}

/* Responsive : tableau adaptable à la taille de l'écran */
@media screen and (max-width: 768px) {
    table {
        width: 100%;
        font-size: 14px; /* Taille de police réduite sur petits écrans */
    }

    td {
        padding: 6px; /* Réduit l'espace dans les cellules */
    }
}

/* Cibler spécifiquement le tableau avec la classe "mq-table" */
.mq-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* Cela assure que les colonnes ont des tailles fixes et respectent la largeur totale */
}
 
.mq-table th, .mq-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    background-color: white;
}
 
.mq-table th {
    background-color: rgb(212, 238, 249);
}
 
/* Style pour les colonnes */
.mq-table td:nth-child(1), .mq-table th:nth-child(1),
.mq-table td:nth-child(2), .mq-table th:nth-child(2),
.mq-table td:nth-child(3), .mq-table th:nth-child(3) {
    width: 10%;
}
 
.mq-table td:nth-child(4), .mq-table th:nth-child(4) {
    width: 100%;  /* Modifie la largeur pour ajuster la colonne 4 */
    overflow-x: auto; /* Ajouter un défilement horizontal */
    white-space: nowrap;  /* Empêcher le texte de se couper */
    display: block;
    max-width: 100%; /* Assurer que la colonne 4 respecte la largeur disponible */
}
 
/* Rendre le tableau responsive */
@media screen and (max-width: 768px) {
    .mq-table th, .mq-table td {
        display: block;
        width: 100%;
    }
 
    .mq-table td:nth-child(4) {
        max-width: none;
        overflow-x: auto;
    }
}

.centered-element{
    margin-left: auto;
    margin-right: auto;
    /* background-color: grey; */
    padding: 4px;
    width: 2000px;
}

body {
  padding-top: 70px; /* ajuste à la hauteur de ta navbar */
}

input[type="text"].form-control,
input[type="password"].form-control {
  -webkit-appearance: textfield !important;
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}
