/* ── DESIGN SYSTEM & TOKENS ── */
:root {
  /* Color Palette (HSL-based for consistency) */
  --bg-primary:    hsl(35, 18%, 95%);
  --bg-card:       hsl(0, 0%, 100%);
  --bg-offset:     hsl(35, 15%, 98%);
  
  --ink-primary:   hsl(24, 25%, 8%);
  --ink-secondary: hsl(24, 12%, 35%);
  --ink-muted:     hsl(24, 8%, 60%);
  
  --border-light:  hsl(35, 12%, 88%);
  --border-focus:  hsl(24, 25%, 8%);
  
  --green:         hsl(150, 65%, 28%);
  --green-bg:      hsl(150, 60%, 96%);
  --green-border:  hsl(150, 50%, 91%);
  
  --blue-brand:    hsl(215, 80%, 50%);
  
  /* Radii & Shadows */
  --radius-lg:     20px;
  --radius-md:     14px;
  --radius-sm:     8px;
  
  --shadow-sm:     0 2px 8px rgba(13, 12, 10, 0.04);
  --shadow-md:     0 8px 24px rgba(13, 12, 10, 0.08);
  --shadow-lg:     0 16px 48px rgba(13, 12, 10, 0.12);
  
  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── BASE STYLES ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-primary);
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink-primary);
}

body {
  min-height: 100vh;
  padding: 0;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* ── LAYOUT STRUCTURE ── */

/* App Header (Top Brand Bar - Sticky) */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: hsla(35, 18%, 95%, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.04em;
  color: var(--ink-primary);
}

.header-logo span {
  color: var(--ink-muted);
  font-weight: 400;
}

/* Header step indicators */
.steps-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
}

.steps-track {
  display: flex;
  gap: 6px;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-light);
  transition: all var(--transition-normal);
}

.step-dot.active {
  background: var(--ink-primary);
  width: 24px;
  border-radius: 4px;
}

.step-dot.done {
  background: var(--green);
}

.steps-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-secondary);
}

/* Main Container (Split-Pane Grid) */
.app-container {
  max-width: 1120px;
  margin: 24px auto 60px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  align-items: start;
}

