/* ==========================================================================
   FILMING SPACES — Booking Portal
   Clean, minimal, professional. Apple / Linear aesthetic.
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --black:       #0a0a0a;
  --white:       #ffffff;
  --gray-50:     #fafafa;
  --gray-100:    #f5f5f5;
  --gray-200:    #e5e5e5;
  --gray-400:    #a3a3a3;
  --gray-600:    #525252;
  --gray-800:    #262626;
  --accent:      #1a1a1a;

  /* Semantic */
  --text-primary:    var(--black);
  --text-secondary:  var(--gray-600);
  --text-tertiary:   var(--gray-400);
  --border:          var(--gray-200);
  --surface:         var(--white);
  --surface-subtle:  var(--gray-50);

  /* Status colors */
  --status-pending-bg:    #fef9c3;
  --status-pending-text:  #713f12;
  --status-approved-bg:   #dbeafe;
  --status-approved-text: #1e3a8a;
  --status-confirmed-bg:  #dcfce7;
  --status-confirmed-text:#14532d;
  --status-cancelled-bg:  #fee2e2;
  --status-cancelled-text:#7f1d1d;

  /* Payment status */
  --status-paid-bg:       #dcfce7;
  --status-paid-text:     #14532d;
  --status-unpaid-bg:     #fef9c3;
  --status-unpaid-text:   #713f12;

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --text-xs:   11px;
  --text-sm:   13px;
  --text-base: 15px;
  --text-md:   17px;
  --text-lg:   20px;
  --text-xl:   24px;
  --text-2xl:  32px;
  --text-3xl:  42px;
  --text-4xl:  56px;

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);

  /* Transitions */
  --transition: 150ms ease;
  --transition-md: 250ms ease;
}


/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

select {
  color-scheme: light;
  background: #ffffff;
  color: #0a0a0a;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Utility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}


/* --------------------------------------------------------------------------
   Layout — Container
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  padding-inline: var(--space-5);
}

@media (min-width: 640px) {
  .container {
    padding-inline: var(--space-8);
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: var(--space-12);
  }
}

.main {
  min-height: calc(100vh - 64px - 56px);
  padding-block: var(--space-4) var(--space-12);
}


/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
}

.nav__inner {
  display: flex;
  align-items: center;
  height: 100%;
  justify-content: space-between;
}

.nav__portal-link {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  text-decoration: none;
  opacity: 0.45;
  transition: opacity var(--transition);
}
.nav__portal-link:hover { opacity: 0.85; }

.nav__logo {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  transition: opacity var(--transition);
}

.nav__logo:hover {
  opacity: 0.6;
}


/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border);
  padding-block: var(--space-5);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__text {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}


/* --------------------------------------------------------------------------
   Typography Utilities
   -------------------------------------------------------------------------- */
.section-heading {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--black);
  margin-bottom: var(--space-5);
}


/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 10px var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color var(--transition),
    color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
  white-space: nowrap;
  text-decoration: none;
  border: 1.5px solid transparent;
  user-select: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn-primary:hover {
  background-color: var(--gray-800);
  border-color: var(--gray-800);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--black);
  border-color: var(--border);
}

.btn-secondary:hover {
  background-color: var(--gray-50);
  border-color: var(--gray-400);
}

.btn-lg {
  padding: 14px var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}


/* --------------------------------------------------------------------------
   Cards — Generic
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-md), transform var(--transition-md);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}


/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  padding-block: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-6);
}

.hero__eyebrow {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--space-4);
}

.hero__heading {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-4xl));
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: var(--space-4);
}

.hero__sub {
  font-size: var(--text-md);
  color: var(--text-secondary);
  font-weight: 300;
}


/* --------------------------------------------------------------------------
   Location Grid
   -------------------------------------------------------------------------- */
.locations-section {
  padding-top: 24px;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 560px) {
  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 780px) {
  .location-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* --------------------------------------------------------------------------
   Location Card
   -------------------------------------------------------------------------- */
.location-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-md), transform var(--transition-md);
}

.location-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.location-card__image-placeholder {
  width: 100%;
  height: 200px;
  background: var(--gray-100);
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
  position: relative;
  overflow: hidden;
}

.location-card__image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--gray-100) 0%,
    var(--gray-200) 100%
  );
}

.location-card__image-label {
  position: relative;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.location-card__body {
  padding: var(--space-4) var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.location-card__name {
  font-size: var(--text-md);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--black);
  line-height: 1.25;
}

.location-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: auto;
}

.location-card__detail {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.location-card__price {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--black);
  margin-left: auto;
  white-space: nowrap;
}

.location-card__per {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-tertiary);
}

.location-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* --------------------------------------------------------------------------
   Empty State
   -------------------------------------------------------------------------- */
.empty-state {
  padding: var(--space-16);
  text-align: center;
}

.empty-state__text {
  font-size: var(--text-md);
  color: var(--text-tertiary);
}


/* --------------------------------------------------------------------------
   Back Link
   -------------------------------------------------------------------------- */
.detail-nav {
  margin-bottom: var(--space-8);
}

.back-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  transition: color var(--transition);
}

.back-link:hover {
  color: var(--black);
}


/* --------------------------------------------------------------------------
   Location Detail
   -------------------------------------------------------------------------- */
.location-detail__header {
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}

.location-detail__name {
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: var(--space-1);
}

