/* ─── Public booking portal ─────────────────────────────────────────────── */

.booking-header {
  background: var(--brand);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 4px rgba(0,0,0,.15);
}
.booking-header .garage-logo {
  height: 40px;
  width: auto;
}
.booking-header h1 {
  font-size: 1.2rem;
  color: #fff;
  font-weight: 600;
}

/* Progress steps */
.booking-steps {
  background: #fff;
  border-bottom: 1px solid var(--neutral-200);
  padding: 0 24px;
}
.steps-inner {
  display: flex;
  max-width: 640px;
  margin: 0 auto;
}
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
  font-size: .8rem;
  color: var(--neutral-400);
  position: relative;
  gap: 6px;
}
.step::after {
  content: '';
  position: absolute;
  top: 26px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--neutral-200);
  z-index: 0;
}
.step:last-child::after { display: none; }

.step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--neutral-200);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 600;
  background: #fff;
  position: relative;
  z-index: 1;
  color: var(--neutral-400);
}
.step.active .step-num  { border-color: var(--brand); color: var(--brand); }
.step.done .step-num    { background: var(--brand); border-color: var(--brand); color: #fff; }
.step.active            { color: var(--brand); font-weight: 600; }

/* Main content area */
.booking-main {
  max-width: 680px;
  margin: 32px auto;
  padding: 0 16px 64px;
}

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.service-card {
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  cursor: pointer;
  text-align: center;
  transition: border-color .15s, box-shadow .15s, transform .1s;
  background: #fff;
}
.service-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.service-card.selected {
  border-color: var(--brand);
  background: var(--brand-light);
}
.service-card .icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.service-card .name { font-weight: 600; font-size: .95rem; color: var(--neutral-900); }
.service-card .price { font-size: .8rem; color: var(--neutral-400); margin-top: 4px; }

/* Date/time picker */
.picker-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
@media (max-width: 540px) {
  .picker-layout { grid-template-columns: 1fr; }
}

/* Calendar */
.calendar { background: #fff; border: 1px solid var(--neutral-200); border-radius: var(--radius-lg); overflow: hidden; }
.calendar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: var(--neutral-50);
  border-bottom: 1px solid var(--neutral-200);
  font-weight: 600;
}
.calendar-header button {
  background: none; border: none; cursor: pointer;
  padding: 4px 8px; border-radius: var(--radius);
  color: var(--neutral-600); font-size: 1rem;
}
.calendar-header button:hover { background: var(--neutral-200); }

.calendar-grid { padding: 12px; }
.day-names {
  display: grid; grid-template-columns: repeat(7, 1fr);
  text-align: center; font-size: .7rem; color: var(--neutral-400);
  font-weight: 600; text-transform: uppercase; margin-bottom: 6px;
}
.dates-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; border-radius: var(--radius);
  cursor: pointer;
}
.cal-day:hover:not(.disabled):not(.empty) { background: var(--brand-light); color: var(--brand); }
.cal-day.today  { font-weight: 700; color: var(--brand); }
.cal-day.selected { background: var(--brand); color: #fff; }
.cal-day.disabled { color: var(--neutral-200); cursor: not-allowed; }
.cal-day.empty  { cursor: default; }
.cal-day.fully-booked { color: var(--neutral-300); text-decoration: line-through; cursor: not-allowed; }

/* Time slots */
.time-slots-panel {
  background: #fff; border: 1px solid var(--neutral-200); border-radius: var(--radius-lg);
  overflow: hidden;
}
.time-slots-panel h3 { padding: 14px 16px; border-bottom: 1px solid var(--neutral-200); background: var(--neutral-50); }
.slots-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; padding: 16px;
}
.slot-btn {
  padding: 10px 4px; border: 1px solid var(--neutral-200);
  border-radius: var(--radius); background: #fff;
  font-size: .85rem; cursor: pointer; text-align: center;
  transition: all .15s;
}
.slot-btn:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); background: var(--brand-light); }
.slot-btn.selected { background: var(--brand); color: #fff; border-color: var(--brand); }
.slot-btn:disabled { background: var(--neutral-100); color: var(--neutral-400); cursor: not-allowed; }

/* Customer details form */
.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.booking-form .full-width { grid-column: 1 / -1; }
@media (max-width: 500px) { .booking-form { grid-template-columns: 1fr; } }

/* Booking summary (step 3 preview bar) */
.booking-summary {
  background: var(--brand-light);
  border: 1px solid #bfcfef;
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: .875rem;
  margin-bottom: 24px;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.booking-summary span { color: var(--neutral-600); }
.booking-summary strong { color: var(--neutral-900); }

/* Navigation buttons */
.booking-nav {
  display: flex; justify-content: space-between;
  margin-top: 32px; padding-top: 20px;
  border-top: 1px solid var(--neutral-200);
}

/* Confirmation screen */
.confirmation-card {
  text-align: center; padding: 48px 32px;
}
.confirmation-card .check-icon {
  width: 64px; height: 64px;
  background: var(--success); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: #fff; font-size: 2rem;
}
