/* =====================  MEETING ROOMS -  ======================== */

.meeting-rooms-wrapper {
     width: 100%;
    font-family: 'RecklessNeue', serif;
    font-weight: normal;
    padding-top: 12vh;
}

/* ========================================
   HERO SECTION - SPLIT LAYOUT
   ======================================== */
.meeting-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    min-height: 100vh;
    transition: grid-template-columns 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.meeting-hero-left {
    padding: 0rem 10% 4rem 5%;
    display: inline-flex;
    height: 100vh;
    flex-direction: column;
    justify-content: center; 
}

.meeting-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    color: #09212f;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.meeting-hero-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #09212f;
    margin-bottom: 2.5rem;
}

/* Search Form */
 
    .meeting-search-form {
        max-width: 70%;
        width: 100%;
    }


.search-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.search-input-group {
    display: flex;
    flex-direction: column;
}
.search-select-group {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 1rem;
}

.search-select-group select {
    background: transparent;
    padding-right: 15px;
}

.search-label {
    font-size: 0.875rem;
    color: #09212f;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.search-input {
    padding: 0.875rem;
    border: 2px solid #394A3B;
    border-radius: 4px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
    width: 100%;
    background: white;
 
}

.search-input:focus {
    border-color: #394A3B;
}

.search-location {
    display: flex;
    gap: 0;
    margin-top: 27px;
}

.search-input-location {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid #394A3B;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
    outline: none;
   background: rgb(247 245 240 / var(--tw-bg-opacity, 1));

}

.search-btn {
    padding: 0.875rem 2rem;
    background: #394A3B;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #394A3B;
    opacity:0.7;
}



/* Couleur de votre image */
.flatpickr-day.selected {
    background: #394A3B !important; 
    border-color: #394A3B !important;
}
.flatpickr-calendar {
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}


.flatpickr-day { 
    line-height: 35px  !important;
}

.flatpickr-input[readonly] {
    width:100% !important;
    padding: 0.875rem;
    border: 2px solid #394A3B;
    border-radius: 4px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

 input.search-input.form-control.input {
    background: white;
    transition: border-color 0.3s ease;
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #394A3B;
    border-radius: 4px;
    font-size: 1rem;
    outline: none;
    height: auto;
    color: #09212f;
    padding-right: 40px !important;
    cursor: pointer;
    min-width: 100%;

}

 input.search-input.form-control.input:focus {
    box-shadow: none;
 }

 
 form#meeting-search-form input.search-input.flatpickr-input.form-control.input {
    visibility: hidden !important;
    display: none!important;
}

/* ============================================
   CACHE L'INPUT FLATPICKR ORIGINAL (pas l'altInput)
   Fonctionne sur tous les devices y compris iOS/Android
   ============================================ */

/* Cible le flatpickr-input ORIGINAL (pas l'altInput) */
#meeting-search-form .input-relative-container input.flatpickr-input:not(#search-date-display):not([id="search-date-display"]) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
}

/* iOS Safari spécifique — force le masquage */
@supports (-webkit-touch-callout: none) {
    #meeting-search-form input.flatpickr-input:not(#search-date-display) {
        display: none !important;
        -webkit-appearance: none !important;
        appearance: none !important;
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
        pointer-events: none !important;
        position: absolute !important;
        clip: rect(0,0,0,0) !important;
    }
}

/* Android Chrome spécifique */
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-width: 767px) {
    #meeting-search-form input.flatpickr-input:not(#search-date-display) {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
        position: absolute !important;
        pointer-events: none !important;
    }
}


/* ========================================
   FLATPICKR MOBILE FIX
   ======================================== */