.location-detail__sqft {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.location-detail__media {
  margin-bottom: var(--space-5);
}

.location-detail__photo {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.location-detail__photo-placeholder {
  width: 100%;
  height: 360px;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-detail__photo-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.location-detail__body {
  max-width: 720px;
}

.location-detail__section {
  margin-bottom: var(--space-10);
}

.location-detail__description {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
}

.location-detail__cta {
  padding-top: var(--space-4);
}


/* --------------------------------------------------------------------------
   Pricing Table
   -------------------------------------------------------------------------- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-6);
}

.pricing-table__th {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  background: var(--gray-50);
  padding: var(--space-3) var(--space-5);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.pricing-table__th--right {
  text-align: right;
}

.pricing-table__row {
  border-bottom: 1px solid var(--border);
}

.pricing-table__row:last-child {
  border-bottom: none;
}

.pricing-table__row:hover {
  background: var(--gray-50);
}

.pricing-table__td {
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.pricing-table__td--right {
  text-align: right;
}

.pricing-table__td--price {
  font-weight: 600;
  font-size: var(--text-base);
}

.pricing-table__empty {
  color: var(--text-tertiary);
  font-style: italic;
}

.flat-rate-display {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding: var(--space-6) var(--space-8);
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.flat-rate-display__amount {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.03em;
}

.flat-rate-display__unit {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.pricing-note {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  padding: var(--space-4) var(--space-5);
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}


/* --------------------------------------------------------------------------
   Quote Builder — Layout
   -------------------------------------------------------------------------- */
.quote-builder {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "progress"
    "steps"
    "nav";
  gap: var(--space-8);
  max-width: 900px;
}

@media (min-width: 900px) {
  .quote-builder.has-sidebar {
    grid-template-columns: 1fr 300px;
    grid-template-areas:
      "progress progress"
      "steps    panel"
      "nav      .";
    align-items: start;
  }
}


/* --------------------------------------------------------------------------
   Quote Builder — Progress Bar
   -------------------------------------------------------------------------- */
.quote-progress {
  grid-area: progress;
}

.quote-progress__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.quote-progress__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.quote-progress__step-name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.quote-progress__track {
  width: 100%;
  height: 3px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.quote-progress__fill {
  height: 100%;
  background: var(--black);
  border-radius: var(--radius-full);
  transition: width 400ms ease;
}


/* --------------------------------------------------------------------------
   Quote Builder — Steps
   -------------------------------------------------------------------------- */
.quote-steps {
  grid-area: steps;
}

.step {
  display: none;
}

.step.active {
  display: block;
}

.step__header {
  margin-bottom: var(--space-5);
}

.step__title {
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: var(--space-1);
}

.step__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.step__subheading {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--black);
  margin-bottom: var(--space-4);
  margin-top: var(--space-8);
}

.step__error {
  font-size: var(--text-sm);
  color: #dc2626;
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
}


/* --------------------------------------------------------------------------
   Step 1 — Set Selection
   -------------------------------------------------------------------------- */
.set-primary-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: var(--gray-50);
  border: 1.5px solid var(--black);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}

.set-primary-card__badge {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.set-primary-card__name {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--black);
}

.set-primary-card__meta {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin-left: auto;
}

.set-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 480px) {
  .set-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.set-card {
  cursor: pointer;
  display: block;
}

.set-card__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition:
    border-color var(--transition),
    background-color var(--transition),
    box-shadow var(--transition);
}

.set-card:hover .set-card__inner {
  border-color: var(--gray-400);
  background: var(--gray-50);
}

.set-card.selected .set-card__inner {
  border-color: var(--black);
  background: var(--gray-50);
}

.set-card__check {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition:
    border-color var(--transition),
    background-color var(--transition),
    color var(--transition);
  flex-shrink: 0;
}

.set-card.selected .set-card__check {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.set-card__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.set-card__name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--black);
}

.set-card__meta {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}


/* --------------------------------------------------------------------------
   Step 2 — Crew Grid
   -------------------------------------------------------------------------- */
.crew-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

@media (min-width: 480px) {
  .crew-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.radio-card {
  cursor: pointer;
  display: block;
}

.radio-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-5) var(--space-4);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  transition:
    border-color var(--transition),
    background-color var(--transition),
    box-shadow var(--transition);
  min-height: 96px;
}

.radio-card:hover .radio-card__inner {
  border-color: var(--gray-400);
  background: var(--gray-50);
}

.radio-card.selected .radio-card__inner {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.radio-card__size {
  font-size: var(--text-lg);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.radio-card__label {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.radio-card.selected .radio-card__label {
  color: rgba(255,255,255,0.6);
}

.radio-card__price {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: var(--space-1);
}

.radio-card.selected .radio-card__price {
  color: rgba(255,255,255,0.85);
}

.radio-card__icon {
  font-size: 24px;
  line-height: 1;
}


/* --------------------------------------------------------------------------
   Step 3 — Production Grid
   -------------------------------------------------------------------------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

@media (min-width: 480px) {
  .prod-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.radio-card--prod .radio-card__inner {
  min-height: 88px;
}

.other-desc {
  margin-top: var(--space-5);
}


/* --------------------------------------------------------------------------
   Step 4 — Schedule Rows
   -------------------------------------------------------------------------- */
.schedule-rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.schedule-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--gray-50);
  position: relative;
}

@media (min-width: 640px) {
  .schedule-row {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: end;
  }
}

.schedule-row__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  grid-column: 1 / -1;
  margin-bottom: 0;
}

/* form-group inside a schedule-row has no label — kill the gap */
.schedule-row .form-group {
  gap: 0;
}

