/* Corps de la page */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
}

/* Conteneur principal du formulaire */
form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 700px;
    margin: auto;
    animation: fadeIn 0.5s ease-in-out;
}

/* Titre principal */
h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

/* Champs de saisie */
input[type="text"], input[type="date"], select {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
}

    input[type="text"]:focus, input[type="date"]:focus, select:focus {
        border-color: #4CAF50;
        outline: none;
    }

/* Boutons */
button[type="submit"] {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    button[type="submit"]:hover {
        background-color: #45a049;
    }

/* Validation des champs */
.text-danger {
    color: red;
    font-size: 12px;
}

/* Animation d'apparition */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styles supplémentaires pour les éléments dans la page */
.form-group {
    margin-bottom: 15px;
}

label {
    font-size: 16px;
    color: #555;
}

select {
    font-size: 14px;
}

/* Espacement entre les éléments */
button {
    margin-top: 10px;
}
