/* Reset CSS pour enlever les marges et padding par défaut */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Appliquer une police moderne et agréable à l'œil */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
}

.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}

/* Titre principal */
h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #4CAF50;
    font-size: 1.8rem;
}

/* Styliser les labels */
label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    margin-top: 15px;
    color: #333;
}

/* Styliser les champs de texte et les sélections */
input[type="text"],
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    margin-bottom: 20px;
    transition: border-color 0.3s;
}

/* Focus sur les champs de texte */
input[type="text"]:focus,
select:focus {
    border-color: #4CAF50;
    outline: none;
}

/* Bouton de recherche */
input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* Changer la couleur du bouton au hover */
input[type="submit"]:hover {
    background-color: #45a049;
}

/* Responsivité : Ajuster le formulaire pour les petits écrans */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 1.5rem;
    }

    input[type="text"],
    select {
        font-size: 0.9rem;
        padding: 8px;
    }

    input[type="submit"] {
        font-size: 1rem;
        padding: 8px;
    }
}
