/* ── Bay Area Experiences — Custom Styles ─────────────────────────────────── */

/* Hero Banner */
.hero-banner {
  position: relative;
  z-index: 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

/* Index page: navbar is fixed so it overlays the hero */
.page-index .navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1020;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-banner > .container {
  position: relative;
  z-index: 1;
}

/* Experience Cards */
.experience-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.experience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15) !important;
}

.experience-card-img {
  width: 245px;
  height: 200px;
  object-fit: cover;
  object-position: center;
}

/* Brand Colors */
:root {
  --bae-gold: #ffc107;
  --bae-dark: #212529;
}

/* Navbar */
.navbar-brand img {
  max-height: 40px;
  width: auto;
}


/* Admin drag handle */
#experienceList tr {
  cursor: grab;
}
#experienceList tr:active {
  cursor: grabbing;
}
#experienceList tr.sortable-ghost {
  opacity: 0.4;
  background: #fff3cd;
}

/* Booking flow step badges */
.booking-step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Timeslot selector buttons */
#timeslotList .btn {
  min-width: 120px;
}

/* Footer */
footer {
  margin-top: auto;
}

/* Accessibility: focus outlines */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--bae-gold);
  outline-offset: 2px;
}

/* Mobile responsive tweaks */
@media (max-width: 576px) {
  .hero-banner {
    min-height: 60vh;
  }
  .hero-banner h1 {
    font-size: 2rem;
  }
  .display-3 {
    font-size: 2.2rem;
  }
}

/* ── Preference Engine — Persona Cards & Interest Tags ─────────────────────── */

.bae-persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.bae-persona-card {
  background: #ffffff;
  border: 1.5px solid #D0D8E0;
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  user-select: none;
}
.bae-persona-card:hover {
  border-color: #A8B4C0;
  transform: translateY(-1px);
}
.bae-persona-card.selected {
  border-color: #C9952A;
  background: #FDF6EC;
}
.bae-persona-card.selected .bae-persona-check { display: flex; }
.bae-persona-icon  { font-size: 32px; margin-bottom: 8px; }
.bae-persona-name  { font-size: 13px; font-weight: 500; color: #1C1C1E; }
.bae-persona-desc  { font-size: 11px; color: #5A6A7A; margin-top: 4px; line-height: 1.4; }
.bae-persona-check {
  display: none;
  position: absolute; top: 8px; right: 8px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #C9952A; color: #fff;
  font-size: 11px; align-items: center; justify-content: center;
}
.bae-tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.bae-tag-chip {
  background: #ffffff;
  border: 1px solid #D0D8E0;
  border-radius: 9999px;
  padding: 5px 14px;
  font-size: 12px;
  color: #5A6A7A;
  cursor: pointer;
  transition: all 0.12s;
  font-family: 'Inter', sans-serif;
}
.bae-tag-chip:hover { border-color: #A8B4C0; color: #1C1C1E; }
.bae-tag-chip.selected {
  background: #EFF4F9;
  border-color: #1A3557;
  color: #1A3557;
  font-weight: 500;
}

/* ── Discount Pricing (BAE-PRD-DISCOUNT-v1.1) ──────────────────────────────── */

/* Experience Card */
.bae-discount-badge {
  display: inline-block;
  background: #C9952A;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.bae-original-price {
  font-size: 14px;
  color: #9AABBF;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  line-height: 1;
  margin-bottom: 2px;
}

.bae-discounted-price {
  font-size: 22px;
  font-weight: 600;
  color: #1558A7;
  line-height: 1.1;
}

.bae-price-sub {
  font-size: 12px;
  color: #5A6A7A;
  margin-top: 4px;
}

/* Experience Detail Page */
.bae-detail-badge {
  display: inline-block;
  background: #C9952A;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.bae-detail-orig-price {
  font-size: 20px;
  color: #9AABBF;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.bae-detail-disc-price {
  font-size: 36px;
  font-weight: 600;
  color: #1558A7;
  line-height: 1;
}

.bae-detail-savings {
  font-size: 13px;
  color: #1558A7;
  font-weight: 500;
  margin-top: 4px;
}

/* Checkout summary */
.bae-checkout-discount-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}

.bae-checkout-discount-label,
.bae-checkout-discount-amount {
  font-size: 13px;
  color: #1558A7;
  font-weight: 500;
}

/* Booking confirmation savings */
.bae-savings-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #2D7A4F;
  font-weight: 500;
  margin-top: 4px;
}

/* Admin / account discount indicator */
.bae-discount-indicator {
  font-size: 11px;
  color: #1558A7;
  font-weight: 500;
  display: block;
  margin-top: 2px;
}

/* ── Weather Widget (homepage) ──────────────────────────────────────────── */
.bae-weather-widget {
  padding: 1rem 0 1.25rem;
  background: #fff;
}
.bae-weather-label {
  font-size: 12px;
  color: #6c757d;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.bae-city-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.bae-city-pill {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 9999px;
  border: 0.5px solid #dee2e6;
  background: #f8f9fa;
  color: #6c757d;
  cursor: pointer;
  transition: all .12s;
  line-height: 1.5;
}
.bae-city-pill:hover {
  border-color: #ced4da;
  color: #1C1C1E;
}
.bae-city-pill.active {
  background: #1A3557;
  border-color: #1A3557;
  color: #fff;
  font-weight: 500;
}
.bae-weather-card {
  background: #fff;
  border: 0.5px solid #e9ecef;
  border-radius: 12px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  min-height: 110px;
}
.bae-weather-now {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  min-width: 120px;
  gap: 2px;
  flex-shrink: 0;
}
.bae-current-emoji {
  font-size: 28px;
  line-height: 1;
}
.bae-current-temp {
  font-size: 22px;
  font-weight: 500;
  color: #1C1C1E;
  margin-top: 4px;
}
.bae-current-cond {
  font-size: 11px;
  color: #6c757d;
  text-align: center;
}
.bae-weather-vdivider {
  width: 0.5px;
  background: #e9ecef;
  flex-shrink: 0;
}
.bae-forecast-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  flex: 1;
  min-width: 0;
}
.bae-forecast-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
  gap: 2px;
  border-right: 0.5px solid #e9ecef;
  font-size: 11px;
  text-align: center;
}
.bae-forecast-day:last-child {
  border-right: none;
}
.bae-forecast-day.bae-today {
  background: #f8f9fa;
}
.bae-day-label {
  font-weight: 500;
  color: #6c757d;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.bae-forecast-day.bae-today .bae-day-label {
  color: #C9952A;
}
.bae-day-date {
  color: #adb5bd;
  font-size: 10px;
}
.bae-day-emoji {
  font-size: 18px;
  margin: 3px 0;
}
.bae-day-high {
  font-size: 14px;
  font-weight: 500;
  color: #1C1C1E;
}
.bae-day-low {
  font-size: 11px;
  color: #6c757d;
}
.bae-rain-pct {
  font-size: 10px;
  color: #1558A7;
  margin-top: 2px;
}
.bae-skeleton {
  background: #f8f9fa;
  animation: bae-shimmer 1.4s infinite;
}
@keyframes bae-shimmer {
  0%, 100% { opacity: .6; }
  50%       { opacity: 1;  }
}
.bae-weather-attribution {
  font-size: 10px;
  color: #adb5bd;
  text-align: right;
  margin-top: 6px;
}
.bae-weather-attribution a {
  color: #adb5bd;
  text-decoration: none;
}
.bae-weather-attribution a:hover {
  color: #6c757d;
}

