/* Style de base pour le corps */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
}

/* Style pour les titres */
h2 {
    font-size: 1.5em;
    text-align: center;
    margin-top: 0;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 30px;
    max-width: 800px;
    margin: 20px auto;
}

h3 {
    text-align: center;
    font-size: 1.1em;
    padding: 10px;
}

p {
    text-align: center;
    width: 20%;
    display: inline-block;
    min-width: 100px;
    background-color: #83A697;
    color: #fff;
    border: none;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

/* Style pour le contenu principal */
.content {
    background-color: #fff;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
}

/* Style pour le formulaire */
form {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
}

/* Style pour les labels */
form label {
    display: inline-block;
    width: 200px;
    font-weight: bold;
}

/* Style pour les champs de saisie */
form input[type="text"],
form input[type="date"],
form input[type="number"],
form select,
form textarea,
form input[type="file"] {
    width: calc(100% - 220px);
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form select {
    width: calc(100% - 220px);
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
}

/* Style pour le bouton Ajouter */
form input[type="submit"] {
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

form input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Style adaptatif pour les petits écrans */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .content,
    form {
        padding: 15px;
        max-width: 100%;
    }

    form label {
        width: 100%;
        display: block;
        margin-bottom: 5px;
    }

    form input[type="text"],
    form input[type="date"],
    form input[type="number"],
    form select,
    form textarea,
    form input[type="file"] {
        width: 100%;
    }
}
