.selectable-day.selected-start,
.selectable-day.selected-end {
    background-color: #85C1E9 !important;
}

.selectable-day.selected-start.selected-range {
    background-color: #D6EAF8 !important;
}

.selectable-day.selected-range,
.selectable-day.selected-end {
    background-color: #D6EAF8 !important;
}

#block-payment-finale {
    margin-top: 4rem;
    border: 1px solid gray;
    background-color: white;
    padding: 10px;
}

#button-container button {
    flex: 1 1 0;
    max-width: 150px;
    /* optionnel pour limiter */
}

#startDate {
    cursor: pointer;
}

.form-control,
.form-select,
.form-check-input {
    border: 1px solid gray;
}

#reservation-container {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.thumbnail {
    cursor: pointer;
}

.galerie-img {
    width: 145px;
    height: 121px;
    object-fit: cover;
}

.galerie-list {
    height: 21rem;
    overflow-y: auto;
}

.galerie-list {
    scrollbar-width: thin;
}

.galerie-list::-webkit-scrollbar {
    width: 15px;
}

.galerie-list::-moz-scrollbar {
    width: 15px;
}

#mainImage {
    max-height: 21rem;
    height: 25rem;
    width: auto;
    max-width: 100%;
}

#mainImage {
    transition: opacity 0.4s ease-in-out;
    opacity: 1;
}

#mainImage.fade-out {
    opacity: 0;
}

#imageContainer {
    max-width: 100%;
}

#imageText {
    font-weight: bold;
    padding-top: 26%;
    color: #686868;
}

.selected-thumbnail {
    border: 2px solid #007bff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.8);
}

.vignettes-col {
    padding-bottom: 1rem;
}

.galerie-img {
    cursor: pointer;
}

.galerie-img.selected-thumbnail {
    border: 2px solid #007bff;
}

@keyframes example {
    0% {
        background-color: red;
        left: 0px;
        top: 26%;
    }

    25% {
        background-color: yellow;
        left: 200px;
        top: 26%;
    }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

.cookie-consent {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 20%;
    background-color: #f0f0f0;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    animation: slideInFromLeft 1s forwards;
}

.form-check-label {
    text-align: left;
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
}

.form-check-input {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

.form-check {
    text-align: left;
}

#close-cookies {
    position: absolute;
    top: -7px;
    right: 0px;
}

#infoDateBloquee {
    display: none;
}

/*
.presentation{
    position: relative;
    background-color: #343a40;
    background-image: url(../img/baie-des-mulets_02.jpg);
    background-size: cover;
    padding-top: 8rem;
    padding-bottom:24rem;
    margin-top: -8em;
    z-index: -1;
    width: 100%;
    height: auto;
    background-repeat: no-repeat;
    background-position: center 84.5%;
}
*/

.presentation {
    position: relative;
    background-color: #343a40;
    background-image: url(../img/baie-des-mulets_02.jpg);
    background-size: cover;
    padding-top: 8rem;
    padding-bottom: 24rem;
    margin-top: -8em;
    /*z-index: -1;*/
    width: 100%;
    height: auto;
    background-repeat: no-repeat;
    background-position: center 84.5%;
}

/* Contenu du header */
.header-reservation {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Texte prix */
.header-reservation-price {
    font-size: 1.25rem;
    font-weight: 500;
    color: #ffffff;
    /* blanc sur ton fond */
}

/* Bouton spécifique pour le header */
.btn-header-book {
    background-color: #B8510B;
    border-color: #B8510B;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    color: #ffffff;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: background-color 0.3s;
}

.btn-header-book:hover {
    background-color: #993f08;
    border-color: #993f08;
}

.pagePayment {
    position: relative;
    background-color: #343a40;
    background-image: url(../img/baie-des-mulets_02.jpg);
    background-size: cover;
    padding-top: 8rem;
    padding-bottom: 24rem;
    margin-top: -8em;
    z-index: -1;
    width: 100%;
    height: auto;
    background-repeat: no-repeat;
    background-position: center 84.5%;
}

#title-site {
    margin-top: 2rem;
    font-weight: 600;
    font-size: 3.75em;
    text-shadow: 0 .05em .5rem rgba(0, 0, 0, .4);
}

