/* Conteneur du formulaire */
#autorisation {
    max-width: 600px;
    margin: 30px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Titres */
#autorisation h2 {
    text-align: center;
    color: #005a8d;
}

/* Labels */
#autorisation label {
    font-weight: bold;
    color: #333;
    display: block;
    margin-top: 15px;
}

/* Champs texte et email */
#autorisation input,
#autorisation textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s ease-in-out;
}

/* Effet focus */
#autorisation input:focus,
#autorisation textarea:focus {
    border-color: #0077b6;
    outline: none;
}

/* Bouton */
#autorisation button {
    background-color: #0077b6;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    display: block;
    width: 100%;
    margin-top: 20px;
}

#autorisation button:hover {
    background-color: #005a8d;
}

/* Groupe de checkboxes */
.checkbox-group {
    margin-top: 10px;
    font-size: 0.95rem;
}

.checkbox-group label {
	text-align: center;
}

/* Style pour le message de confirmation */
#confirmation-message {
    text-align: center;
    font-weight: bold;
    color: green;
    display: none;
    margin-top: 10px;
}

/* Cache les champs optionnels par défaut */
.optional-fields {
    display: none;
}