/* ── Weather — Booking Confirmation ────────────────────────────────────── */
.bae-confirm-weather {
  background: #F2F5F8;
  border-radius: 12px;
  padding: 16px;
  text-align: left;
}
.bae-confirm-weather-header {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #5A6A7A;
  margin-bottom: 12px;
}
.bae-confirm-forecast-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 12px;
}
.bae-confirm-forecast-day {
  flex: 0 0 72px;
  background: #fff;
  border-radius: 10px;
  padding: 8px 6px;
  text-align: center;
  border: 1px solid #E5EAF0;
}
.bae-confirm-tour-day {
  background: #FDF6EC;
  border-color: #C9952A;
}
.bae-confirm-day-label {
  font-size: 10px;
  font-weight: 600;
  color: #1A3557;
  margin-bottom: 2px;
}
.bae-confirm-tour-day .bae-confirm-day-label {
  color: #C9952A;
}
.bae-confirm-day-date  { font-size: 9px; color: #888; margin-bottom: 4px; }
.bae-confirm-day-emoji { font-size: 1.3rem; margin-bottom: 4px; }
.bae-confirm-day-high  { font-size: 13px; font-weight: 700; color: #1C1C1E; }
.bae-confirm-day-low   { font-size: 11px; color: #888; }
.bae-confirm-rain      { font-size: 9px; color: #1558A7; margin-top: 2px; }
.bae-confirm-weather-tip {
  background: #fff;
  border-left: 3px solid #C9952A;
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
  font-size: 13px;
  color: #1C1C1E;
  margin-bottom: 8px;
}
.bae-confirm-weather-attr {
  font-size: 11px;
  color: #aaa;
  text-align: right;
}
.bae-confirm-weather-attr a { color: #aaa; }

/* ── Weather — Staff Briefing Chip ─────────────────────────────────────── */
.brief-weather-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #EFF4F9;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.brief-weather-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brief-weather-emoji  { font-size: 2rem; line-height: 1; }
.brief-weather-cond   { font-size: 14px; font-weight: 600; color: #1A3557; }
.brief-weather-city   { font-size: 11px; color: #888; margin-top: 2px; }
.brief-weather-right  { text-align: right; }
.brief-weather-temps  { font-size: 18px; font-weight: 700; color: #1A3557; }
.brief-weather-rain   { font-size: 12px; color: #1558A7; margin-top: 2px; }

/* ── Weather Widget — Index Page ───────────────────────────────────────── */
#weatherWidget {
  background: #1A3557;
  padding: 20px 0;
}
.w-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}
.w-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #C9952A;
  margin-bottom: 10px;
}
.w-label svg { flex-shrink: 0; }

/* City pills */
.w-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.w-pill {
  background: rgba(255,255,255,.12);
  color: #d0dce8;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.w-pill:hover {
  background: rgba(255,255,255,.22);
  color: #fff;
}
.w-pill.active {
  background: #C9952A;
  color: #fff;
  border-color: #C9952A;
}

/* Main card */
.w-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 16px 20px;
}

/* Current conditions (left) */
.w-now {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
  flex-shrink: 0;
}
.w-emoji { font-size: 2.4rem; line-height: 1; }
.w-temp  { font-size: 1.6rem; font-weight: 700; color: #fff; margin-top: 4px; }
.w-cond  { font-size: 12px; color: #a8bfd4; text-align: center; margin-top: 2px; }

/* Vertical divider */
.w-vdiv {
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,.18);
  margin: 0 20px;
  flex-shrink: 0;
}

/* Forecast strip (right) */
.w-strip {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  flex: 1;
  min-width: 0;
  gap: 6px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.w-strip::-webkit-scrollbar { display: none; }

.w-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 52px;
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 8px 6px;
  gap: 3px;
}
.w-day.today {
  background: rgba(201,149,42,.25);
  border: 1px solid rgba(201,149,42,.4);
}
.w-dname  { font-size: 10px; font-weight: 600; color: #a8bfd4; text-transform: uppercase; letter-spacing: .05em; }
.w-ddate  { font-size: 10px; color: #7a96b0; }
.w-demoji { font-size: 1.4rem; line-height: 1; margin: 2px 0; }
.w-dhigh  { font-size: 13px; font-weight: 700; color: #fff; }
.w-dlow   { font-size: 11px; color: #7a96b0; }
.w-drain  { font-size: 10px; color: #7ab8e8; margin-top: 2px; }

/* Skeleton loading state */
.w-skeleton {
  min-height: 90px;
  background: linear-gradient(90deg, rgba(255,255,255,.06) 25%, rgba(255,255,255,.12) 50%, rgba(255,255,255,.06) 75%);
  background-size: 200% 100%;
  animation: w-shimmer 1.4s infinite;
}
@keyframes w-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (max-width: 575px) {
  .w-card { flex-direction: column; gap: 14px; }
  .w-vdiv { width: 100%; height: 1px; margin: 0; align-self: auto; }
  .w-now  { flex-direction: row; gap: 14px; min-width: unset; width: 100%; justify-content: center; }
}

/* ── Provider Incentives — Apply page ───────────────────────────────────────── */

.bae-tier-feature-earned {
  color: #2D7A4F;
  font-weight: 500;
}

.bae-provider-incentives {
  background: #F2F5F8;
  border-radius: 12px;
  padding: 36px 28px;
}

.bae-incentive-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
}

/* Rate pathway */
.bae-rate-pathway {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.bae-pathway-step {
  text-align: center;
  flex: 1;
}

.bae-pathway-rate {
  font-size: 1.4rem;
  font-weight: 700;
  color: #6c757d;
}

.bae-pathway-label {
  font-size: .72rem;
  color: #6c757d;
  line-height: 1.3;
}

.bae-pathway-active .bae-pathway-rate  { color: #C9952A; }
.bae-pathway-active .bae-pathway-label { color: #C9952A; }

.bae-pathway-locked .bae-pathway-rate  { color: #2D7A4F; }
.bae-pathway-locked .bae-pathway-label { color: #2D7A4F; }

.bae-pathway-arrow {
  color: #adb5bd;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Referral steps */
.bae-referral-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bae-ref-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
}

.bae-ref-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1A3557;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.bae-ref-num-reward {
  background: #2D7A4F;
}

/* Best-case banner */
.bae-best-case-banner {
  background: #1A3557;
  color: #fff;
  border-radius: 10px;
  padding: 18px 24px;
}

.bae-best-case-figure {
  color: #F5C97A;
  font-weight: 700;
  font-size: 1.1rem;
}
