body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

.container a{
    text-decoration: none;
}

.container {
    max-width: 960px;
    margin: 20px auto;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

/*
* TABLEAU
*/
/*
.container-flex {
    justify-content: center;
    align-items: center; 
}
*/
.element {
    text-align: center;
}

.Vert{
    color: green;
}

.Rouge{
    color: red;
}

/*
* FORMULAIRES
*/
.StyleFormConnect{
    padding: 20px;
    margin-top: 10px;    
    margin-bottom: 20px;
    box-shadow: 2px 10px 13px -2px rgba(120,107,107,0.75);
    -webkit-box-shadow: 2px 10px 13px -2px rgba(120,107,107,0.75);
    -moz-box-shadow: 2px 10px 13px -2px rgba(120,107,107,0.75);      
}

.StyleFormConnect .form-group{
    margin: 12px;
}

.StyleFormConnect a{
    color: #655E5E;
}

#central {
    min-height: 80vh;
}

.BlocCompet{
    border: solid 1px #cecece;
    margin-left: 25px;
    margin-right: 25px;
    padding-left: 15px;
    padding-right: 15px;
}

.bootbox .modal-header{
    background-color: #DC3545;
    color: white;
    font-weight: bold;
}

/*
* STYLE POUR FENÊTRE SCAN
*/
#interactive {
    justify-content: center;
    width: 100%;
    max-width: 400px;
    text-align: center;
    margin: auto;
}

canvas, video {
    width: 100%;
}

/*
* STYLE POUR LOADER IMPORT PHOTO
*/
#progress-overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    display: none; /* caché par défaut */
    justify-content: center;
    align-items: center;
    z-index: 99999; /* au-dessus de Bootstrap modals */
}

#progress-box {
    background: #ffffff;
    padding: 25px 35px;
    border-radius: 12px;
    text-align: center;
    width: 350px;
    box-shadow: 0 0 12px rgba(0,0,0,0.35);
}

#progress-text {
    font-weight: 600;
    margin-bottom: 12px;
}

#progress-bar-bg {
    width: 100%;
    height: 14px;
    background: #dee2e6; /* gris bootstrap */
    border-radius: 8px;
    overflow: hidden;
}

#progress-bar {
    height: 100%;
    width: 0%;
    background: #198754; /* vert bootstrap (success) */
    transition: width 0.3s ease;
}

/* * 
Règle pour changer le curseur et ajouter un léger effet de survol 
     * aux en-têtes qui sont triables (les NbColumns premières).
     */
.sortable-header {
    cursor: pointer;
    /* Optionnel : Ajoute un léger survol au passage de la souris */
    transition: background-color 0.15s ease-in-out;
}

.sortable-header:hover {
    background-color: #f0f0f0; /* Couleur très légère au survol */
}

/* Pour s'assurer que l'indicateur est toujours clair */
.table-active th {
    color: #000;
}

/* background verts pour photo validé dans tableau verif */
.BkgValid{
    background-color:palegreen!important
}


/*
* style footer
*/
.copyright {
    text-align: center!important;
    font-size: 0.8em;
    color: #5597A5 !important;
}

.copyright a{
    text-decoration: none;
    color: #5597A5;
}