/* Modern CSS for Cornish Coastal Retreats - Dashboard */

/* ===== Global Styles ===== */
@font-face {
  font-family: 'BHITC';
  src: url('BradleyHandITC.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

:root {
  --primary-color: #3685B4;
  --primary-dark: #2c6a90;
  --primary-light: #e8f3f8;
  --secondary-color: #50A3D4;
  --accent-color: #2D22AD;
  --accent-light: #7c8df9;
  --success-color: #4CAF50;
  --warning-color: #FF9800;
  --danger-color: #F44336;
  --gray-light: #f8f9fa;
  --gray-medium: #e2e2e2;
  --gray-dark: #555;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --border-radius-sm: 5px;
  --border-radius-md: 8px;
  --border-radius-lg: 15px;
  --transition-speed: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Barlow', sans-serif;
}

body {
  color: #333;
  background-color: #f9f9f9;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  color: #333;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--primary-dark);
}

/* Nav / menu / footer styling is provided sitewide by main.css + navigation.php.
   Portal pages must not override those generic selectors here. */

/* ===== Buttons ===== */
.btn-btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-speed) ease;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5;
}

.btn-btn:hover {
  background-color: var(--primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-btn-right {
  float: right;
}

.btn-btn-center {
  display: block;
  margin: 1rem auto;
}

.logout-btnn {
  background-color: #ffd0d0;
  color: #d63031;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-speed) ease;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  border: none;
}

.logout-btnn:hover {
  background-color: #ffb8b8;
}

.fit-con {
  width: fit-content;
}


/* ===== Portal Layout ===== */
.portal-container {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.sidebar {
  width: 280px;
  flex-shrink: 0;
}

.sidebar-content {
  background-color: var(--primary-color);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.content {
  flex: 1;
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

/* Sidebar links */
.sc-link, .sc-link-bl {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 0.5rem;
  transition: all var(--transition-speed) ease;
}

.sc-link {
  color: white;
}

.sc-link-bl {
  color: #333;
}

.sc-link:hover, .sc-link-bl:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.sc-link svg, .sc-link-bl svg {
  margin-right: 0.75rem;
}

.switch-portal-a {
  display: block;
  padding: 0.75rem 1rem;
  background-color: white;
  color: #333;
  border-radius: var(--border-radius-sm);
  text-align: center;
  margin-bottom: 1rem;
  transition: all var(--transition-speed) ease;
  font-weight: 500;
}

.switch-portal-a:hover {
  background-color: var(--gray-medium);
  transform: translateY(-2px);
}

/* Content sections */
.fade {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: none;
}

.fade.show {
  opacity: 1;
  display: block;
}

.row {
  margin-bottom: 1.5rem;
}

.split {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===== Dashboard — Countdown ===== */
.countdown {
  background: linear-gradient(135deg, #1a508a 0%, #3685B4 100%);
  border-radius: var(--border-radius-lg);
  padding: 2rem 2rem 1.75rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(26, 80, 138, 0.25);
  color: #fff;
}

.countdown__meta {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.countdown__icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.countdown__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  margin-bottom: 4px;
}

.countdown__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.2;
}

.countdown__dates {
  font-size: 0.9rem;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.countdown__nights-pill {
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 0.78rem;
  font-weight: 600;
}

.countdown__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: 480px;
}

.countdown__el {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown__time {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  color: white;
  width: 100%;
  aspect-ratio: 1 / 1.1;
  border-radius: var(--border-radius-md);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
}

.countdown__time .count {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
}

.countdown__label {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.7);
}

/* ===== Dashboard — Booking Cards ===== */
.bookingsOverviewContainer {
  margin-top: 2rem;
}

.bk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

/* Card — uses data-href + JS for navigation (so Pay Now can be a real nested link) */
.bk-card {
  background: #fff;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #f0f0f0;
  cursor: pointer;
}
.bk-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Header banner */
.bk-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #fff;
}

.bk-header--current  { background: linear-gradient(135deg, #0ea97a, #1fc88b); }
.bk-header--upcoming { background: linear-gradient(135deg, #3685B4, #1a508a); }
.bk-header--previous { background: linear-gradient(135deg, #8a8a8a, #b0b0b0); }

.bk-nights-pill {
  background: rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Body */
.bk-card__body {
  padding: 1.25rem 1.25rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.bk-property-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.25;
}

/* Dates */
.bk-dates {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gray-light);
  border-radius: var(--border-radius-sm);
  padding: 0.75rem 1rem;
}
.bk-date-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.bk-date-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
}
.bk-date-val {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}
.bk-date-arrow {
  color: #bbb;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Footer row */
.bk-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.bk-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* Approval badge */
.bk-approval-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 3px 9px;
  border-radius: 20px;
}
.bk-approval--approved  { background: #e6f9f1; color: #0ea97a; }
.bk-approval--pending   { background: #fff4e0; color: #e08c00; }
.bk-approval--cancelled { background: #fdecea; color: #e53935; }

/* Balance badge */
.bk-balance-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
}
.bk-balance--paid        { background: #e6f9f1; color: #0ea97a; }
.bk-balance--outstanding { background: #fff4e0; color: #e08c00; }

/* View details arrow link */
.bk-view-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Property thumbnail on card */
.bk-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: #e9eef2;
}
.bk-card__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.22) 100%);
  pointer-events: none;
}
.bk-card__party-pill {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 5px 11px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  z-index: 1;
}

/* Outstanding balance callout banner — defaults to neutral, tiers override */
.bk-outstanding-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #f1f8fd;
  border-top: 2px solid #3685B4;
  padding: 0.85rem 1.25rem;
  flex-wrap: wrap;
}
.bk-outstanding-info {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}
.bk-outstanding-info > i {
  color: #3685B4;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 3px;
}
.bk-outstanding-amount {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f2a40;
  margin-bottom: 2px;
}
.bk-outstanding-due {
  font-size: 0.78rem;
  color: #3a5667;
  line-height: 1.45;
}

/* Tiers */
.bk-outstanding-banner.bk-banner--soon {
  background: #fff8ec;
  border-top-color: #f5a623;
}
.bk-outstanding-banner.bk-banner--soon .bk-outstanding-info > i,
.bk-outstanding-banner.bk-banner--soon .bk-outstanding-amount { color: #7a4f00; }
.bk-outstanding-banner.bk-banner--soon .bk-outstanding-due    { color: #a06800; font-weight: 600; }

.bk-outstanding-banner.bk-banner--overdue {
  background: #fdecec;
  border-top-color: #dc2626;
}
.bk-outstanding-banner.bk-banner--overdue .bk-outstanding-info > i,
.bk-outstanding-banner.bk-banner--overdue .bk-outstanding-amount { color: #7a1a1a; }
.bk-outstanding-banner.bk-banner--overdue .bk-outstanding-due    { color: #b91c1c; font-weight: 700; }

/* Subtle outstanding-card edge for the dashboard cards */
.bk-card--has-balance { outline: 1px solid rgba(245, 166, 35, 0.25); }

/* Past holidays collapsible */
.bk-past {
  margin-top: 1.75rem;
  border-top: 1px dashed #d8dde3;
  padding-top: 1.25rem;
}
.bk-past__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 0.6rem 0.25rem;
  list-style: none;
  user-select: none;
  outline: none;
}
.bk-past__summary::-webkit-details-marker { display: none; }
.bk-past__summary:hover .bk-past__title { color: #1a1a1a; }
.bk-past__summary:focus-visible {
  outline: 2px solid #3685B4;
  outline-offset: 2px;
  border-radius: 6px;
}
.bk-past__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.2px;
}
.bk-past__title i { color: #94a3b8; }
.bk-past__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef2f7;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 800;
}
.bk-past__hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.bk-past__chev { transition: transform 0.2s ease; }
.bk-past[open] .bk-past__chev { transform: rotate(180deg); }
.bk-past .bk-past__hint--open { display: none; }
.bk-past[open] .bk-past__hint--closed { display: none; }
.bk-past[open] .bk-past__hint--open { display: inline; }

/* Past grid: muted cards */
.bk-grid--past { margin-top: 1rem; }
.bk-card--past { opacity: 0.92; }
.bk-card--past:hover { opacity: 1; }
.bk-card--past .bk-card__thumb { filter: saturate(0.85); }

/* Pay Now button */
.bk-pay-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #27ae60, #1e8449);
  color: #fff !important;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(39,174,96,0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.bk-pay-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(39,174,96,0.5);
  color: #fff !important;
}

/* Empty state */
.no-bookings {
  text-align: center;
  padding: 3rem 2rem;
  background: #fff;
  border-radius: var(--border-radius-lg);
  border: 1px dashed #e0e0e0;
}
.no-bookings__icon {
  font-size: 2.5rem;
  color: #ccc;
  margin-bottom: 1rem;
}
.no-bookings h3 {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 0.5rem;
}
.no-bookings p {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

/* ===== Forms ===== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  transition: border-color var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(54, 133, 180, 0.2);
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.form-check-input {
  margin-right: 0.5rem;
}

/* Profile section */
.profile {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.profile .form-group {
  display: flex;
  align-items: center;
}

.profile .form-group label {
  width: 150px;
  margin-bottom: 0;
}

.profile .form-group input {
  flex: 1;
}

.edit-btn, .save-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  padding: 0.5rem 1rem;
  cursor: pointer;
  margin-left: 1rem;
  transition: background-color var(--transition-speed) ease;
}

.edit-btn:hover, .save-btn:hover {
  background-color: var(--primary-dark);
}

.save-btn:disabled,
.edit-btn:disabled {
  background-color: var(--gray-medium);
  cursor: not-allowed;
}

/* ===== Marketing Preferences ===== */
.promotionContainer {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
}

.mp-box {
  margin-bottom: 1.5rem;
}

/* ===== Feedback ===== */
.myFeedContainer form {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.feedback-sent {
  padding: 1.5rem;
  background-color: #e7f9e0;
  border: 1px solid var(--success-color);
  border-radius: var(--border-radius-md);
  display: none;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--success-color);
}

.feedback-failed {
  padding: 1.5rem;
  background-color: #ffeeee;
  border: 1px solid var(--danger-color);
  border-radius: var(--border-radius-md);
  display: none;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--danger-color);
}

/* ===== Contact Us ===== */
.contact-us-area {
  width: 100%;
  min-height: 150px;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  resize: vertical;
}

/* ===== Modals ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 2rem;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-content h2 {
  margin-bottom: 1.5rem;
}

.modal-content p {
  margin-bottom: 1.5rem;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .portal-container {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    margin-bottom: 1.5rem;
  }
  
  .sidebar-content {
    padding: 1rem;
  }
  
  .content {
    padding: 1.5rem;
  }
  
  .countdown__container {
    max-width: 100%;
  }
  .countdown__meta {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 768px) {
  .portal-container {
    padding: 1rem;
  }
  
  .profile .form-group {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .profile .form-group label {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .edit-btn, .save-btn {
    margin-left: 0;
    margin-top: 1rem;
  }
  
  .split {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .split h1 {
    margin-bottom: 1rem;
  }
  
  .logout-btnn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .content h1 {
    font-size: 1.5rem;
  }

  .countdown__title {
    font-size: 1.1rem;
  }

  .countdown__time .count {
    font-size: 1.5rem;
  }

  .bk-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Calendar Styles ===== */
.calendar-day {
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-day.selected {
  background-color: var(--success-color);
  color: white;
}

.calendar-day.in-range {
  background-color: var(--secondary-color);
  color: white;
}

.prevDay {
  color: var(--gray-dark);
  opacity: 0.6;
}

.currDay {
  font-weight: bold;
  text-decoration: underline;
}

.month-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 1rem;
}

.month-nav button {
  background-color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background-color var(--transition-speed) ease;
}

.month-nav button:hover {
  background-color: var(--gray-light);
}

/* ===== Booking Tables ===== */
.booking-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background-color: white;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.booking-table-th {
    background-color: var(--gray-light);
    color: #333;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.booking-table-tr:nth-child(even) {
    background-color: var(--gray-light);
}

.booking-table-tr:hover {
    background-color: var(--primary-light);
}

.booking-table-td {
    padding: 1rem;
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    .booking-table, 
    .booking-table-tr, 
    .booking-table-td {
        display: block;
        width: 100%;
    }

    .booking-table-th {
        display: none;
    }

    .booking-table-tr {
        margin-bottom: 1rem;
        border: 1px solid #ddd;
        border-radius: var(--border-radius-sm);
    }

    .booking-table-td {
        display: flex;
        justify-content: space-between;
        text-align: right;
        padding: 0.75rem;
        border-top: none;
    }

    .booking-table-td::before {
        content: attr(data-label);
        font-weight: 600;
        text-align: left;
    }
}

/* ===== Modal Styles ===== */
.boomodal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.boomodal-content {
    background-color: white;
    margin: 15% auto;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.booclose {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--gray-dark);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color var(--transition-speed) ease;
}

.booclose:hover {
    color: #000;
}

/* Footer styling is provided sitewide by main.css + footer.php. */