/* =====================================================
   CleanRide Pro — Booking Page Styles
   ===================================================== */

body { background: var(--color-bg); }

/* ── Layout ── */
.booking-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  min-height: 100vh;
}

/* ── Left Panel ── */
.booking-panel-left {
  background: linear-gradient(160deg, var(--color-dark) 0%, var(--color-primary) 100%);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 48px 40px;
}
.booking-panel-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 340px;
}
.bp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 2rem;
  color: var(--color-white);
}
.bp-logo .footer-logo-icon {
  background: rgba(255,255,255,0.15);
}
.booking-panel-left h2 {
  font-size: 1.8rem;
  color: var(--color-white);
  line-height: 1.2;
}
.booking-panel-left p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}
.bp-includes h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.bp-includes ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bp-includes li {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}
.bp-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bp-contact-item {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 8px;
}
.bp-contact-item a {
  color: var(--color-accent);
  text-decoration: underline;
}
.bp-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bp-badge {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.15);
}

/* ── Right Panel ── */
.booking-panel-right {
  padding: 48px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.booking-form-wrapper {
  width: 100%;
  max-width: 640px;
}

/* ── Progress ── */
.booking-progress {
  margin-bottom: 40px;
}
.progress-bar-track {
  height: 4px;
  background: var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 4px;
  transition: width 0.5s ease;
  width: 20%;
}
.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.progress-step {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-muted);
  background: var(--color-white);
  transition: var(--transition);
}
.progress-step.active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-white);
}
.progress-step.completed {
  border-color: var(--color-primary-light);
  background: var(--color-primary-light);
  color: var(--color-white);
}
.progress-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ── Steps ── */
.booking-step {
  display: none;
}
.booking-step.active { display: block; }
.booking-step h3 {
  font-size: 1.6rem;
  color: var(--color-dark);
  margin-bottom: 6px;
}
.step-desc {
  color: var(--color-text-muted);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

/* ── Package Selection Cards ── */
.package-cards { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pkg-card { cursor: pointer; }
.pkg-card input[type="radio"] { display: none; }
.pkg-card-inner {
  padding: 20px 24px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  transition: var(--transition);
  background: var(--color-white);
  position: relative;
}
.pkg-card input:checked + .pkg-card-inner {
  border-color: var(--color-primary);
  background: rgba(26, 107, 58, 0.03);
  box-shadow: 0 0 0 3px rgba(26, 107, 58, 0.1);
}
.pkg-card-inner:hover { border-color: var(--color-primary-light); }
.pkg-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.pkg-name { font-weight: 700; font-size: 0.95rem; color: var(--color-dark); }
.pkg-price { font-weight: 700; color: var(--color-primary); font-size: 0.9rem; }
.pkg-desc { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.5; }
.pkg-badge {
  position: absolute;
  top: -10px; right: 16px;
  background: var(--color-primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

/* ── Pill Radios ── */
.radio-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.pill-radio { cursor: pointer; }
.pill-radio input { display: none; }
.pill-radio span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 18px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: var(--transition);
  background: var(--color-white);
}
.pill-radio input:checked + span {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: white;
}
.pill-radio span:hover { border-color: var(--color-primary-light); color: var(--color-primary); }

/* ── Calendar ── */
.cal-wrapper {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
  max-width: 360px;
}
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-dark);
}
.cal-nav {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  width: 32px; height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}
.cal-nav:hover { border-color: var(--color-primary); color: var(--color-primary); }
.cal-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 4px;
}
.cal-day-name {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text-muted);
  padding: 4px;
  text-transform: uppercase;
}
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--color-text);
  background: none;
  border: none;
}
.cal-day:hover:not(.disabled):not(.empty) { background: rgba(45, 158, 88, 0.1); color: var(--color-primary); }
.cal-day.selected { background: var(--color-primary); color: white; }
.cal-day.today { border: 2px solid var(--color-primary-light); }
.cal-day.disabled, .cal-day.past { color: var(--color-border); cursor: not-allowed; pointer-events: none; }
.cal-day.empty { pointer-events: none; }

/* ── Time Slots ── */
.time-slots { display: flex; flex-wrap: wrap; gap: 10px; }
.time-slot {
  padding: 10px 20px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  background: var(--color-white);
  color: var(--color-text);
}
.time-slot:hover:not(.unavailable) { border-color: var(--color-primary); color: var(--color-primary); }
.time-slot.selected { background: var(--color-primary); border-color: var(--color-primary); color: white; }
.time-slot.unavailable { background: var(--color-bg); color: var(--color-border); cursor: not-allowed; text-decoration: line-through; }

/* ── Booking Summary ── */
.booking-summary {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  gap: 14px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  font-size: 0.9rem;
}
.summary-row .label { color: var(--color-text-muted); flex-shrink: 0; }
.summary-row .value { font-weight: 600; color: var(--color-dark); text-align: right; }
.summary-divider { border: none; border-top: 1px solid var(--color-border); margin: 4px 0; }

/* ── Step Nav ── */
.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

/* ── Success ── */
.booking-success {
  text-align: center;
  padding: 48px 24px;
}
.success-icon { font-size: 4rem; margin-bottom: 20px; }
.booking-success h2 { font-size: 2rem; color: var(--color-dark); margin-bottom: 12px; }
.booking-success p { color: var(--color-text-muted); font-size: 1rem; line-height: 1.7; max-width: 400px; margin: 0 auto; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .booking-layout { grid-template-columns: 1fr; }
  .booking-panel-left { position: relative; height: auto; padding: 40px 24px; }
  .booking-panel-inner { max-width: 100%; }
  .booking-panel-right { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .step-nav { flex-direction: column-reverse; gap: 12px; }
  .step-nav .btn { width: 100%; justify-content: center; }
}
