/*
Theme Name: Iver
Theme URI: http://iver.qodeinteractive.com
Description: A Modern Hotel and Booking Theme
Author: Select Themes
Author URI: http://themeforest.net/user/select-themes
Text Domain: iver
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-menu, featured-images, flexible-header, post-formats, sticky-post, threaded-comments, translation-ready
Version: 1.5
License: GNU General Public License
License URI: licence/GPL.txt

CSS changes can be made in files in the /css/ folder. This is a placeholder file required by WordPress, so do not delete it.

*/

    .qodef-hrl-holder input[type=text] {
        border: 0;
        padding: 6px 0 7px;
        margin: 0 0 0;
        font-size: 14.5px;
        font-weight: bold;

        }


/* =============== ALGEMENE RESET =============== */
.qodef-filter-location-holder,
.qodef-filter-amenities-holder,
.qodef-hrl-sort-part-inner {
    display: none !important;
}

.qodef-grid-col-3 {
    display: none;
}

.qodef-grid-col-9 {
    width: 100%;
}

/* =============== LAYOUT CONTAINER =============== */
.qodef-hotel-room-inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    align-items: flex-start;
}

.custom-slider-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 500px;
  flex: 1 1 50%;
}

.custom-slider {
  display: flex;
  transition: transform 0.5s ease;
}

.custom-slide {
  flex: 0 0 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.custom-nav {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
}

.custom-prev, .custom-next {
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 20px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
}

.custom-prev:hover, .custom-next:hover {
  background: rgba(0,0,0,0.9);
}

/* =============== INPUT & AVAILABILITY =============== */
.calendar-picker {
    padding: 10px;
    border: 1px solid #ccc;
    width: 100%;
    max-width: 300px;
    font-size: 16px;
    border-radius: 4px;
  font-weight: bold;
  color: #000;    
}
.calendar-picker::placeholder {
  font-weight: bold;

}

/* Maak de dag-positie relatief zodat de badge goed kan */
.flatpickr-day {
  position: relative;
  font-size: 18px; /* iets kleiner als nodig */
    line-height: 32px;
}

/* Plaats de prijsbadge mooi onderaan elke dag */
.flatpickr-day .price-badge {
  position: absolute;
  bottom: 0px; /* afstand tot onderkant */
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  background: rgba(255,255,255,0.85);
  padding: 0px 3px;
  border-radius: 3px;
  line-height: 1;
  pointer-events: none;
  z-index: 2;
}

/* Zorg dat bij selectie de badge zichtbaar blijft */
.flatpickr-day.selected .price-badge,
.flatpickr-day.startRange .price-badge,
.flatpickr-day.endRange .price-badge,
.flatpickr-day.inRange .price-badge {
  background: rgba(255,255,255,0.9);
  color: #000;
}

/* Optioneel: hover effect */
.flatpickr-day:hover .price-badge {
  background: rgba(255,255,255,1);
}





/* =============== GUEST SELECTOR =============== */
.guest-container {
    position: relative;
    width: 100%;
}

.guest-trigger {
    padding: 10px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-weight: bold; /* ✅ vetgedrukt */
}

.guest-popup {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    max-width: 320px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    padding: 15px;
    display: none;
    z-index: 1000;
}

.guest-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

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

.guest-controls button {
    width: 30px;
    height: 30px;
    background: #f2f2f2;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
}

.guest-count {
    min-width: 20px;
    text-align: center;
}

#child-ages select {
    display: block;
    margin-top: 6px;
    width: 100%;
}

.guest-info-text {
    font-size: 12px;
    color: #555;
    margin: 10px 0;
    line-height: 1.4;
}