/* Small × button pinned top-right of every day card */
.schedule-row__clear {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-tertiary);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition:
    color var(--transition),
    background-color var(--transition);
  z-index: 1;
}
.schedule-row__clear:hover {
  color: #dc2626;
  background: #fef2f2;
}


/* --------------------------------------------------------------------------
   Step 5 — Add-Ons
   -------------------------------------------------------------------------- */
.addon-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.addon-option {
  cursor: pointer;
  display: block;
}

/* Hide native checkbox — .addon-option__check div is the visual replacement */
.addon-option__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.addon-option__body {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition:
    border-color var(--transition),
    background-color var(--transition);
}

.addon-option:hover .addon-option__body {
  border-color: var(--gray-400);
  background: var(--gray-50);
}

.addon-option.selected .addon-option__body {
  border-color: var(--black);
  background: var(--gray-50);
}

.addon-option__check {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  flex-shrink: 0;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.addon-option.selected .addon-option__check {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.addon-option__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.addon-option__name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--black);
}

.addon-option__desc {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  line-height: 1.5;
}

.addon-option__price {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
  margin-left: auto;
}

.addon-option__price--tbd {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-tertiary);
  background: var(--gray-100);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}


/* --------------------------------------------------------------------------
   Step 6 — Form
   -------------------------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
}

.form-label__required {
  color: #dc2626;
  margin-left: 2px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 10px var(--space-4);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--black);
  background: var(--white);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-tertiary);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(10,10,10,0.08);
}

.form-input.error,
.form-textarea.error,
.form-select.error {
  border-color: #dc2626;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23a3a3a3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
  cursor: pointer;
}

/* Check options (COI / newsletter) */
.form-checks {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.check-option {
  cursor: pointer;
  display: block;
}

.check-option__body {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), background-color var(--transition);
}

.check-option:hover .check-option__body {
  border-color: var(--gray-400);
  background: var(--gray-50);
}

.check-option.selected .check-option__body {
  border-color: var(--black);
  background: var(--gray-50);
}

.check-option__box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  flex-shrink: 0;
  margin-top: 1px;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.check-option.selected .check-option__box {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.check-option__label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}


/* --------------------------------------------------------------------------
   Price Estimate Panel
   -------------------------------------------------------------------------- */
.price-estimate-panel {
  grid-area: panel;
  background: transparent;
  border: none;
  padding: 0;
  position: sticky;
  top: calc(64px + var(--space-5));
}

/* Inline estimate — shown below active step in the main column */
.inline-estimate {
  margin-top: var(--space-5);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
}

/* ── Estimate Footer — fixed bottom bar, schedule step only ── */
.estimate-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  box-shadow: 0 -2px 20px rgba(0,0,0,0.22);
}

.estimate-footer__bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px var(--space-4);
  background: var(--black);
  color: var(--white);
}

/* Estimate toggle — fills the full bar width */
.estimate-footer__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: inherit;
  cursor: pointer;
  padding: 7px 12px;
  transition: background 0.15s;
}
.estimate-footer__toggle:hover { background: rgba(255,255,255,0.14); }

.estimate-footer__summary {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
}

.estimate-footer__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
}

.estimate-footer__amount {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.estimate-footer__chevron {
  flex-shrink: 0;
  opacity: 0.7;
  transition: transform 0.25s ease;
}
.estimate-footer--open .estimate-footer__chevron {
  transform: rotate(180deg);
}

/* Slide-up detail panel */
.estimate-footer__detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.estimate-footer--open .estimate-footer__detail {
  max-height: 420px;
}

.estimate-footer__inner {
  padding: var(--space-4) var(--space-5);
}

/* Push page content up so footer doesn't cover the nav buttons */
body.has-estimate-footer {
  padding-bottom: 60px;
}

.price-estimate-panel__heading {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--space-3);
}

.price-estimate-panel__rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.estimate-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-3);
  font-size: var(--text-sm);
}

.estimate-row__label {
  color: var(--text-secondary);
  flex: 1;
}

.estimate-row__value {
  font-weight: 500;
  color: var(--black);
  white-space: nowrap;
}

.estimate-row--placeholder {
  color: var(--text-tertiary);
  font-size: var(--text-sm);
  font-style: italic;
  justify-content: flex-start;
}

.price-estimate-panel__total {
  border-top: 1px solid var(--border);
  padding-top: var(--space-3);
  margin-bottom: var(--space-3);
}

.estimate-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.estimate-total-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--black);
}

.estimate-total-amount {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.02em;
}

.price-estimate-panel__note {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  line-height: 1.6;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}


/* --------------------------------------------------------------------------
   Quote Navigation Buttons
   -------------------------------------------------------------------------- */
.quote-nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.quote-nav .btn-primary {
  margin-left: auto;
}

.quote-cancel-row {
  text-align: center;
  margin-top: var(--space-4);
  padding-bottom: var(--space-2);
}

.quote-cancel-link {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  text-decoration: none;
}

.quote-cancel-link:hover {
  color: var(--text-secondary);
  text-decoration: underline;
}


/* --------------------------------------------------------------------------
   Status Badges
   -------------------------------------------------------------------------- */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-badge--pending {
  background: var(--status-pending-bg);
  color: var(--status-pending-text);
}

.status-badge--approved {
  background: var(--status-approved-bg);
  color: var(--status-approved-text);
}

.status-badge--confirmed {
  background: var(--status-confirmed-bg);
  color: var(--status-confirmed-text);
}

.status-badge--cancelled {
  background: var(--status-cancelled-bg);
  color: var(--status-cancelled-text);
}

