/* Booking form on top of the template's .popup-search-box: scrolls on short screens and is shown on phones too. */
.booking-modal.show { display: flex; padding: 90px 16px 30px; overflow-y: auto; overscroll-behavior: contain; }
.booking-modal form { position: relative; top: auto; left: auto; display: block; margin: auto; padding-bottom: 0; max-width: 760px; transform: scale(0); }
.booking-modal.show form { transform: scale(1); }

.booking-title { color: var(--white-color); text-align: center; margin: 0 0 10px; }
.booking-intro { color: rgba(255, 255, 255, 0.8); text-align: center; margin: 0 0 28px; }
.booking-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.booking-wide { grid-column: 1 / -1; }
.booking-error { display: block; color: #ff9c8f; font-size: 13px; line-height: 1.4; padding: 6px 0 0 28px; }
.booking-error:empty { display: none; }
.booking-modal form .is-invalid { border-color: #ff9c8f; }

.booking-modal form input:not([type=checkbox]),
.booking-modal form select,
.booking-modal form textarea {
  display: block; width: 100%; height: 58px; padding: 0 28px; font-size: 16px; color: var(--white-color);
  background-color: transparent; border: 2px solid #fcf2ee; border-radius: 50px; outline: 0; color-scheme: dark;
}
.booking-modal form textarea { height: auto; min-height: 110px; padding: 16px 28px; border-radius: 30px; resize: vertical; }
.booking-modal form select option, .booking-modal form select optgroup { color: var(--title-color); background-color: var(--white-color); }
.booking-modal form textarea::placeholder { color: #fff; }
.booking-modal form input:focus, .booking-modal form select:focus, .booking-modal form textarea:focus { box-shadow: 0 0 0 3px rgba(252, 242, 238, 0.35); }

.booking-consent { margin: 20px 0; }
.booking-consent label { color: rgba(255, 255, 255, 0.85); font-size: 14px; line-height: 1.5; margin: 0; }
.booking-consent input[type=checkbox] ~ label:before { top: 0; background-color: transparent; border: 2px solid #fcf2ee; border-radius: 50%; line-height: 16px; }
.booking-consent .booking-error { padding-left: 30px; }
.booking-consent input.is-invalid ~ label:before { border-color: #ff9c8f; }
/* The template hides checkboxes with display:none, which would stop the browser reporting an unticked required box. */
.booking-consent { position: relative; }
.booking-consent input[type=checkbox] { display: block; visibility: visible; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; opacity: 0; }

.booking-modal form button.booking-submit {
  position: static; display: block; width: 100%; height: 58px; font-size: 16px; font-weight: 700; color: var(--title-color);
  background-color: #fcf2ee; border: 2px solid #fcf2ee; border-radius: 50px; transform: none;
}
.booking-modal form button.booking-submit:hover { color: var(--title-color); background-color: #9ebaba; border-color: #9ebaba; transform: none; }
.booking-modal form button.booking-submit:disabled { opacity: 0.6; cursor: wait; }

.swal2-container { z-index: 100000; }

@media (max-width: 1199px) {
  .header-book.vs-btn { padding: 12px 18px; font-size: 13px; line-height: 1.2; }
}
@media (max-width: 767px) {
  .booking-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .booking-title { font-size: 30px; }
  .booking-intro { margin-bottom: 20px; }
  .booking-modal button.searchClose { top: 16px; right: 16px; width: 48px; height: 48px; line-height: 48px; font-size: 22px; }
  .booking-modal.show { padding-top: 76px; }
}
@media (max-width: 575px) {
  .header-logo img { height: 64px; max-width: none; }
  .header-book.vs-btn { padding: 10px 14px; }
}
