/* =============================
   MASQUAGE DES ÉLÉMENTS
============================= */

/* Cache le bloc qui contient la classe avec "message" */
div[class*="message"] {
    display: none;
}

/* Masquer les labels spécifiques pour les quatre formulaires */
label[for^="hb-form-1-check"],
label[for^="hb-form-2-check"],
label[for^="hb-form-3-check"],
label[for^="hb-form-4-check"],
label[for="hb-form-1-adults"],
label[for="hb-form-2-adults"],
label[for="hb-form-3-adults"],
label[for="hb-form-4-adults"] {
    display: none;
}

/* Masquer le titre de recherche */
.hb-title.hb-title-search-form {
    display: none;
}


/* =============================
   STYLES GÉNÉRAUX DES BOUTONS
============================= */

/* Boutons Raven */
.raven-button,
a.raven-button {
    display: inline-block;
    position: relative;
    padding: 12px 24px;
    border-radius: 3px;
    line-height: 1;
    text-align: center;
    background-color: #84CCA4 !important;
    color: #fff !important;
    transition: all .5s;
    -webkit-transition: all .5s;
}

/* Boutons de soumission formulaires principaux */
#hb-form-1-hb-search-form-submit,
#hb-form-2-hb-search-form-submit,
#hb-form-3-hb-search-form-submit,
#hb-form-4-hb-search-form-submit {
    background-color: #66CC99;
    color: white;
    border-radius: 5px;
    border: none;
    box-shadow: none;
    outline: none;
}

/* =============================
   STYLES DES VIGNETTES 9 ET 19 SUR LA CARTE 
============================= */
.dm-etang-post-item[data-dm-item-number="9"],
.dm-etang-post-item[data-dm-item-number="19"] {
    background: rgb(51,212,255) !important;
}



/* =============================
   STYLES DES CHAMPS DE FORMULAIRE
============================= */

/* Inputs dates et Nb de pêcheur */
[id^="hb-form-1-check"],
[id^="hb-form-2-check"],
[id^="hb-form-3-check"],
[id^="hb-form-4-check"],
#hb-form-1-adults,
#hb-form-2-adults,
#hb-form-3-adults,
#hb-form-4-adults {
    border: 1px solid #ccc;
    border-radius: 5px;
    min-height: 29px;
    font-size: 12px;
    color: #888;
    margin-top: 32px;
    padding-left: 7px;
    max-height: 28px !important;
}

/* Placeholder et option désactivée */
[id^="hb-form-1-check"]::placeholder,
[id^="hb-form-2-check"]::placeholder,
[id^="hb-form-3-check"]::placeholder,
[id^="hb-form-4-check"]::placeholder,
#hb-form-1-adults option[disabled],
#hb-form-2-adults option[disabled],
#hb-form-3-adults option[disabled],
#hb-form-4-adults option[disabled] {
    font-size: 12px;
    color: #888;
}

/* Style général du select (Nb de pêcheur) */
.hb-adults {
    appearance: none; /* Supprime le style natif */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: white;
    font-size: 1rem;
    color: black;
    position: relative;
    margin-top: 32px;
    padding-left: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2328a745' d='M1.5 5.5l6 6 6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1rem;
}

/* Correction pour Firefox / IE */
.hb-adults::-ms-expand {
    display: none; /* Supprime les flèches supplémentaires dans IE/Edge */
}

/* =============================
   AUTRES AJUSTEMENTS
============================= */

/* Ajustement du bloc RÉSERVER VOTRE SESSION */
.elementor-heading-title {
    margin-bottom: 25px !important;
}

.raven-tabs-list {
    margin-left: 100px !important;
}

/* =============================
   MEDIA QUERIES (VERSION MOBILE)
============================= */
@media only screen and (max-width: 768px) {
    /* Margin top ajusté uniquement pour les champs de dates */
    .hb-check-dates-wrapper {
        margin-top: -25px !important;
    }

    /* Laisse le champ "Nb de pêcheur" avec un léger ajustement si besoin */
    .hb-people-wrapper.hb-people-wrapper-adults {
        margin-top: -25px !important;
    }
}
