/* Conteneur du formulaire */
#searchForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: fit-content;
    max-width: 100%;
    margin: 20px auto;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

/* Conteneur pour aligner les sélecteurs et le bouton */
#searchForm .form-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    width: 100%;
}

/* Sélecteurs et bouton sur la même ligne */
#searchForm select,
#searchForm button {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    /*font-weight: bold;*/
    font-size: 14px;
    color:black;
    min-width: 200px;
    transition: all 0.3s ease-in-out;
}

/* Les selecteurs prennent toute la place disponible */
#searchForm select {
    flex: 1;
}

/* Bouton principal */
#searchForm button {
    background: black;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s;
    padding: 12px 20px;
    flex-shrink: 0; /* Empêche le bouton de rétrécir */
}

/* Effet au survol */
#searchForm button:hover {
    background: black;
    transform: scale(1.03);
}

/* Responsive : Passage en colonne sur tablette et mobile */
@media screen and (max-width: 908px) {
    #searchForm {
        flex-direction: column;
        align-items: stretch;
        width: 90%;
    }

    #searchForm .form-group {
        flex-direction: column;
        width: 100%;
    }

    #searchForm select,
    #searchForm button {
        width: 100%;
    }
}