#lieu-vauclin {
    position: absolute;
    right: 8%;
    top: 479px;
}

#navbarCollapse {
    margin-top: -7em;
}

#contact-form {
    max-width: 1170px;
    margin: auto auto;
    padding-top: 4rem;
    padding-bottom: 5rem;
}

#comment {
    padding-bottom: 12rem;
}

h2 {
    color: black;
}

#comment {
    background-color: white;
}

#footer {
    background-color: white;
}

.nav-link.active {
    color: black !important;
    font-weight: bold;
    text-decoration: underline;
}

.navbar {
    height: 5rem;
    padding-top: 6rem;
    z-index: -9999;
}

.navbar-brand {
    z-index: -9999;
}

#logo {
    position: absolute;
    margin-top: -5rem;
    margin-left: 1rem;
    border: 2px solid white;
}

#nbpersonne {
    width: 23rem;
}

.form-reservation,
.navbar {
    z-index: 1;
}

#reservation-valider {
    text-align: center;
}

#model-lien {
    font-weight: bold;
    color: blue;
}

.modal-body {
    text-align: center;
}

.taille {
    font-size: 12px;
}

#reservation-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-around;
    border: 1px solid #ececec;
    ;
    padding-top: 1.5rem;
}

#simulation {
    display: none;
}

#simulation {
    color: #228200;
    border: 2px solid #c6c6c6;
    padding: 9px;
}

#simulation #title {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    background-color: green;
    color: white;
}

#total {
    font-weight: bold;
    font-size: 15px;
}

#jesuisdaccord,
#jeRetoune {
    display: block;
}

#payer {
    display: none;
}

#facture {
    padding-top: 1%;
}

.close {
    color: red;
    border: none;
    background-color: transparent;
}

.droite-pieces {
    background: #f8f8f8;
}

p img {
    width: 383px;
    height: auto;
}

.wrapper {
    float: left;
    padding-top: 1rem;
}

.error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    margin-top: -1px
}

.barre {
    text-decoration: line-through;
}

.fa-circle {
    color: #df00ff;
}

#hebergement {
    padding-top: 6em;
    margin-bottom: 4%;
}

#comment {
    padding-top: 8em;
}

.FlexContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
    width: 87%;
    overflow: auto;
    flex-direction: row;
}

.FlexContainer div {
    width: 240px;
    height: 27px;
    margin: 0px;
    text-align: left;
}

.typeSejour {
    box-shadow: 0px 0px 10px 4px rgba(119, 119, 119, 0.75);
}

.typeSejourC {
    background-color: #abebc6 !important;
}

#eltperso-name {
    font-size: 12px;
}

#textinputdu,
#textinputau {
    width: 111px;
}

#nbjour {
    padding-left: 3%;
}

#semWeek {
    width: auto;
}

#semWeek option {
    color: black;
}

optgroup[label] {
    color: #1c38ce;
}

#prev-btn,
#next-btn {
    z-index: 99;
}

.table th {
    font-size: 12px;
}

.table td {
    font-size: 10px;
    text-align: center;
}

.table thead tr th {
    background-color: #f2f2f2;
}

.reserved-day {
    background-color: #ffcccc !important;
    font-weight: bold;
}

.selectable-day {
    cursor: pointer;
    background-color: #f8f9fa !important;
}

.non-selectable-day {
    color: #ccc;
    background-color: #f0f0f0 !important;
    cursor: not-allowed;
    pointer-events: none;
}

table.table thead.mon-thead-custom th {
    background-color: #1dc165 !important;
    color: white !important;
}

.btn-action {
    display: none;
}

.calendar-wrapper {
    overflow: hidden;
    width: 99.5%;
}