/* Left Sidebar (Sticky details pane) */
.sidebar-panel {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Right Wizard Container */
.booking-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── SIDEBAR STYLES ── */

/* Shop Details Card */
.shop-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.shop-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.shop-avatar {
  font-size: 26px;
  width: 52px;
  height: 52px;
  background: var(--bg-offset);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-name {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.shop-meta {
  font-size: 13px;
  color: var(--ink-secondary);
  margin-bottom: 6px;
}

.shop-badges {
  display: flex;
  gap: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
}

.badge-open {
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid var(--green-border);
}

.badge-open::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 4px;
}

.badge-rating {
  background: hsl(45, 100%, 96%);
  color: hsl(45, 80%, 40%);
  border: 1px solid hsl(45, 100%, 90%);
}

.rating-count {
  color: var(--ink-muted);
  font-weight: 400;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.benefit-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.benefit-icon {
  font-size: 20px;
}

.benefit-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-primary);
}

.benefit-desc {
  font-size: 11px;
  color: var(--ink-muted);
}

/* Live Receipt */
.live-receipt-container {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.receipt-title {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.receipt-bill {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.receipt-label {
  color: var(--ink-secondary);
}

.receipt-val {
  font-weight: 600;
  color: var(--ink-primary);
  text-align: right;
}

.receipt-divider {
  height: 1px;
  background: var(--border-light);
  margin: 4px 0;
}

.receipt-total {
  font-size: 15px;
}

.receipt-total-label {
  font-weight: 700;
  color: var(--ink-primary);
}

.receipt-total-val {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink-primary);
}

.receipt-footer {
  font-size: 11px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin-top: 14px;
}

/* Interactive Map Panel */
.map-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.map-title {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-secondary);
  margin-bottom: 12px;
}

.simulated-map {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.map-svg {
  display: block;
  width: 100%;
  height: auto;
}

.map-pulse {
  transform-origin: center;
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.map-address-card {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.map-address-icon {
  font-size: 16px;
}

.map-address-text {
  display: flex;
  flex-direction: column;
}

.map-address-text strong {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-primary);
}

.map-address-text span {
  font-size: 9px;
  color: var(--ink-secondary);
}

/* ── STEP CARD WIZARD ── */

/* Step progress bar */
.step-progress-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 6px;
  box-shadow: var(--shadow-sm);
}

.step-progress-bar {
  height: 6px;
  background: var(--bg-offset);
  border-radius: 100px;
  overflow: hidden;
}

.step-progress-fill {
  height: 100%;
  background: var(--ink-primary);
  border-radius: 100px;
  transition: width var(--transition-normal);
}

/* Individual Wizard Screens */
.screen-step {
  display: none;
  animation: stepEntrance 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.screen-step.active {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@keyframes stepEntrance {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.card-intro {
  margin-bottom: 24px;
}

.card-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: inline-block;
  margin-bottom: 6px;
}

.card-headline {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  margin-bottom: 6px;
}

.card-sub {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-secondary);
}

/* ── STEP 1: SERVICE OPTIONS ── */
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-offset);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  outline: none;
  transition: all var(--transition-fast);
  user-select: none;
}

.service-option:hover,
.service-option:focus-visible {
  border-color: var(--ink-primary);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.service-option.selected {
  border-color: var(--ink-primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(13, 12, 10, 0.05);
}

.service-emoji {
  font-size: 26px;
  flex-shrink: 0;
}

.service-info {
  flex: 1;
}

.service-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 2px;
}

.service-desc {
  font-size: 12px;
  color: var(--ink-muted);
}

.service-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  color: transparent;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.service-option.selected .service-check {
  background: var(--ink-primary);
  border-color: var(--ink-primary);
  color: var(--bg-card);
}

/* ── STEP 2: CALENDAR & PRIORITY ── */

/* Calendar Header */
.calendar-header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.calendar-month-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.calendar-nav-btn {
  background: none;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--ink-primary);
  transition: all var(--transition-fast);
}

.calendar-nav-btn:hover {
  background: var(--bg-offset);
  border-color: var(--ink-primary);
}

.calendar-nav-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  border-color: var(--border-light);
  background: none;
}

/* Calendar Days */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 8px;
}

.calendar-day-header {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 4px 0;
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-day-btn {
  background: none;
  border: 1px solid transparent;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-primary);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.calendar-day-btn:hover:not(:disabled) {
  background: var(--bg-offset);
  border-color: var(--border-light);
}

.calendar-day-btn.selected {
  background: var(--ink-primary) !important;
  color: var(--bg-card) !important;
  font-weight: 700;
}

.calendar-day-btn.today::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue-brand);
}

.calendar-day-btn.selected.today::after {
  background: var(--bg-card);
}