.status-badge--payment-paid {
  background: var(--status-paid-bg);
  color: var(--status-paid-text);
}

.status-badge--payment-unpaid,
.status-badge--payment-awaiting {
  background: var(--status-unpaid-bg);
  color: var(--status-unpaid-text);
}


/* --------------------------------------------------------------------------
   Booking Detail
   -------------------------------------------------------------------------- */
.booking-detail__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border);
}

.booking-detail__ref {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.booking-detail__ref-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.booking-detail__ref-token {
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--black);
}

.booking-detail__badges {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.booking-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: start;
}

@media (min-width: 768px) {
  .booking-detail__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.booking-detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.booking-detail-card--pricing {
  background: var(--gray-50);
}

.booking-detail-card--notes,
.booking-detail-card--full {
  grid-column: 1 / -1;
}

.booking-detail-card__heading {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--space-5);
}

.booking-detail__dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3) var(--space-6);
  align-items: baseline;
}

.booking-detail__dt {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  white-space: nowrap;
}

.booking-detail__dd {
  font-size: var(--text-sm);
  color: var(--black);
}

.booking-detail__link {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.booking-detail__notes {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.booking-detail__empty {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  font-style: italic;
}

/* Schedule list */
.schedule-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.schedule-list__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-5);
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.schedule-list__date {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--black);
}

.schedule-list__times {
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

/* Location sub-heading inside grouped schedule views */
.schedule-location-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: var(--space-4) 0 var(--space-2);
}
.schedule-location-label:first-child {
  margin-top: 0;
}

/* Add-on summary list */
.addon-summary-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.addon-summary-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
}

.addon-summary-list__item:last-child {
  border-bottom: none;
}

.addon-summary-list__name {
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.addon-summary-list__price {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--black);
}

/* Pricing summary */
.pricing-summary {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.pricing-summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-sm);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
}

.pricing-summary__row:last-of-type {
  border-bottom: none;
}

.pricing-summary__row--total {
  padding-top: var(--space-2);
  border-top: 2px solid var(--black);
  border-bottom: none;
  margin-top: var(--space-2);
}

.pricing-summary__row--total .pricing-summary__label {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--black);
}

.pricing-summary__row--total .pricing-summary__value {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--black);
}

.pricing-summary__label {
  color: var(--text-secondary);
}

.pricing-summary__value {
  font-weight: 500;
  color: var(--black);
}

.pricing-summary__note {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  line-height: 1.6;
}


/* --------------------------------------------------------------------------
   Confirmation Page
   -------------------------------------------------------------------------- */
.confirmation-page {
  max-width: 520px;
  margin-inline: auto;
  text-align: center;
  padding-block: var(--space-16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.confirmation-icon {
  margin-bottom: var(--space-2);
}

.confirmation-icon__circle {
  width: 72px;
  height: 72px;
  color: var(--black);
}

.confirmation-icon__check {
  width: 100%;
  height: 100%;
}

.confirmation-heading {
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--black);
  line-height: 1.2;
}

.confirmation-body {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 440px;
}

.confirmation-ref {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-5) var(--space-8);
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
}

.confirmation-ref__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.confirmation-ref__token {
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--black);
}

.confirmation-cta {
  width: 100%;
}

.confirmation-save-note {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}


/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 639px) {
  .hero {
    padding-block: var(--space-3) var(--space-4);
  }

  .quote-builder {
    gap: var(--space-6);
  }

  .booking-detail__dl {
    grid-template-columns: 1fr;
    gap: var(--space-1);
  }

  .booking-detail__dt {
    margin-top: var(--space-3);
  }

  .booking-detail__dt:first-child {
    margin-top: 0;
  }
}

/* ─── Location card photo ─────────────────────────────────── */
.location-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gray-100);
}

.location-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.location-card:hover .location-card__img {
  transform: scale(1.04);
}

/* ─── Booking reference lookup ────────────────────────────── */
.lookup-section {
  margin-bottom: var(--space-10);
}

.lookup-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  max-width: 640px;
}

.lookup-card__heading {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-1);
}

.lookup-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0 0 var(--space-4);
}

.lookup-form__row {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.lookup-form__input {
  flex: 1;
  height: 44px;
  padding: 0 var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-family: var(--font-mono, 'Courier New', monospace);
  letter-spacing: 0.04em;
  background: var(--bg);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-sm);
}

.lookup-form__input:focus {
  border-color: var(--accent);
}

.lookup-form__input--error {
  border-color: var(--error, #e53e3e);
}

.lookup-form__btn {
  flex-shrink: 0;
  height: 44px;
  padding: 0 var(--space-5);
}

.lookup-form__error {
  margin: var(--space-2) 0 0;
  font-size: var(--text-sm);
  color: var(--error, #e53e3e);
}


/* ==========================================================================
   Next Steps Signpost
   ========================================================================== */

.next-steps {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-8);
  margin-bottom: var(--space-8);
}

.next-steps__heading {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
}

.next-steps__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.next-steps__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.next-steps__item--done .next-steps__label {
  text-decoration: line-through;
  color: var(--text-tertiary);
}

.next-steps__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  margin-top: 1px;
  line-height: 1;
}

.next-steps__item--done .next-steps__icon {
  background: var(--status-confirmed-bg);
  color: var(--status-confirmed-text);
}

.next-steps__label {
  line-height: 1.5;
}


