.bookings-page {
  background: #fffaf4;
}

.bookings-hero {
  background:
    radial-gradient(circle at 10% 10%, rgba(216, 154, 40, 0.14), transparent 26%),
    linear-gradient(90deg, #fff7ea 0%, #fff7ea 62%, #f4dec0 100%);
  padding: 64px 0;
  border-bottom: 1px solid #ead8c1;
}

.bookings-hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 54px;
  align-items: center;
}

.bookings-hero h1 {
  max-width: 760px;
  color: var(--blue);
  font-family: "Playfair Display", serif;
  font-size: clamp(44px, 4.5vw, 68px);
  line-height: 1;
  letter-spacing: -1px;
}

.bookings-hero h1 span {
  display: block;
  color: var(--maroon);
}

.bookings-hero p {
  max-width: 680px;
  margin-top: 24px;
  color: #46566d;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 600;
}

.hero-support-box {
  background: #ffffff;
  border: 1px solid #ead8c1;
  padding: 34px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.09);
}

.hero-support-box span {
  display: inline-flex;
  color: var(--maroon);
  background: #fff2e1;
  border: 1px solid #e6c28f;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 18px;
}

.hero-support-box h2 {
  color: var(--blue);
  font-size: 27px;
  line-height: 1.2;
  font-weight: 900;
  margin-bottom: 14px;
}

.hero-support-box p {
  margin-top: 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 600;
}

.hero-support-box a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  background: var(--maroon);
  color: #ffffff;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 900;
}

.hero-support-box a:hover {
  background: var(--maroon-dark);
}

/* APP BANNER */

.resident-app-banner {
  background: #ffffff;
  padding: 34px 0;
  border-bottom: 1px solid #efe0cc;
}

.app-banner-box {
  background:
    linear-gradient(90deg, rgba(7, 27, 49, 0.96), rgba(7, 27, 49, 0.9)),
    url("https://images.unsplash.com/photo-1551650975-87deedd944c3?auto=format&fit=crop&w=1400&q=85");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 34px;
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 24px;
  align-items: center;
}

.app-icon-box {
  width: 86px;
  height: 86px;
  background: #ffffff;
  border-radius: 22px;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.app-icon-box span {
  color: var(--maroon);
  font-size: 18px;
  font-weight: 900;
}

.section-label {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.7px;
  margin-bottom: 12px;
}

.app-banner-content h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
  margin-bottom: 12px;
}

.app-banner-content p:last-child {
  max-width: 760px;
  color: #dce6f4;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 600;
}

.app-banner-actions {
  display: grid;
  gap: 10px;
}

.download-app-btn,
.app-help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.download-app-btn {
  background: var(--gold);
  color: #ffffff;
}

.download-app-btn:hover {
  background: #c18418;
}

.app-help-btn {
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: #ffffff;
}

.app-help-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* BOOKINGS */

.bookings-section {
  padding: 62px 0;
}

.bookings-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.bookings-top h2 {
  color: var(--blue);
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 3vw, 46px);
  line-height: 1.08;
  margin-bottom: 10px;
}

.bookings-top p:last-child {
  color: #667085;
  font-size: 14px;
  font-weight: 700;
}

.new-booking-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--maroon);
  color: #ffffff;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.new-booking-btn:hover {
  background: var(--maroon-dark);
}

.loading-box,
.auth-notice,
.empty-state {
  background: #ffffff;
  border: 1px solid #ead8c1;
  padding: 36px;
  text-align: center;
  color: #667085;
  font-weight: 700;
}

.auth-notice h3,
.empty-state h3 {
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 8px;
}

.auth-notice p,
.empty-state p {
  color: #667085;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.auth-notice a,
.empty-state a {
  display: inline-flex;
  background: var(--maroon);
  color: white;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 900;
  font-size: 14px;
}

.bookings-list {
  display: grid;
  gap: 18px;
}

.booking-card {
  background: #ffffff;
  border: 1px solid #ead8c1;
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 22px;
  transition: 0.2s ease;
}

.booking-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.booking-main h3 {
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 8px;
}

.booking-location {
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 700;
  margin-bottom: 16px;
}

.booking-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.booking-tags span {
  background: #fff1f3;
  border: 1px solid #ecc7ce;
  color: var(--maroon);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.booking-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}

.booking-info-item {
  background: #fffaf4;
  border: 1px solid #f0e1cf;
  padding: 12px;
}

.booking-info-item span {
  display: block;
  color: #667085;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 5px;
}

.booking-info-item strong {
  display: block;
  color: #243044;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  word-break: break-word;
}

.booking-side {
  border-left: 1px solid #f0e1cf;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.booking-price-label {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 4px;
}

.booking-price {
  color: var(--maroon);
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 5px;
}

.booking-price small {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff6e9;
  border: 1px solid #ead8c1;
  color: #8a5a0c;
  font-size: 11px;
  font-weight: 900;
  margin: 12px 0 18px;
}

.status-pill.confirmed,
.status-pill.completed,
.status-pill.active,
.status-pill.agreement-accepted {
  background: #eafaf1;
  border-color: #b8e8ca;
  color: #147a3f;
}

.status-pill.pending,
.status-pill.payment-pending {
  background: #fff6e9;
  border-color: #ead8c1;
  color: #8a5a0c;
}

.status-pill.cancelled,
.status-pill.rejected {
  background: #fff1f3;
  border-color: #ecc7ce;
  color: var(--maroon);
}

.booking-actions {
  display: grid;
  gap: 10px;
}

.booking-actions a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.primary-action {
  background: var(--maroon);
  color: #ffffff;
}

.primary-action:hover {
  background: var(--maroon-dark);
}

.secondary-action {
  border: 1px solid var(--maroon);
  color: var(--maroon);
}

.secondary-action:hover {
  background: var(--maroon);
  color: #ffffff;
}

@media (max-width: 1050px) {
  .bookings-hero-inner,
  .app-banner-box {
    grid-template-columns: 1fr;
  }

  .hero-support-box {
    max-width: 620px;
  }

  .app-icon-box {
    width: 76px;
    height: 76px;
  }

  .app-banner-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .booking-card {
    grid-template-columns: 1fr;
  }

  .booking-side {
    border-left: none;
    border-top: 1px solid #f0e1cf;
    padding-left: 0;
    padding-top: 18px;
  }
}

@media (max-width: 700px) {
  .bookings-hero {
    padding: 42px 0;
  }

  .bookings-hero h1 {
    font-size: 40px;
  }

  .bookings-section {
    padding: 46px 0;
  }

  .bookings-top {
    flex-direction: column;
    align-items: stretch;
  }

  .new-booking-btn {
    width: 100%;
  }

  .app-banner-box,
  .booking-card,
  .loading-box,
  .auth-notice,
  .empty-state {
    padding: 24px;
  }

  .booking-info-grid {
    grid-template-columns: 1fr;
  }

  .app-banner-actions {
    display: grid;
  }
}