/* ===========================
   BOOKING PAGE STYLES
   =========================== */

/* House Rules */
.house-rules {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
  box-shadow: var(--shadow);
}
.house-rules h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--brand);
}
.house-rules ul {
  margin: 0;
  padding-left: 20px;
}
.house-rules li {
  margin-bottom: 6px;
}

/* Form Layout */
form {
  display: grid;
  gap: 16px;
}
.row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 700px) {
  .row.two {
    grid-template-columns: 1fr;
  }
}
label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  background: #f9fbfc;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(139,215,210,.28);
}
textarea {
  min-height: 120px;
  resize: vertical;
}

/* Consent Blocks */
.helper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: var(--muted);
}
.helper.right-check {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.consent-block,
.terms-block {
  margin-top: 10px;
}
.error-msg {
  color: var(--tangerine);
  font-size: .85rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: grid;
  place-items: center;
  z-index: 1000;
}
.modal-overlay[hidden] { display: none !important; }
.modal {
  background: var(--panel);
  color: var(--text);
  border-radius: 16px;
  width: min(720px, 92vw);
  max-height: 88vh;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  display: flex;
  flex-direction: column;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.modal-body {
  padding: 0 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal-scroll {
  padding: 12px 0;
  overflow: auto;
  max-height: 55vh;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.modal-actions {
  display: flex;
  gap: 10px;
  padding-top: 12px;
}
.modal-close {
  background: transparent;
  border: 0;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.btn.outline {
  background: transparent;
  border: 1px solid currentColor;
}

/* Terms link */
.terms-link {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  transition: color .2s ease;
}
.terms-link:hover {
  color: var(--accent-warm);
}

/* Mobile tweaks */
@media (max-width: 520px) {
  .modal { width: 95vw; }
}
/* Placeholder styling */
input::placeholder,
textarea::placeholder {
  color: #555; /* darker gray for better contrast */
  opacity: 1;  /* ensure full visibility */
}


/* Booking form layout */
#booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

#booking-form .full-width {
  grid-column: span 2;
}

/* Labels smaller but clear */
#booking-form label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
  display: block;
  color: var(--muted);
}

/* Inputs/textarea */
#booking-form input,
#booking-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.1);
  background: #fff;
  color: var(--text);
  font-size: 0.95rem;
}

/* Placeholder styling */
#booking-form input::placeholder,
#booking-form textarea::placeholder {
  color: #555;
  opacity: 1;
}

/* Textarea larger */
#booking-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Consent & terms take full width */
#booking-form .consent-block,
#booking-form .terms-block,
#booking-form button {
  grid-column: span 2;
}

/* Mobile: stack everything */
@media (max-width: 700px) {
  #booking-form {
    grid-template-columns: 1fr;
  }
}
.check-in-out{
  color:black;
  opacity:1;
}
/* Booking form grid */
#booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

#booking-form .full-width {
  grid-column: 1 / -1;
}

#booking-form input,
#booking-form textarea {
  font-size: 0.95rem;
  color: var(--text);
}

/* Mobile: single column */
@media (max-width: 700px) {
  #booking-form {
    grid-template-columns: 1fr;
  }
}
/* Card content spacing fix */
.card .content {
  padding: 2rem; /* more breathing room */
}

/* On smaller screens reduce padding slightly */
@media (max-width: 700px) {
  .card .content {
    padding: 1.2rem;
  }
}
