/* ══════════════════════════════════════════════
   DEMO LIFESTYLE — My Bookings Page
   ══════════════════════════════════════════════ */

.bookings-page__header { padding-top: var(--space-2xl); margin-bottom: var(--space-xl); }
.bookings-page__header h1 { margin-bottom: 4px; }

.bookings-list {
  margin-top: var(--space-lg);
  display: flex; flex-direction: column; gap: 12px;
}

/* ── Booking Card ── */
.booking-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); border-radius: 14px;
  padding: 12px; cursor: pointer;
  border: 1px solid var(--grey-border);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.booking-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); transform: translateY(-1px); }

.booking-card__img {
  position: relative; flex-shrink: 0;
  width: 88px; height: 88px; border-radius: 10px; overflow: hidden;
}
.booking-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.booking-card__body { flex: 1; min-width: 0; padding: 2px 0; }
.booking-card__top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 8px;
  margin-bottom: 3px;
}
.booking-card__title {
  font-size: 15px; font-weight: 700; color: var(--charcoal);
  line-height: 1.3; flex: 1; min-width: 0;
}
.booking-card__status {
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; white-space: nowrap; flex-shrink: 0;
  padding: 3px 8px; border-radius: 6px; margin-top: 2px;
}
.booking-card__status--success { background: #dcfce7; color: #16a34a; }
.booking-card__status--info { background: #dbeafe; color: #2563eb; }
.booking-card__status--warning { background: #fef3c7; color: #d97706; }
.booking-card__status--danger { background: #fee2e2; color: #dc2626; }
.booking-card__status--neutral { background: var(--light); color: var(--grey); }
.booking-card__detail {
  font-size: 13px; color: var(--grey); margin-bottom: 4px;
}
.booking-card__meta {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--grey-light); margin-bottom: 6px;
}
.booking-card__meta .icon { width: 13px; height: 13px; flex-shrink: 0; }
.booking-card__code {
  font-family: 'Courier New', monospace; font-size: 11px;
  font-weight: 600; color: var(--grey-light); letter-spacing: 0.05em;
}

/* Booking Detail */
.booking-detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: var(--space-xl); margin-top: var(--space-lg); }
.booking-detail__main {}
.booking-detail__image { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: var(--space-lg); }
.booking-detail__image img { width: 100%; height: 300px; object-fit: cover; display: block; }
.booking-detail__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: var(--space-lg); }
.booking-detail__header h1 { }
.booking-detail__info {}
.booking-detail__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--grey-border);
  font-size: 14px;
}
.booking-detail__row:last-child { border-bottom: none; }
.booking-detail__sidebar {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 24px; text-align: center; align-self: start;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

/* ── Success Header Banner ── */
.booking-detail-success {
  display: flex; align-items: center; gap: 16px;
  background: var(--success-light); border: 1px solid #bbf7d0;
  border-radius: var(--radius-lg); padding: 20px 24px; margin-top: var(--space-lg);
}
.booking-detail-success__icon { flex-shrink: 0; }
.booking-detail-success__icon .icon { color: var(--success); }
.booking-detail-success__title {
  font-size: 18px; font-weight: 800; color: var(--charcoal); margin: 0;
}
.booking-detail-success__meta {
  font-size: 13px; color: var(--grey); margin-top: 4px;
}

/* ── Sidebar Confirmed Header ── */
.bd-confirmed-header {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 16px;
}
.bd-confirmed-header .icon { color: var(--success); width: 20px; height: 20px; }
.bd-confirmed-header span {
  font-size: 15px; font-weight: 700; color: var(--charcoal);
}

/* ── Code Card (elevated, no dashed border) ── */
.bd-code-card {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--light); border-radius: 12px;
  padding: 16px 20px;
}
.bd-code-card__value {
  font-family: 'Courier New', monospace;
  font-size: 22px; font-weight: 800; letter-spacing: 0.12em;
  color: var(--charcoal);
}
.bd-code-card__copy {
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--grey-border); background: var(--white);
  cursor: pointer; color: var(--grey); flex-shrink: 0;
  transition: all 0.2s ease;
}
.bd-code-card__copy:hover { border-color: var(--charcoal); color: var(--charcoal); }
.bd-code-card__copy .icon { width: 16px; height: 16px; }

.bd-code-label {
  font-size: 12px; color: var(--grey); margin: 8px 0 0; text-align: center;
}

/* ── Directions & Share — horizontal row ── */
.bd-quick-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin: 20px 0 12px;
}
.bd-quick-action {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 14px 8px; border-radius: 12px;
  border: 1px solid var(--grey-border); background: var(--white);
  cursor: pointer; transition: all 0.2s ease;
}
.bd-quick-action .icon { width: 18px; height: 18px; color: var(--charcoal); }
.bd-quick-action span { font-size: 12px; font-weight: 600; color: var(--charcoal); }
.bd-quick-action:hover { border-color: var(--charcoal); background: var(--light); }

/* ── Sidebar primary button ── */
.booking-detail__sidebar .btn { display: flex; }

/* ── Cancel — lightweight text link ── */
.bd-cancel-link {
  display: block; width: 100%; margin-top: 12px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  color: var(--grey); text-align: center;
  padding: 8px 0; transition: color 0.2s ease;
}
.bd-cancel-link:hover { color: var(--danger); }

/* ── Helpful Reminder ── */
.booking-detail-reminder {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--light); border-radius: var(--radius);
  padding: 14px 16px; margin-top: var(--space-lg);
  font-size: 12px; color: var(--grey); line-height: 1.6;
}
.booking-detail-reminder .icon { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* ── Remove charcoal background on bookings pages ── */
.page--no-dark { background: var(--light) !important; }

@media (max-width: 900px) {
  .booking-card__img { width: 76px; height: 76px; }
  .booking-card__title { font-size: 14px; }
  .booking-card__detail { font-size: 12px; }
  .booking-detail-layout { grid-template-columns: 1fr; }
  .booking-detail__sidebar { position: static; }
  .booking-detail-success { flex-direction: column; text-align: center; gap: 10px; }
}