/* ==========================================================================
   Buttons (booking detail)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s ease;
  text-decoration: none;
  border: none;
  line-height: 1;
}

.btn--primary {
  background: var(--black);
  color: var(--white);
}

.btn--primary:hover {
  opacity: 0.78;
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  background: var(--gray-100);
}

.booking-detail__card-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
  line-height: 1.6;
}


/* ==========================================================================
   Upload Portal
   ========================================================================== */

.upload-portal {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.upload-portal__section {
  border: 1px dashed var(--gray-400);
  border-radius: var(--radius-sm);
  padding: var(--space-5);
}

.upload-portal__section-title {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.upload-portal__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.upload-portal__input {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
  width: 100%;
  background: var(--surface);
}

.upload-portal__btn {
  align-self: flex-start;
}

.upload-portal__msg {
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  display: none;
  line-height: 1.5;
}

.upload-portal__msg--error {
  background: var(--status-cancelled-bg);
  color: var(--status-cancelled-text);
}

.upload-portal__msg--success {
  background: var(--status-confirmed-bg);
  color: var(--status-confirmed-text);
}

.upload-portal__docs {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.upload-portal__doc-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: var(--surface-subtle);
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
}

.upload-portal__doc-name {
  font-size: var(--text-xs);
  color: var(--text-primary);
  font-weight: 500;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-portal__doc-meta {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  white-space: nowrap;
}

.upload-portal__doc-status {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.upload-portal__doc-status--pending {
  background: var(--status-pending-bg);
  color: var(--status-pending-text);
}

.upload-portal__doc-status--reviewed {
  background: var(--status-confirmed-bg);
  color: var(--status-confirmed-text);
}


/* ==========================================================================
   Compact booking header (replaces detail-nav + booking-detail__header)
   ========================================================================== */

.booking-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-6);
}

.booking-header__center {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.booking-header__right {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* Small button variant */
.btn--sm {
  padding: 7px var(--space-4);
  font-size: var(--text-xs);
}

/* Danger (red outline) button */
.btn--danger {
  border-color: #dc2626;
  color: #dc2626;
  background: transparent;
}
.btn--danger:hover:not(:disabled) {
  background: #fee2e2;
}

/* Disabled state for action buttons */
.btn--danger:disabled,
.btn--outline:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}


/* ==========================================================================
   Edit booking modal
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
}
.modal-overlay[hidden] {
  display: none;
}

.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 1;
}

.modal__title {
  font-size: var(--text-lg);
  font-weight: 600;
}

.modal__close {
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.modal__close:hover {
  background: var(--gray-100);
}

.modal__section {
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--border);
}

.modal__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-2);
  color: var(--text-secondary);
}

.modal__select,
.modal__input {
  width: 100%;
  padding: 9px var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-family: inherit;
  background: var(--surface);
  color: var(--text-primary);
  transition: border-color var(--transition);
}
.modal__select:focus,
.modal__input:focus {
  outline: none;
  border-color: var(--black);
}

.modal__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-6);
  position: sticky;
  bottom: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.modal__msg--error {
  color: var(--status-cancelled-text);
  font-size: var(--text-sm);
  flex: 1;
}

/* Edit modal — day row */
.edit-day-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
}
.edit-day-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.modal__day-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  align-self: center;
}

.edit-day-date  { flex: 2; min-width: 120px; }
.edit-day-start { flex: 1; min-width: 90px; }
.edit-day-end   { flex: 1; min-width: 90px; }
.edit-day-loc   { flex: 1; min-width: 160px; }

.modal__day-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-tertiary);
  font-size: 18px;
  padding: 2px 4px;
  line-height: 1;
  margin-left: auto;
}
.modal__day-remove:hover { color: #dc2626; }

/* Edit modal — add-ons grid */
.edit-addons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2) var(--space-4);
}
.edit-addon-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  cursor: pointer;
}


/* ==========================================================================
   Page Bar (landing page compact header + inline lookup)
   ========================================================================== */
.page-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-6);
}