#calendar-container {
    transition: transform 0.5s ease;
}

.calendar-container h6 {
    width: 100%;
    margin-top: 15px;
    background-color: #f8f9fa;
}

#calendar-container {
    width: 100%;
}

#calendar-block {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#tarifs-block {
    margin-left: 10px;
}

[class*="validate-selection-"],
[class*="cancel-selection-"],
[class*="cancel-button-"] {
    z-index: 99;
}

.btn-action-cancel {
    display: inline-block;
}

.cancel-button-inline {
    white-space: nowrap;
    vertical-align: middle;
}


#pubText h3 {
  font-family: 'Poppins', sans-serif;
  font-weight:bold;
  font-size: 1.5rem;
}

#pubText p {
  font-family: 'Comfortaa', sans-serif;
  line-height: 1.6;
  font-size: 1.1rem;
  
}


/* ----------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------- */
#titleJeReserve {
    font-size: 1.75rem;
    color: white;
    text-align: center;
    border-radius: 5px 5px 0px 0px;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #3d933d;
}

#reservation {
    margin: auto auto;
    padding-bottom: 5rem;
}

#gauche {
    width: 87.5%;
    margin: 0 auto;
}

[class*="col-"] {
    margin-bottom: 2px;
    padding-left: 5px;
    padding-right: 5px;
}

#pays {
    cursor: pointer;
}

#indicatif {
    cursor: pointer;
}

#pays option {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 10ch;
}

#bubbleRange,
#enfantRange {
    padding-left: 11px;
    color: #ae003d;
    font-size: 26px;
    font-weight: 600;
    font-family: "Open Sans;"
}

.simulation-content {
    font-size: 14px
}

#periode {
    display: flex;
    flex-direction: row;
    gap: 11px;
}

.pub-image img {
    float: left;
    margin-right: 20px;
    width: 615px;
    margin-top: 12px;
}

.des-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.selection-hint {
    font-size: 1rem;
    font-style: italic;
    color: #555;
    margin-bottom: 10px;
}

.step-indicator {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-left: 8px;
    background-color: red;
    vertical-align: middle;
}

.equip-badge {
    text-align: center;
}

.badge-circle {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.badge-circle:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.price-box {
    background-color: #e9f2ff;
    font-weight: 600;
    text-align: center;
}


@media (max-width: 576px) {
    .droite-pieces span {
        font-size: 13px;
        width: 97%;
        display: block;
    }

    #gauche {
        width: 100%;
        margin: 0 auto;
    }

    .nb-personne,
    .nb-enfant {
        width: 62%;
    }

    .input-group.gap-3 {
        flex-direction: column;
        gap: normal !important;
    }

    .presentation {
        padding-bottom: 0;
    }

    .navbar-toggler {
        display: none;
    }

    #lieu-vauclin {
        display: none;
    }

    #eltperso-name tr {
        width: 100%;
    }

    .fw-34 {
        width: 73% !important;
    }

    .fsuccess {
        width: 100% !important;
    }

    #periode {
        flex-direction: column;
    }

    .pub-image img {
        width: 374px;
    }

    .galerie-img {
        width: 135px;
    }

    .galerie-list {
        height: 21rem;
        overflow-y: unset;
        margin-bottom: 51%;
    }

    .image-col {
        margin-bottom: 1rem;
    }

    #reservation-container {
        flex-direction: column;
        padding: 1rem;
    }

    .form-group.row {
        flex-direction: column;
    }

    .form-group .col-sm-2,
    .form-group .col-sm-4,
    .form-group .col-sm-6,
    .form-group .col-lg-2,
    .form-group .col-lg-4,
    .form-group .col-lg-8 {
        width: 100%;
        padding: 0.5rem 0;
    }

    .form-check {
        margin-bottom: 0.5rem;
    }

    #titleJeReserve {
        text-align: center;
    }

    #reservation-valider {
        display: flex;
        justify-content: center;
    }

    .simulation-content .form-group {
        margin-bottom: 1rem;
    }

    .simulation-content .form-group .col-sm-6 {
        margin-bottom: 0.5rem;
    }

    .simulation-content .form-group .col-sm-6.text-end {
        text-align: left;
    }

    table.table {
        table-layout: fixed;
        width: 100%;
    }

    .btn-action {
        display: none;
        justify-content: space-between;
        margin-top: 1rem;
    }

    .simulation-content {
        padding: 0 15px;
    }

    .simulation-content .form-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .simulation-content .form-group .col-sm-6 {
        text-align: left;
        margin-bottom: 10px;
    }

    .simulation-content .form-group .col-sm-6 {
        width: 100%;
        text-align: center !important;
        justify-content: center !important;
    }

    .custom-range {
        width: 40%;
    }

}