.guest-pets {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.guest-pets .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

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

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

.guest-pets .switch input:checked + .slider {
    background: #2196F3;
}

.guest-pets .switch input:checked + .slider:before {
    transform: translateX(18px);
}

.guest-pets .pets-info {
    font-size: 12px;
    margin-top: 5px;
}

.guest-close-btn {
    display: block;
    margin-top: 15px;
    padding: 8px 16px;
    background: #0071c2;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* =============== BOOK NOW BUTTON =============== */
.qodef-cf7-btn-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border: 2px solid #000;
    background: #000; /* zwart */
    margin: 0;
        margin: -2px;
}

.qodef-cf7-btn-wrapper input[type="submit"] {
    border: none;
    background: transparent;
    color: #fff; /* wit */
    font-weight: bold;
    padding: 12px 30px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.qodef-cf7-btn-bgrnd-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0; top: 0;
}

.qodef-cf7-btn-bgrnd-idle {
    background: #000;
    width: 100%;
    height: 100%;
    transform: scaleX(1);
    transform-origin: 100% 50%;
    transition: transform 0.3s ease;
}

.qodef-cf7-btn-bgrnd-hover {
    background: #fff;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: 0% 50%;
    transition: transform 0.3s ease;
    position: absolute;
    top: 0; left: 0;
}

.qodef-cf7-btn-wrapper:hover .qodef-cf7-btn-bgrnd-idle {
    transform: scaleX(0);
}

.qodef-cf7-btn-wrapper:hover .qodef-cf7-btn-bgrnd-hover {
    transform: scaleX(1);
}

.qodef-cf7-btn-wrapper:hover input[type="submit"] {
    color: #000;
}

/* =============== RESPONSIVE =============== */
@media (max-width: 767px) {
    .qodef-hotel-room-inner {
        flex-direction: column;
    }

    .custom-slider-wrapper,
    .qodef-hotel-room-text {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .guest-popup {
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        top: 20%;
        max-width: 90%;
        z-index: 2000;
    }
}




/* ✅ Fix 1: Beperk de sliderbreedte nog sterker */
.custom-slider-wrapper {
  flex: 0 0 45%;
  max-width: 45%;
}

/* ✅ Fix 2: Tekstgedeelte neemt 55% */
.qodef-hotel-room-text {
  flex: 0 0 55%;
  max-width: 96%;
  display: flex;
  flex-direction: column;
}

/* ✅ Fix 3: Lijn de Availability, Guests en Book Now in 1 horizontale rij */
.qodef-room-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  align-items: flex-end;
  border-bottom: 3px solid #272727;
  
}

.qodef-room-column {
  flex: 1;
  margin: -2px;
}

/* ✅ Fix 4: Zorg dat de Book Now-knop in dezelfde rij past */
.qodef-room-column .qodef-cf7-btn-wrapper {
  margin: 0; /* Verwijder extra margin */
}

.qodef-room-column:last-child {
  flex: 0 0 auto; /* voorkom dat hij te groot wordt */
}

/* ✅ Fix 5: Responsieve stack voor mobiel */
@media (max-width: 767px) {
  .custom-slider-wrapper,
  .qodef-hotel-room-text {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .qodef-room-row {
    flex-direction: column;
    align-items: stretch;
  }

  .qodef-room-column {
    flex: 1 1 auto;
  }
}

.calendar-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px; /* ruimte tussen icoon en input */
}

.calendar-input-wrapper .calendar-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

.calendar-input-wrapper .calendar-icon svg {
  width: 30px;
  height: 30px;
}

.calendar-input-wrapper .calendar-picker {
  flex: 1;
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-weight: bold;
  color: #000;
  opacity: 1;   /* Firefox fix */
}

/* 1️⃣ Maakt de placeholder vet voor ALLE browsers */
.calendar-picker::placeholder {
  font-weight: bold;
  color: #555;  /* optioneel: donkerder grijs */
  opacity: 1;   /* Firefox fix */
}

/* 2️⃣ Maakt de ingevulde waarde vet */
.calendar-picker {
  font-weight: bold;
  color: #000;
}

/* === GUESTS ICON WRAPPER === */
.guest-container {
  position: relative;
  display: inline-block;
  width: 100%;
      padding: 0px 21px;
}

.icon-input-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

.occupancy-config-icon {
  width: 30px;
  height: 30px;
  margin-right: 12px; /* ruimte tussen icoon en input */
  color: #333;
}

.guest-trigger {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

/* === OPTIONAL: INPUT HOVER EFFECT === */
.guest-trigger:hover {
  border-color: #999;
}

/* === STYLE FOR POPUP (ONDER INPUT) === */
.guest-popup {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 300px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  z-index: 9999;
  padding: 15px;
  display: none;
}

/* === ICON SIZE IN LINE WITH CALENDAR === */
.calendar-icon,
.occupancy-config-icon {
  flex-shrink: 0;
  color: #333;
}
.badge i {
  color: #000; /* Zwart */
}

.badge {
  display: inline-block;
  background: #fff;  /* Witte achtergrond */
  color: #000;       /* Zwarte tekst */
  border: 1px solid #000; /* Optioneel: zwarte rand */
  padding: 4px 8px;
  margin: 2px;
  border-radius: 4px;
  font-size: 12px;
}