.page-bar__title {
  font-size: var(--text-xl);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.page-bar__lookup {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.page-bar__lookup-input {
  height: 36px;
  padding: 0 var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-family: inherit;
  color: var(--text-primary);
  background: var(--white);
  width: 240px;
  transition: border-color var(--transition);
}
.page-bar__lookup-input:focus {
  outline: none;
  border-color: var(--gray-400);
}
.page-bar__lookup-input--error {
  border-color: #dc2626;
}

.page-bar__lookup-btn {
  height: 36px;
  padding: 0 var(--space-4);
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity var(--transition);
}
.page-bar__lookup-btn:hover { opacity: 0.75; }

.page-bar__lookup-error {
  width: 100%;
  font-size: var(--text-xs);
  color: #dc2626;
  margin-top: 4px;
}

/* Entire location card is now a block link */
a.location-card {
  text-decoration: none;
  color: inherit;
}


/* ==========================================================================
   Location Detail — 2-column grid layout
   ========================================================================== */
.location-detail__grid {
  display: grid;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

@media (min-width: 768px) {
  .location-detail__grid {
    grid-template-columns: 1fr 300px;
    align-items: start;
  }
}

/* Override media margins inside grid */
.location-detail__grid .location-detail__media {
  margin-bottom: 0;
}

.location-detail__grid .location-detail__photo {
  max-height: 520px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.location-detail__desc-wrap {
  max-width: 680px;
  margin-top: var(--space-3);
  margin-bottom: var(--space-10);
}


/* ==========================================================================
   Quick Quote Widget
   ========================================================================== */
.quick-quote {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: sticky;
  top: 80px;
}

.quick-quote__header {}

.quick-quote__title {
  font-size: var(--text-md);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.quick-quote__sub {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

/* Inputs row */
.qq-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.qq-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.qq-field--wide {
  grid-column: 1 / -1;
}

.qq-field__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-tertiary);
}

/* Stepper: [−] [N] [+] */
.qq-stepper {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 34px;
}

.qq-stepper__btn {
  width: 32px;
  height: 34px;
  background: var(--gray-50);
  border: none;
  font-size: 18px;
  font-family: inherit;
  cursor: pointer;
  color: var(--text-primary);
  transition: background var(--transition);
  flex-shrink: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qq-stepper__btn:hover:not(:disabled) { background: var(--gray-100); }
.qq-stepper__btn:disabled { opacity: 0.3; cursor: default; }

.qq-stepper__val {
  flex: 1;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 34px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  user-select: none;
}

.qq-select {
  height: 34px;
  padding: 0 var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-family: inherit;
  background: var(--white);
  color: var(--text-primary);
  cursor: pointer;
  width: 100%;
}

/* Result panel */
.qq-result {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
}

.qq-result__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-2);
}

.qq-result__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.qq-result__value {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
}

.qq-result__breakdown {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.qq-result__breakdown span {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.qq-note {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  line-height: 1.6;
}

@media (max-width: 767px) {
  .quick-quote {
    position: static;
  }
}


/* ==========================================================================
   Shared availability day shading — booking flow + staff dashboard
   ========================================================================== */
/* Partial = amber tint */
.fc .fc-daygrid-day.cal-partial {
  background: rgba(245, 158, 11, 0.10) !important;
}
/* Full = soft red tint */
.fc .fc-daygrid-day.cal-full {
  background: rgba(239, 68, 68, 0.10) !important;
  cursor: default;
  pointer-events: none;
}
/* Today override — keep today highlight visible */
.fc .fc-daygrid-day.fc-day-today.cal-partial,
.fc .fc-daygrid-day.fc-day-today.cal-full { background-color: transparent !important; }
/* Strikethrough date number on fully booked days */
.avail-cal-sidebar .fc-daygrid-day.cal-full .fc-daygrid-day-number {
  color: rgba(150, 30, 30, 0.45);
  text-decoration: line-through;
  text-decoration-color: rgba(239, 68, 68, 0.45);
}

/* ── Availability calendar widget (quote builder step 3) ── */
.avail-cal-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-6);
  background: var(--surface);
}
.avail-cal-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
}
.avail-cal-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: var(--text-xs);
  color: var(--text-secondary);
}
/* Each swatch+label is an atomic unit — never wraps mid-pair */
.cal-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.avail-cal-swatch {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
  vertical-align: middle;
}
.cal-legend-label {
  font-size: 9px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 72px;
  vertical-align: middle;
}
.avail-cal-hint {
  font-size: 10px;
  color: var(--text-tertiary);
  text-align: center;
  margin: var(--space-1) 0 var(--space-2);
  letter-spacing: 0.01em;
}

/* ── Additional-set schedule wrapper — same gap as schedule-section ── */
#additionalSetSchedules {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* ── Additional-set schedule widget (quote builder step 3) ── */
.additional-set-schedule {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2) var(--space-3);
  margin-top: 0;
}
.additional-set-schedule__header {
  font-size: var(--text-xs);
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* ── Schedule step layout (step 3) ── */
.schedule-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.schedule-section-heading {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 0;
}

/* Avail calendar: title + legend on one row */
.avail-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}