.toggle-text-btn {
    display: none;
}

.header-reservation {
    margin-top: 2rem;
    /* Ajuste la distance depuis le titre */
    z-index: 2;
    /* Au-dessus de l'image de fond */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.header-reservation-price {
    font-size: 1.25rem;
    font-weight: 500;
    color: #ffffff;
    /* texte en blanc pour contraste avec le fond */
}

/* Style spécifique pour le bouton du header */
.btn-header-book {
    background-color: #B8510B;
    border-color: #B8510B;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    color: #ffffff;
    text-decoration: none;
    border-radius: 0.375rem;
    /* arrondis similaires à Bootstrap */
    transition: background-color 0.3s;
}

.btn-header-book:hover {
    background-color: #993f08;
    border-color: #993f08;
}

#reservation-container {
    background-color: #F4F4F4;
}


.calendar-notification {
  position: absolute;
  top: 10px;
  left: 48%;
  transform: translateX(-50%);
  background: #f87171;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  font-family: sans-serif;
  font-size: 14px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.calendar-notification.show {
  opacity: 1;
}


/* ***** **** ***** **** **** **** **** ***  */
/* ***** **** ***** **** **** **** **** ***  */
/* ***** **** ***** **** **** **** **** ***  */
/* ***** **** ***** **** **** **** **** ***  */
/* ***** **** ***** **** **** **** **** ***  */
/* ***** **** ***** **** **** **** **** ***  */
/* ***** **** ***** **** **** **** **** ***  */
/* ***** **** ***** **** **** **** **** ***  */
/* ***** **** ***** **** **** **** **** ***  */
/* ***** **** ***** **** **** **** **** ***  */
/* ***** **** ***** **** **** **** **** ***  */
/* ***** **** ***** **** **** **** **** ***  */
/* ***** **** ***** **** **** **** **** ***  */
/* ***** **** ***** **** **** **** **** ***  */
/* ***** **** ***** **** **** **** **** ***  */
/* ***** **** ***** **** **** **** **** ***  */
/* ***** **** ***** **** **** **** **** ***  */
@media (max-width: 767.98px) {

    #logo {
        margin-top: -6rem;
        margin-left: 0.1rem;
        height: 75px;
        width: 64px;
    }

    .galerie-list {
        display: flex;
        justify-content: center;
        padding: 0 10px;
    }

    #imageContainer {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        width: 100%;
    }

    .galerie-img {
        width: 100%;
        height: 120px;
        object-fit: cover;
        border-radius: 4px;
    }


    .pub-text {
        position: relative;
        overflow: hidden;
        /* limite le texte */
    }

    .pub-text::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1.5em;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
        pointer-events: none;
    }


    .toggle-text-btn {
        display: inline-block;
        font-size: 11px;
        padding: 2px 6px;
        background-color: #007bff;
        color: #fff;
        border: none;
        border-radius: 3px;
        margin-top: 6px;
        cursor: pointer;
    }

    .toggle-text-btn:active {
        opacity: 0.85;
    }


    .toggle-text-btn {
        display: inline-block;
    }

    .toggle-text-btn {
        font-size: 12px;
        padding: 2px 6px;
        border-radius: 3px;
        margin-top: 6px;
    }

    .des-container:not(.des-price-container) {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .des-item {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .des-container:not(.des-price-container) .des-item {
        flex: 0 0 45%;
        box-sizing: border-box;
        text-align: center;
    }

    .des-price-container {
        justify-content: center;
        margin-top: 10px;
    }

    .des-price-container .des-item {
        text-align: center;
        font-weight: bold;
    }

    #info-block .form-group.row {
        display: flex;
        flex-direction: column !important;
        gap: 0.5rem;
    }

    #info-block .form-group.row>div[class*="col-"] {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #info-block textarea.form-control {
        width: 100% !important;
    }

    #info-block select.form-select,
    #info-block input.form-control {
        width: 100% !important;
        box-sizing: border-box;
    }

    #calendar-block {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .calendar-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 0 !important;
    }

    #calendar-container {
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto;
        overflow-x: hidden;
        max-height: calc(2 * 318px);
        scroll-behavior: smooth;
        height: auto;
    }

    .calendar-container {
        flex: none;
        width: 100% !important;
    }

    #button-container {
        display: none !important;
    }

    body {
        overflow-x: hidden;
    }

    h4 {
        margin-bottom: 0.5rem;
        padding-bottom: 0;
    }

    #calendar-block {
        margin-top: 0.5rem;
    }

    #info_selection {
        margin-top: 0.5rem;
    }

    #labelsejour {
        margin-top: 27px;
    }

