/* === STYLES POUR LE FORMULAIRE === */

/* Conteneur principal du formulaire */
#signin-sheet-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
}

/* Labels du formulaire */
#signin-sheet-form label {
    display: block;
    margin-bottom: 10px;
}

/* Styles pour les champs texte, date, et heure */
#signin-sheet-form input[type="text"],
#signin-sheet-form input[type="date"],
#signin-sheet-form input[type="time"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* === CONTENEUR ET CANVAS DE SIGNATURE === */
#signature-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 20px;
    border: 2px dashed #ccc;
    background-color: #fff;
}
#signature-canvas {
    width: 100%;         /* S'adapte à la largeur du conteneur */
    display: block;      /* Plus de décalages de ligne */
    background-color: #fff;
    touch-action: none;  /* Désactive le scroll pendant le dessin */
}

/* === BOUTON DE SOUMISSION === */
#signin-sheet-form input[type="submit"] {
    padding: 10px 20px;
    background-color: #007BFF;
    border: none;
    color: white;
    border-radius: 5px;
}
#signin-sheet-form input[type="submit"]:hover {
    background-color: #0056b3;
}

/* === CASES À COCHER DES DOMAINES === */
.domain-row {
    white-space: nowrap;
    margin-bottom: 5px;
}
.domain-row input[type="checkbox"],
.domain-row label {
    display: inline-block;
    margin-right: 10px;
}

/* === STYLES GÉNÉRAUX POUR TABLEAUX ET SIGNATURE IMAGES === */
.title-cell, .centered-title {
    background-color: #003399;
    color: white;
    font-family: Calibri, sans-serif;
    font-size: 20px;
    font-weight: bold;
}
.centered-title { text-align: center; }
.info-label, .info-cell {
    font-size: 14px;
    font-weight: bold;
}
.trainee-number-cell {
    width: 30px;
    text-align: center;
}
.small-font { font-size: 11px; }
td { padding: 0 10px; }
.fixed-height-row { height: 35px; margin: 0; }
.signature-image {
    max-height: 35px;
    width: auto;
    vertical-align: middle;
    margin: 0;
}
@media print {
    .title-cell {
        background-color: #003399 !important;
        color: white !important;
    }
}