/* ── Slots info banner (appears on day click) ── */
.avail-slots-panel {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-top: var(--space-3);
}
.avail-slots-date {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}
.avail-slots-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 4px 0 2px;
}
.avail-slots-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0;
}
.avail-slots-list li {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 2px var(--space-3);
}
.avail-slots-none {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  font-style: italic;
}
.avail-slots-open {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* Per-location color-bar rows — override list layout and reset old pill styles */
.avail-slots-list {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
}
/* Reset the old pill styling for the new row items */
.avail-slots-list li.avail-loc-row {
  background: none;
  border: none;
  border-radius: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  list-style: none;
}
.avail-slots-list li.avail-loc-row:last-child { border-bottom: none; }
.avail-loc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0; margin-top: 3px;
  display: inline-block;
}
.avail-loc-body  { display: flex; flex-direction: column; gap: 2px; }
.avail-loc-name  { font-size: 11px; font-weight: 600; color: var(--black); }
.avail-loc-slot  { font-size: 11px; color: var(--text-secondary); display: block; }
.avail-loc-open  { font-size: 11px; color: #15803d; display: block; }
.avail-loc-none  { font-size: 11px; color: #b91c1c; display: block; }

/* ── Availability calendar sidebar (inside price-estimate-panel) ── */
.avail-cal-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Override avail-cal-wrap when inside sidebar — no extra border/margin */
.avail-cal-sidebar .avail-cal-wrap {
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: var(--space-3);
  overflow: hidden;
  max-width: 100%;
}
.avail-cal-sidebar #availCalendar {
  max-width: 100%;
  overflow: hidden;
}

/* Compact FullCalendar for the 300px sidebar */
.avail-cal-sidebar .fc {
  font-size: 11px;
}
.avail-cal-sidebar .fc .fc-toolbar-title {
  font-size: 12px;
  font-weight: 600;
}
.avail-cal-sidebar .fc .fc-button {
  padding: 2px 6px;
  font-size: 11px;
}
.avail-cal-sidebar .fc .fc-daygrid-day-number {
  font-size: 11px;
  padding: 2px 3px;
}
.avail-cal-sidebar .fc .fc-col-header-cell-cushion {
  font-size: 10px;
  padding: 3px 2px;
}
/* Pointer cursor + hover highlight on available/partial days */
.avail-cal-sidebar .fc-daygrid-day { cursor: pointer; }
.avail-cal-sidebar .fc-daygrid-day:not(.cal-full):hover .fc-daygrid-day-frame {
  background: rgba(99, 102, 241, 0.05);
  transition: background 0.12s ease;
}
/* Selected day highlight (added via JS on click) */
.avail-cal-sidebar .fc-daygrid-day.cal-selected .fc-daygrid-day-frame {
  background: rgba(99, 102, 241, 0.10) !important;
  outline: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 2px;
}
/* Booking time strip events — color comes per-event from JS */
.avail-cal-sidebar .fc-daygrid-event {
  font-size: 9px !important;
  padding: 1px 2px !important;
  line-height: 1.1 !important;
  min-height: 0 !important;
  border: none !important;
  border-radius: 2px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.avail-cal-sidebar .fc-event-dot { display: none !important; }
/* Prevent day cells from growing too tall with many events */
.avail-cal-sidebar .fc-daygrid-day-frame { min-height: 0 !important; }
.avail-cal-sidebar .fc .fc-daygrid-day-events { margin-bottom: 0 !important; }

/* Shared pill styles — used in both dashboard and quote builder calendars */
.fc-event { font-size: 10px !important; font-weight: 400 !important; border: none !important; border-radius: 3px !important; }
.fc .fc-daygrid-event { padding: 0 !important; background: transparent !important; box-shadow: none !important; }
.fc .fc-daygrid-event .fc-event-main { padding: 0; }
.cal-pill { display:flex; align-items:center; gap:2px; padding:0 3px; border-radius:2px; overflow:hidden; min-width:0; width:100%; line-height:1.6; }
.cal-pill-time  { font-size:8px; color:#fff; flex-shrink:0; opacity:0.95; letter-spacing:-0.01em; }
.cal-pill-title { font-size:8px; color:#fff; flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
/* Slots panel inside sidebar — stack vertically instead of horizontal flex */
.avail-cal-sidebar .avail-slots-panel {
  flex-direction: column;
  gap: var(--space-2);
  margin-top: 0;
}
.avail-cal-sidebar .avail-slots-list {
  flex-direction: column;
  gap: var(--space-1);
}
.avail-cal-sidebar .avail-slots-list li {
  border-radius: var(--radius-sm);
}

/* ── Scout section — compact pill toggle ── */
.scout-section {
  border-top: 1px solid var(--border);
  padding-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.scout-section__heading {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.scout-section__title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}
.scout-section__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.scout-toggle {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.scout-toggle__opt {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  user-select: none;
}
.scout-toggle__opt:hover {
  border-color: var(--gray-400);
  color: var(--text-primary);
}
.scout-toggle__opt.selected {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

/* ── Scout Calendar (Step 5) ──────────────────────────────────────────────── */
.scout-cal-wrap { margin-bottom: var(--space-4); }
.scout-cal-title {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.scout-cal-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  line-height: 1.5;
}

#scoutCalendar .fc { font-size: 13px; }
#scoutCalendar .fc .fc-col-header-cell { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-secondary); }
#scoutCalendar .fc .fc-daygrid-day-number { font-size: 12px; padding: 4px 6px; }
#scoutCalendar .scout-available {
  background: var(--white) !important;
  cursor: pointer;
  transition: background 0.15s;
}
#scoutCalendar .scout-available:hover {
  background: var(--gray-100) !important;
}
#scoutCalendar .scout-unavailable {
  background: var(--gray-50) !important;
  color: var(--gray-300) !important;
  cursor: not-allowed;
}
#scoutCalendar .scout-cal-selected {
  background: var(--gray-100) !important;
  box-shadow: inset 0 0 0 2px var(--black);
}

.scout-detail { margin-top: var(--space-5); }
.scout-toggle-wrap { margin-bottom: 0; }

/* Calendar legend */
.scout-legend {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}
.scout-legend__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  color: var(--text-secondary);
}
.scout-legend__swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid var(--border);
}
.scout-legend__swatch--avail   { background: var(--white); border-color: var(--gray-300); }
.scout-legend__swatch--unavail { background: var(--gray-50); border-color: var(--gray-200); }

/* Time picker card */
.scout-pick-card {
  margin-top: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.scout-pick-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.scout-pick-card__icon { font-size: 18px; }
.scout-pick-card__info { display: flex; flex-direction: column; }
.scout-pick-card__date {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}
.scout-pick-card__hint {
  font-size: var(--text-xs);
  color: var(--text-secondary);
}
.scout-pick-card__body {
  padding: var(--space-3) var(--space-4);
}
.scout-pick-card__body select {
  width: 100%;
  max-width: 280px;
  padding: 9px var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--white);
  cursor: pointer;
  transition: border-color var(--transition);
}
.scout-pick-card__body select:focus {
  outline: none;
  border-color: var(--black);
}
.scout-pick-card__empty {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  padding: var(--space-1) 0;
}

/* Confirmed selection card */
.scout-confirmed {
  margin-top: var(--space-4);
  padding: var(--space-4);
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.scout-confirmed__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.scout-confirmed__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.scout-confirmed__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}
.scout-confirmed__value {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}
.scout-confirmed__note {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin-top: 2px;
}


/* ==========================================================================
   Polish pass — March 2026
   ========================================================================== */

/* ── Nav ref lookup ──────────────────────────────────────────────────────── */
.nav__lookup {
  display: flex; align-items: center; gap: 6px;
  margin: 0 auto 0 28px;
}
.nav__lookup-input {
  height: 32px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: var(--radius-full);
  font-size: 12px; font-family: var(--font); background: var(--gray-50);
  color: var(--black); width: 220px; transition: border-color 0.15s;
}
.nav__lookup-input:focus { outline: none; border-color: var(--gray-400); background: #fff; }
.nav__lookup-input--error { border-color: #dc2626; }
.nav__lookup-btn {
  height: 32px; padding: 0 14px;
  background: var(--black); color: #fff;
  border: none; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 500; font-family: var(--font);
  cursor: pointer; transition: opacity 0.15s; white-space: nowrap;
}
.nav__lookup-btn:hover { opacity: 0.75; }
.nav__lookup-error {
  font-size: 11px; color: #dc2626;
  position: absolute; top: 100%; left: 0; white-space: nowrap;
}

/* ── Landing hero ────────────────────────────────────────────────────────── */
.landing-hero {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}
.landing-hero__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300; letter-spacing: -0.03em;
  color: var(--black); margin-bottom: 8px;
}
.landing-hero__sub {
  font-size: 14px; color: var(--text-secondary);
  max-width: 480px; line-height: 1.6;
}

/* ── Quote builder step breadcrumb ──────────────────────────────────────── */
.quote-step-crumbs {
  display: flex; align-items: center; gap: 4px;
  margin-top: 10px; flex-wrap: wrap;
}
.step-crumb {
  font-size: 11px; font-weight: 400;
  color: var(--gray-200); transition: color 0.15s;
  cursor: default; background: none; border: none; padding: 0; font-family: var(--font);
}
/* Done steps — visited, clickable to go back */
.step-crumb.done  { color: var(--gray-400); cursor: pointer; }
.step-crumb.done:hover { color: var(--black); }
/* Active step */
.step-crumb.active { color: var(--black); font-weight: 600; cursor: default; }
.step-crumb-sep {
  font-size: 10px; color: var(--gray-200);
}

/* ── Booking list — left status accent (box-shadow works on tr; border-left doesn't) */
.portal-table__row--pending   { box-shadow: inset 3px 0 0 #ca8a04; }
.portal-table__row--approved  { box-shadow: inset 3px 0 0 #3b82f6; }
.portal-table__row--confirmed { box-shadow: inset 3px 0 0 #16a34a; }
.portal-table__row--cancelled { box-shadow: inset 3px 0 0 #d1d5db; opacity: 0.6; }

/* ── Settings section divider ────────────────────────────────────────────── */
.settings-section-divider {
  display: flex; align-items: center; gap: 16px;
  margin: 32px 0 24px; color: var(--gray-400);
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.settings-section-divider::before,
.settings-section-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ── Availability slot buttons (clickable in slots panel) ─────────────────── */
.avail-slot-btn {
  display: inline-block;
  font-size: 11px; font-family: var(--font);
  color: var(--black);
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  margin: 2px 2px 0 0;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  white-space: nowrap;
}
.avail-slot-btn:hover {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}
.avail-slot-btn--added {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
  cursor: default;
  opacity: 0.75;
}

/* ══════════════════════════════════════════════════════════════════════════
   Booking Detail — redesigned step layout
   ══════════════════════════════════════════════════════════════════════════ */

/* Step navigation bubbles */
.bd-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin: var(--space-6) 0 var(--space-8);
  padding: 0 var(--space-1);
}

.bd-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 var(--space-2);
  flex-shrink: 0;
}

.bd-step__bubble {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  border: 2px solid var(--gray-200);
  color: var(--text-secondary);
  font-size: var(--text-xs);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.bd-step:hover .bd-step__bubble {
  background: var(--gray-200);
  border-color: var(--gray-400);
  color: var(--black);
}

.bd-step--done .bd-step__bubble {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.bd-step__label {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.bd-step--done .bd-step__label {
  color: var(--black);
}

.bd-step__info { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.bd-step__status {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 20px;
  white-space: nowrap;
}
.bd-step__status--pending  { background: #fef3c7; color: #92400e; }
.bd-step__status--done     { background: #d1fae5; color: #065f46; }
.bd-step__status--cancelled{ background: #fee2e2; color: #991b1b; }

.bd-step__line {
  flex: 1;
  height: 2px;
  background: var(--gray-200);
  margin-bottom: 16px;
  min-width: 20px;
}

/* Sections */
.bd-section {
  margin-bottom: var(--space-10);
  scroll-margin-top: 80px;
}

.bd-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--black);
}

.bd-section__title {
  font-size: var(--text-lg);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0;
}

.bd-section__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bd-section__edit-link {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: var(--text-xs);
  font-weight: 500;
  font-family: var(--font);
  padding: 4px 12px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.bd-section__edit-link:hover {
  border-color: var(--black);
  color: var(--black);
}
.bd-section__edit-link--locked {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Cards within sections */
.bd-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-4);
}

.bd-card:last-child {
  margin-bottom: 0;
}

.bd-card__heading {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
}

/* Sticky estimate bar */
.bd-estimate-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--space-5);
  z-index: 200;
  box-shadow: 0 -2px 20px rgba(0,0,0,0.22);
}

.bd-estimate-bar__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
}

.bd-estimate-bar__amount {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

body:has(.bd-estimate-bar) {
  padding-bottom: 60px;
}
