/* Style général du formulaire de recherche de véhicule */
#vehicle-search-form {
  /*  max-width: 600px; /* Limite la largeur du formulaire */
    margin: 0 auto; /* Centrage horizontal */
    padding: 20px;
   /*  background-color: #f9f9f9; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Ombre douce */ 
}

/* Style des labels */
#vehicle-search-form label {
    display: block; /* Affiche chaque label sur une nouvelle ligne */
    margin-bottom: 5px;
    font-size: 16px;
    color: #333; /* Texte foncé pour les labels */
}

/* Style des champs select */
#vehicle-search-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px; /* Espace entre les champs */
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
 /*   font-weight: 700;*/
    font-style: normal;
    box-sizing: border-box;
}


#search_vehicle-loader {

    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: #c9c6c685;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

#search_vehicle-loader .spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* Style du bouton de soumission */
#vehicle-search-form button {
    background-color: #007cba;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%; /* Prend toute la largeur du formulaire */
}

/* Changement de couleur au survol */
#vehicle-search-form button:hover {
    background-color: #005f99;
}

/* Message d'erreur pour les options non disponibles */
.no-options-message {
    color: red;
    margin-top: 5px;
    font-size: 14px;
}

/* Réinitialisation des champs désactivés */
#vehicle-search-form select[disabled] {
    background-color: #f0f0f0; /* Fond gris clair pour les champs désactivés */
    cursor: not-allowed; /* Curseur pour indiquer qu'il n'est pas interactif */
}

#vehicle-search-form div {
    margin-bottom: 15px;
}

#vehicle-search-form label {
    display: block;
    font-weight: bold;
}

#vehicle-search-form input, #vehicle-search-form textarea{
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    background-color: #ffffff;
}

#vehicle-search-form .required {
    color: red;
}

