/* ===============================
   BOOKING FORM – CONTACT STYLE
================================ */

.form-column {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.form-row label {
  font-weight: 600;
  margin: 0;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="number"] {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

#costBreakdown {
  margin: 15px 0;
  font-size: 14px;
}

.terms-row label:first-child,
.submit-row label:first-child {
  display: none;
}

.terms {
  font-weight: normal;
}

#mailtoSubmit {
  padding: 12px 14px;
  background: #2d9391;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: bold;
}

#mailtoSubmit:hover {
  opacity: 0.9;
}

/* ===============================
        BOOKING FAQ BLOCK
================================ */

#bookingFaq .panel-title a {
  display: block;
  text-decoration: none;
}

#bookingFaq .panel-title a:hover {
  text-decoration: underline;
}

/* ===============================
        MOBILE FALLBACK
================================ */

@media (max-width: 767px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-row label {
    margin-bottom: 4px;
  }
}

/* ===============================
   ICON COLOR
================================ */

.fa-chevron-left,
.fa-chevron-right,
.fa-user,
.fa-phone,
.fa-envelope,
.fa-child,
.fa-info-circle
.fa-calendar {
  color: #2d9391;
}

/* ===============================
   RESPONSIVE WIDTHS FOR PRICES TABLE
================================ */

@media (max-width: 991px) {
  #prices,
  #prices section,
  .prices-table-wrap,
  .prices-table-wrap .table-responsive,
  .table-responsive {
    width: 100% !important;
    max-width: none !important;
    display: block !important;
  }

  #prices,
  #prices section,
  .prices-table-wrap {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #pricesTable,
  .prices-table-wrap table {
    width: 100% !important;
    max-width: none !important;
    table-layout: fixed;
  }

  #pricesTable th,
  #pricesTable td {
    white-space: normal;
  }
}

/* ===============================
      PRICES TABLE (MOBILE)
================================ */

@media (max-width: 767px) {
  #pricesTable th,
  #pricesTable td {
    padding: 6px 6px;
    font-size: 13px;
  }

  #pricesTable th {
    font-weight: 600;
  }
}

/* ===============================
      EXTENDED STAY OFFERS
================================ */

.discount,
.discount-days {
  font-weight: 700;
  color: #2d9391;
}

/* ===============================
        BOOKING FAQ BLOCK
================================ */


.booking-faq-wrap {
  margin-top: 12px;
  margin-bottom: 10px;
}

/* Main card */
.booking-faq-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 14px 14px 6px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}

/* Title + subtitle */
.booking-faq-title {
  margin: 0 0 6px 0;
  font-size: 22px;
  line-height: 1.2;
}

.booking-faq-sub {
  margin: 0 0 12px 0;
  color: rgba(0,0,0,0.65);
  font-size: 14px;
}

@media (max-width: 991px) {
  .booking-faq-title { font-size: 20px; }
}

/* FAQ Accordion */
.booking-faq-accordion {
  width: 100%;
}

.booking-faq-accordion .panel {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: none;
  margin: 0;
}

.booking-faq-accordion .panel + .panel {
  margin-top: 8px;
}

.booking-faq-accordion .panel-heading {
  width: 100%;
  padding: 0;
  background: #f7fbfb;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.booking-faq-accordion .panel-title {
  margin: 0;
}

.booking-faq-accordion .panel-title a {
  width: 100%;
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  color: #1d1d1d;
  font-weight: 600;
  font-size: 14px;

  box-sizing: border-box;
}

.booking-faq-accordion .panel-title a:hover,
.booking-faq-accordion .panel-title a:focus {
  color: #2d9391;
  text-decoration: none;
}

/* Dropdown chevron */
.booking-faq-accordion .panel-title a:after {
  content: "▾";
  float: right;
  transition: transform 0.2s ease;
}

.booking-faq-accordion .panel-title a.collapsed:after {
  transform: rotate(-90deg);
}

.booking-faq-accordion .panel-body {
  font-size: 14px;
  color: rgba(0,0,0,0.75);
  padding: 10px 12px;
}

/* ===============================
   BOOKING FACTS BOX
================================ */
.booking-facts {
  width: 100%;
  background: #fbfbfd;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.04);
}

.booking-facts h3 {
  margin: 0 0 10px 0;
  font-size: 16px;
  font-weight: 700;
}

.booking-facts ul {
  margin: 0;
  padding-left: 18px;
}

.booking-facts li {
  margin-bottom: 6px;
}

.booking-facts .btn {
  border-radius: 8px;
}

/* ===============================
            MOBILE
================================ */

@media (max-width: 767px) {

  .booking-faq-wrap .row {
    margin-left: 0;
    margin-right: 0;
  }

  .booking-faq-wrap [class*="col-"] {
    float: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .booking-faq-accordion,
  .booking-faq-accordion .panel,
  .booking-faq-accordion .panel-heading,
  .booking-faq-accordion .panel-title,
  .booking-faq-accordion .panel-title a {
    width: 100% !important;
  }

  .booking-facts {
    width: 100% !important;
    margin-top: 12px;
  }
}

/* ===============================
   BOOKING CONFIRMATION POPUP
   Restores centered modal overlay
================================ */

.booking-popup-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none; /* JS sets display:flex */
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.booking-popup{
  background: #ffffff;
  border-radius: 14px;
  width: min(520px, 100%);
  box-shadow: 0 18px 55px rgba(0,0,0,0.35);
  padding: 22px 22px 18px;
  text-align: center;
}

.booking-popup .popup-logo{
  display: block;
  max-width: 180px;
  width: 100%;
  height: auto;
  margin: 0 auto 12px;
}

.booking-popup h3{
  margin: 6px 0 10px;
}

.booking-popup p{
  margin: 0 0 14px;
  line-height: 1.35;
}

.booking-popup .popup-actions{
  display: flex;
  justify-content: center;
  gap: 10px;
}

.booking-popup button,
.booking-popup .btn{
  border-radius: 10px;
}

.booking-popup .popup-btn{
  display: inline-block;
  padding: 10px 18px;
  border: 0;
  background: #2d9391;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.booking-popup .popup-btn:hover{
  filter: brightness(0.95);
}