.calendar-day-btn:disabled {
  color: var(--ink-muted);
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Time Slots */
.time-picker-section {
  margin-top: 24px;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

.picker-subtitle {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
}

.time-slot {
  padding: 12px 6px;
  background: var(--bg-offset);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-secondary);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.time-slot:hover:not(.unavailable) {
  border-color: var(--ink-primary);
  color: var(--ink-primary);
}

.time-slot.selected {
  background: var(--ink-primary);
  border-color: var(--ink-primary);
  color: var(--bg-card);
  font-weight: 600;
}

.time-slot.unavailable {
  opacity: 0.25;
  cursor: not-allowed;
  background: transparent;
  text-decoration: line-through;
}

.time-slots-legend {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 11px;
  color: var(--ink-muted);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-color {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.legend-avail {
  background: var(--bg-offset);
  border: 1px solid var(--border-light);
}

.legend-unavail {
  background: transparent;
  border: 1px solid var(--border-light);
  opacity: 0.3;
}

/* Priority Tiers */
.tiers-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tier-card {
  padding: 20px 24px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--bg-offset);
  position: relative;
  outline: none;
}

.tier-card:hover,
.tier-card:focus-visible {
  border-color: var(--ink-primary);
  background: var(--bg-card);
}

.tier-card.selected {
  border-color: var(--ink-primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(13, 12, 10, 0.05);
}

.tier-badge {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--ink-primary);
  color: var(--bg-card);
  font-size: 9px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 0 0 6px 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tier-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.tier-name {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.tier-wait {
  font-size: 12px;
  color: var(--ink-secondary);
  margin-top: 2px;
}

.tier-price {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.tier-perks {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tier-perk {
  font-size: 12px;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tier-perk::before {
  content: '✓';
  color: var(--green);
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}

/* ── STEP 3: DETAILS & SECURE PAYMENT ── */

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field-group {
  display: flex;
  flex-direction: column;
}

.field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-secondary);
  margin-bottom: 6px;
}

.field-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-offset);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--ink-primary);
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: all var(--transition-fast);
  -webkit-appearance: none;
}

.field-input:focus {
  border-color: var(--ink-primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(13, 12, 10, 0.04);
}

.field-input::placeholder {
  color: var(--ink-muted);
}

textarea.field-input {
  resize: none;
  min-height: 90px;
  line-height: 1.5;
}

/* Payment Section */
.payment-methods {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.pay-method {
  flex: 1;
  padding: 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
  background: var(--bg-offset);
  transition: all var(--transition-fast);
  user-select: none;
}

.pay-method:hover {
  border-color: var(--ink-primary);
}

.pay-method.selected {
  border-color: var(--ink-primary);
  color: var(--ink-primary);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.pay-method-emoji {
  font-size: 18px;
}

.payment-fields-wrapper {
  margin-top: 12px;
  animation: fadeSlide 0.3s ease;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Apple/Google Pay Mock button */
.express-pay-btn {
  background: var(--ink-primary);
  color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.express-pay-btn:hover {
  opacity: 0.9;
}

/* Card Mock Visual */
.credit-card-container {
  perspective: 1000px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 20px;
  aspect-ratio: 1.586; /* standard card ratio */
}

.credit-card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.credit-card.flipped {
  transform: rotateY(180deg);
}

.card-side {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
  border-radius: var(--radius-md);
  padding: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, hsl(24, 25%, 15%) 0%, hsl(24, 25%, 6%) 100%);
}

.card-front {
  transform: rotateY(0deg);
}

.card-back {
  transform: rotateY(180deg);
  padding: 20px 0;
  align-items: stretch;
}

.card-brand-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.05em;
  text-align: right;
  height: 20px;
}

.card-chip {
  width: 38px;
  height: 28px;
  background: linear-gradient(135deg, #f2d180 0%, #d4af37 100%);
  border-radius: 4px;
}

.card-number-display {
  font-family: monospace;
  font-size: 17px;
  letter-spacing: 2px;
  word-spacing: 4px;
  margin: 10px 0;
}

.card-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.card-label {
  font-size: 7px;
  letter-spacing: 1px;
  color: var(--ink-muted);
  display: block;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.card-val {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: block;
  text-transform: uppercase;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Card Back Styles */
.card-magnetic-strip {
  height: 36px;
  background: #000;
  width: 100%;
}

.card-signature-box {
  background: rgba(255,255,255,0.15);
  height: 28px;
  margin: 0 20px;
  padding: 0 8px;
  display: flex;
  align-items: center;
}

.card-signature-box .card-val {
  font-style: italic;
  font-size: 12px;
  color: #fff;
  opacity: 0.8;
}

.card-cvv-box {
  margin: 0 20px;
  text-align: right;
}

.card-cvv-box .card-val {
  background: #fff;
  color: #000;
  display: inline-block;
  padding: 4px 10px;
  font-family: monospace;
  font-size: 12px;
  border-radius: 2px;
  min-width: 36px;
  text-align: center;
}

/* Form entry input fields inside card option */
.payment-mock-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.secure-note {
  font-size: 11px;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

/* ── STEP 4: CONFIRMATION SCREEN ── */

.centered-confirm-hero {
  text-align: center;
  padding: 40px 24px 28px;
}

.confirm-emoji-wrap {
  width: 72px;
  height: 72px;
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
  animation: confirmPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes confirmPop {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.confirm-headline {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.confirm-sub {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* Code Access Barcode Card */
.barcode-details-card {
  padding: 24px;
}

.confirm-code-box {
  background: var(--ink-primary);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  color: #fff;
}

.confirm-code-label {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
  display: block;
}

.confirm-code {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  margin-bottom: 16px;
}

.visual-barcode {
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: 38px;
  gap: 2px;
  background: #FFF;
  padding: 6px;
  border-radius: 4px;
  max-width: 180px;
  margin: 0 auto 12px;
}

.barcode-line {
  background: #000;
}

.barcode-line.w-1 { width: 1px; }
.barcode-line.w-2 { width: 2px; }
.barcode-line.w-3 { width: 3px; }
.barcode-line.w-4 { width: 4px; }

.confirm-code-sub {
  font-size: 11px;
  color: var(--ink-muted);
}

/* Confirmation grid receipt */
.confirmation-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 20px;
}

.conf-detail-card {
  background: var(--bg-offset);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.conf-detail-icon {
  font-size: 22px;
  margin-bottom: 6px;
  display: block;
}

.conf-detail-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.conf-detail-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-primary);
  white-space: pre-line;
}

/* AI Msg Card */
.confirm-ai-card {
  padding: 24px;
}

.confirm-ai-label {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-secondary);
  margin-bottom: 12px;
}

.confirm-ai-msg-box {
  background: var(--bg-offset);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
}

.confirm-ai-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-secondary);
  font-style: italic;
}

.confirm-ai-sig {
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: 10px;
  font-style: normal;
  font-weight: 600;
}

.action-buttons-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

/* ── NAVIGATION & CTAS ── */

.bottom-cta {
  position: sticky;
  bottom: 0;
  background: hsla(35, 18%, 95%, 0.9);
  backdrop-filter: blur(12px);
  padding: 16px 0;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-main {
  width: 100%;
  padding: 16px;
  background: var(--ink-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity var(--transition-fast);
  user-select: none;
}

.btn-main:hover {
  opacity: 0.9;
}

.btn-main:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn-arrow {
  font-size: 16px;
  transition: transform var(--transition-fast);
}

.btn-main:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-back {
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
  cursor: pointer;
  padding: 8px;
  font-family: 'Inter', sans-serif;
  align-self: center;
  transition: color var(--transition-fast);
}

.btn-back:hover {
  color: var(--ink-primary);
}

.btn-secondary {
  background: var(--bg-offset);
  border: 1px solid var(--border-light);
  color: var(--ink-primary);
}

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--ink-primary);
  opacity: 1;
}

/* Footer branding */
.fwd-footer {
  text-align: center;
  padding: 24px 0 12px;
  font-size: 11px;
  color: var(--ink-muted);
}

.fwd-footer a {
  color: var(--ink-secondary);
  text-decoration: none;
  font-weight: 600;
}

.fwd-footer a:hover {
  text-decoration: underline;
}

/* ── RESPONSIVE DESIGN (MEDIA QUERIES) ── */

@media (max-width: 868px) {
  /* Collapse Split-Pane into Single Column */
  .app-container {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 16px auto;
  }
  
  .sidebar-panel {
    position: static;
    order: 2; /* Sidebar shows up at bottom on mobile */
  }
  
  .booking-panel {
    order: 1;
  }
  
  .live-receipt-container {
    display: none; /* Hide receipt container in sidebar since mobile has step indicators and summary card inside screens */
  }
  
  .step-card {
    padding: 20px;
  }
  
  .card-headline {
    font-size: 20px;
  }

  /* Hide scrollbars on mobile viewports */
  html, body {
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }
  
  ::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
  }
}

/* Screen Reader / Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