/*    #logo {
        display: none;
    }*/

    #section-resume {
        margin-top: -76px;
        font-size: 13px;
    }

    .container {
        padding: 0 1rem;
    }

    .row.mb-2 {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 1rem;
    }

    .label-col {
        width: 34%;
        font-weight: bold;
        text-align: left !important;
        padding-right: 0.5rem;
        padding-left: 0.25rem;
    }

    .value-col {
        width: 60%;
        text-align: left !important;
        padding-left: 0.25rem;
        word-break: break-word;
    }

    .col-2,
    .col-4,
    .col-10,
    .col-8 {
        padding-left: 1.2rem !important;
        padding-right: 1rem !important;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    #title {
        font-size: 20px;
        text-align: center;
        margin-top: 1rem;
    }

    .fsuccess {
        font-size: 18px;
        width: 100%;
        text-align: center;
    }

    .bi.bi-journal-text {
        display: none;
    }

    #coordonnees-heading,
    #reservation-heading,
    #paiement-heading {
        margin-left: 0.5rem;
    }

    #block-payment {
        margin-top: -24rem;
    }

    #block-payment-finale {
        margin-top: -15rem;
        border: 1px solid gray;
        background-color: white;
        width: 24rem;
    }

    #aide-finale {
        top: 33rem !important;
        left: -11px;
        padding: 11px;
    }


    .cookie-consent {
        width: 80%;
        max-width: 340px;
        padding: 2rem 0.8rem 0.8rem 0.8rem;
        /* espace en haut pour le bouton X */
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        box-sizing: border-box;
        position: fixed;
        bottom: 1rem;
        left: 50%;
        transform: translateX(-50%) translateY(150%);
        background: #fff;
        animation: slideUp 0.4s ease-out forwards;
        z-index: 9999;
    }

    @keyframes slideUp {
        from {
            transform: translateX(-50%) translateY(150%);
            opacity: 0;
        }

        to {
            transform: translateX(-50%) translateY(0);
            opacity: 1;
        }
    }

    #close-cookies {
        position: absolute;
        top: -0.5rem;
        right: -7.5rem;
        background: transparent;
        border: none;
        font-size: 1.2rem;
        color: #555;
        cursor: pointer;
    }

    .cookie-consent .d-flex {
        flex-direction: column;
        gap: 0.4rem;
    }

    .cookie-consent .btn {
        width: 100%;
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }

    .cookie-consent p {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }

}