body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
}

.background {
    background-image: url("/static/fond.jpg");
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Espace entre les deux fenêtres */
    flex-wrap: wrap; /* Permet de passer en mode colonne sur les petits écrans */
    width: 100%;
    max-width: 1100px; /* Largeur maximale du conteneur principal */
    height: 100%; /* Prend toute la hauteur disponible */
    box-sizing: border-box;
    overflow-y: auto; /* Permet le défilement vertical si le contenu dépasse la hauteur */
}

.horizontal-container{
    background-color: rgba(255, 255, 255, 0.8);
    padding-bottom: 20px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    align-items: left;
}




.form-container, .side-container, .tarifeur-container {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    width: 300px; /* Largeur des fenêtres */
}

.petite-side-container {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    width: 225px; /* Largeur des fenêtres */;
    font-size: 15px
}

.petite-side-container form label,
.petite-side-container form input,
.petite-side-container form select,
.petite-side-container form button {
    margin-bottom: 5px; /* Réduire la marge en bas de chaque élément */
}

label {
    display: block;
    margin: 10px 0 5px;
}

select, button {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

input {
    width: 60%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

button {
    background-color: #f4cb39;
    color: black;
    border: none;
    cursor: pointer;
}

.hidden {
    display: none;
}

button:hover {
    background-color: #888B8D;
}


@media (max-width: 600px) {
    .container {
        flex-direction: column;
        gap: 10px; /* Réduire l'espace entre les fenêtres */
    }

    .form-container, .side-container {
        width: 100%; /* Prendre toute la largeur sur les petits écrans */
        max-width: 400px; /* Largeur maximale pour éviter de trop étendre */
        margin: 0 10px 10px 10px; /* Ajouter un peu de marge latérale */
    }

    input {
        width: 100%; /* Prendre toute la largeur pour les petits écrans */
    }
}




.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 1px;
    bottom: 1px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #f4cb39;
}

input:checked + .slider:before {
    transform: translateX(20px);
}


/* Style pour la fenêtre modale */
.modal {
    display: none; /* Masqué par défaut */
    position: fixed; /* Reste à la même place même quand on scrolle */
    z-index: 1000; /* Au-dessus des autres éléments */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* Centré verticalement */
    padding: 20px;
    border: 1px solid #888;
    width: 300px; /* Largeur de la fenêtre */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.options-a-cocher-container {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: left; /* Aligne le texte à gauche */
}

.sous-titre-accessoires {
    font-weight: bold;
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    border-top: 1px solid #ccc;
    padding-top: 10px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
}

.checkbox-container input[type="checkbox"] {
    width: 15px; /* Largeur fixe pour uniformiser la taille de la case à cocher */
    height: 15px;
    margin: 0; /* Évite les marges par défaut */
    position: relative;
    top: -1px; /* Ajuste légèrement la position verticale */
}

.checkbox-label {
    margin-left: 10px; /* Espace entre la case à cocher et le texte */
    line-height: 1.2; /* Ajuste la hauteur de ligne pour mieux centrer */
    flex: 1;
}

.decalage {
    margin-left: 20px; /* décale vers la droite */
}


.accueil-container {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.accueil-logo {
    max-width: 160px;
    margin-bottom: 10px;
}

.accueil-boutons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.accueil-bouton {
    display: block;
    background-color: #f4cb39;
    color: black;
    text-decoration: none;
    padding: 15px;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
    box-sizing: border-box;
}

.accueil-bouton:hover {
    background-color: #888B8D;
}

@media (max-width: 600px) {
    .accueil-container {
        margin: 0 10px;
    }
}


/* Style pour le champ de commentaires */
#commentaires {
    width: 92%; /* Prend toute la largeur disponible */
    padding: 10px; /* Ajoute un espace intérieur */
    border-radius: 5px; /* Angles arrondis */
    border: 1px solid #ccc; /* Bordure légère */
    font-size: 16px; /* Taille de police agréable */
    resize: vertical; /* Permet à l’utilisateur de redimensionner en hauteur */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Légère ombre pour effet de profondeur */
    margin-bottom: 10px;
}