@media (max-width: 767px) {
    
    /* L'altInput généré par flatpickr */
    .flatpickr-input.form-control,
    input.flatpickr-input,
    .search-input.flatpickr-input,
    .flatpickr-input[readonly] {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Le wrapper parent */
    .date-picker-wrapper,
    .input-relative-container,
    .searchinput {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Fix conteneur flatpickr */
    .flatpickr-wrapper {
        width: 100% !important;
        display: block !important;
    }
}

 /* Cache le curseur clignotant et la sélection qui génèrent la bulle */
#booking-search-form input[name="date"] + input[readonly] {
    caret-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

/* Supprime le highlight tactile iOS (la bulle marron) */
#booking-search-form input {
    -webkit-tap-highlight-color: transparent;
    font-size: 16px; /* évite le zoom iOS */
}



.input-relative-container {
    position: relative;
    width: 100%;
    min-width: 100%;
   background-color: white;
} 

.calendar-icon-absolute {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    cursor: pointer;
}


/* wrapper */
 .search_wrapper_select {
    position: relative;
    width: 100%;
    max-width: 100%;

}

.search_wrapper_select .select-btn {
    display: flex;
    height: 55px;
    background: #fff;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 400;
    border-radius: 4px 0 0 4px;
    align-items: center;
    cursor: pointer;
    justify-content: space-between;
    border: 2px solid #394A3B;
    transition: all 0.3s ease;
}

.search_wrapper_select .select-btn:hover {
    border-color:#394A3B;
}

.search_wrapper_select .sBtn-text {
    color: #09212f;
    background: transparent;
    opacity: 1;
}

.search_wrapper_select .sBtn-text.placeholder {
    color: #09212f;
    background: transparent;
    opacity: 1;

}

/* SVG ICON */
.search_wrapper_select .time_slot_icon {
    width: 20px;
    height: 20px;
    color: #09212f;
    transition: transform 0.3s ease;
}

.search_wrapper_select.active .time_slot_icon {
    transform: rotate(-180deg);
}

/* OPTIONS LIST */
.search_wrapper_select .options {
    position: absolute;
    width: 100%;
    overflow-y: auto;
    max-height: 295px;
    padding: 10px;
    margin-top: 10px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
    list-style: none;
}

.search_wrapper_select.active .options {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.search_wrapper_select .options .option {
    display: flex;
    height: 50px;
    cursor: pointer;
    padding: 4px 15px;
    border-radius: 8px;
    align-items: center;
    background: #fff;
    transition: background 0.2s;
    overflow: hidden;
    clear: both;
}

.search_wrapper_select .options .option:hover {
    background: #f2f2f2;
}

.search_wrapper_select .options .option.selected {
    background: #e8eaf6;
    color: #394A3B;
}

.search_wrapper_select .options .option-text {
    font-size: 16px;
    color:#09212f;
}

@keyframes fadeInUp {
    from {
        transform: translateY(10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}




/* wrapper */

 .people-picker-wrapper {
        display: flex;
        justify-content: space-between;
        background: #fff;
        flex-direction: row;
        align-items: center;
        height: max-content;
    }

    .people-label-display {
        font-size: 16px;
        font-weight: 500;
        color: #333;
    }

    .people-controls {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .btn-qty {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        border: 1px solid #394A3B;
        border-radius: 6px;
        font-size: 16px;
        color: #333;
        cursor: pointer;
        transition: all 0.2s;
        outline: none;
        font-weight: bold;
    }

    .btn-qty:hover {
        border-color: #394A3B;
        color: white;
        background: #394A3B;
    }

    .btn-qty:active {
        background: #394A3B;
        color: white;
    }

    .people-input {
        width: 24px;
        height: 24px;
        text-align: center;
        border: 1px solid #394A3B;
        border-radius: 6px;
        font-size: 11px;
        font-weight: 600;
        color: #333;
        background: #fff;
        -moz-appearance: textfield; 
    }

    /* Cache les flèches par défaut sur Chrome/Safari */
    .people-input::-webkit-outer-spin-button,
    .people-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

  
    /* Style optionnel pour l'erreur de validation */
.search_wrapper_select.input-error .select-btn {
    border: 2px solid #ff4d4d !important;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
.search_wrapper_select.input-error {
    animation: shake 0.4s ease-in-out;
}

/* form page */
.search_wrapper_select.establishment  .options .option-text {
    font-size: 13px;
}

form#meeting-search-form input#search-people {
    pointer-events: none;
    border: 0;
    font-size: 0;
    outline: 0;
    padding: 0 12px;
    margin: 0 auto;
    display: none;
    opacity: 0;
    visibility: hidden;
}

.people-picker-container.people-custom .people-picker-wrapper {
    display: flex;
    min-height: 55px;
    background: #fff;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 400;
    border-radius: 4px 0 0 4px;
    align-items: center;
    cursor: pointer;
    justify-content: space-between;
    border: 2px solid #394A3B;
    transition: all 0.3s ease;
}


html.standalone-page header#global-header {
    background: white;
}



button.btn-update.search-submit-btn {
    border: 2px solid var(--secondary-color);
    color: #1e3f35;
    min-height: 55px;
}

button.btn-update.search-submit-btn:hover {
    color: white;
}
/* Hero Carousel */
.meeting-hero-right {
    position: relative;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 2;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background:  rgb(103, 123, 105 ,0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background:rgba(255, 255, 255);
    width: 8px;
    border-radius: 5px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .meeting-hero,
    .meeting-purpose,
    .meeting-benefits,
    .meeting-success,
    .meeting-final {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
   
    .meeting-hero-left {
     height: 90vh;
     padding: 1rem 1.3rem 3rem;
     margin-bottom: 0px;
    }

    .meeting-search-form {
        max-width: 100%;
        width: 100%;
    }
    
     
}


@media (max-width: 991px) {
  form#meeting-search-form {
    height: 38vh;
    margin-bottom: 10px;
   }
  div#right-panel.p-12 {
     padding: 1.3rem !important;
   }
}

@media (max-width: 768px) {
    .meeting-hero {
        min-height: auto;
    }
    
    .search_wrapper_select .options .option {
        display: flex;
        height: 33px;
    }
    
    .meeting-hero-left {
        height: 98h;
        padding: 3rem 1.3rem 0rem;
        margin-bottom: 0px;
        z-index: 50;
    }

    .meeting-hero-right {
        margin-top: 0rem;
        min-height: 300px;
        height:100%;
        margin-bottom: 1rem;
    }

    .search-inputs {
        grid-template-columns: 1fr;
    }
 
}