/* ===============================
   BOOKING PAGE LAYOUT
================================ */

.booking-layout {
  display: flex;
  flex-direction: column;
  gap: 10px;                 /* ✅ 10px between each row */
}

/* Make the two columns in the first row equal height (desktop) */
@media (min-width: 992px) {
  .booking-layout > .row {
    display: flex;
    align-items: stretch;
  }

  .booking-layout > .row > [class*="col-"] {
    display: flex;           /* allow child section to stretch */
  }

  .booking-layout > .row > [class*="col-"] > section {
    width: 100%;
    height: 100%;            /* ✅ equal height cards */
  }
}

/* Card styling for row 1 sections (Notes + Prices) */
.booking-layout > .row > [class*="col-"] > section {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* ===============================
   ROW 2: Calendar + Form layout
================================ */

.calendar-container {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

/* Columns */
.calendar-column,
.form-column {
  flex: 1 1 0;
  min-width: 0;
}

/* Optional: make calendar column look like a card too */
.calendar-column {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Mobile stacking */
@media (max-width: 991px) {
  .calendar-container {
    flex-direction: column;
  }
}

/* ===============================
   PRICING TABLE
================================ */

#pricesTable {
  margin-bottom: 0;
}

/* Ensure table doesn't add extra spacing */
.table {
  margin-bottom: 0;
}

/* ===============================
   BOOKING FORM STYLES
================================ */

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.form-row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 14px;
  color: #333;
  width: 140px;
}

.form-row input {
  flex: 1;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form input,
form select {
  margin-top: 5px;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#costBreakdown {
  background-color: #fff;
  padding: 10px;
  border-left: 4px solid #2d9391;
  font-size: 14px;
  line-height: 1.6;
}

form button {
  padding: 10px;
  font-size: 16px;
  background-color: #2d9391;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

form button:hover {
  background-color: #2baab1;
}

.terms {
  font-size: 13px;
}

/* Responsive form labels */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-label {
    width: auto;
    margin-bottom: 6px;
  }
}

/* ===============================
   TERMS AND CONDITIONS MODAL
================================ */

.modal {
  display: none;
  position: fixed;
  z-index: 2000; /* above header */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 700px;
  border-radius: 8px;
}

.close {
  color: #2d9391;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #2d9391;
  text-decoration: none;
  cursor: pointer;
}

/* ===============================
   DISCOUNT STYLE
================================ */

.discount {
  color: green;
  font-weight: bold;
  font-size: larger;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
