/* ==========================================================================
   BODYWORKS MASTER LTD - INTERACTIVE CAR REPAIR & BOOKING SYSTEM
   ========================================================================== */

.booking-section {
  background: radial-gradient(circle at 50% 10%, #151d2f 0%, #0a0c10 90%);
  position: relative;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.booking-wizard-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

/* Steps Progress Header */
.wizard-steps-header {
  display: flex;
  justify-content: space-between;
  background: rgba(10, 14, 22, 0.95);
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 2rem;
  overflow-x: auto;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.5;
  transition: var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.step-indicator.active {
  opacity: 1;
}

.step-indicator.completed {
  opacity: 0.9;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-indicator.active .step-number {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}

.step-indicator.completed .step-number {
  background: var(--accent-green);
  color: #fff;
  border-color: var(--accent-green);
}

.step-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.step-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Wizard Body */
.wizard-body {
  padding: 2.5rem;
  min-height: 480px;
}

.step-pane {
  display: none;
  animation: modalFadeIn 0.35s ease forwards;
}

.step-pane.active {
  display: block;
}

/* Step 1: Vehicle Lookup */
.vehicle-lookup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.uk-plate-search-box {
  background: rgba(14, 18, 28, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.plate-big-input {
  display: flex;
  align-items: center;
  background: #fcd34d;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid #000;
  margin: 1.5rem 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.plate-big-flag {
  background: #1e3a8a;
  color: #fff;
  padding: 1rem 0.9rem;
  font-weight: 900;
  font-size: 1.1rem;
  text-align: center;
  line-height: 1.1;
}

.plate-big-text {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0.8rem 1rem;
  color: #000;
}

.vehicle-details-card {
  background: rgba(16, 22, 34, 0.9);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.vehicle-header-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.vehicle-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.spec-chip {
  background: rgba(255, 255, 255, 0.04);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-chip span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.spec-chip strong {
  font-size: 0.95rem;
  color: #fff;
}

/* Step 2: Service Selection */
.services-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.service-option-card {
  background: rgba(15, 20, 30, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
}

.service-option-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.05);
}

.service-option-card.selected {
  border-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.1);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
}

.service-option-card .check-circle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.service-option-card.selected .check-circle {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
}

/* Step 3: Damage & Panel Blueprint Selector */
.damage-interactive-wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.car-blueprint-stage {
  background: #0d121c;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  position: relative;
}

.blueprint-instruction {
  font-size: 0.85rem;
  color: var(--accent-amber);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.car-svg-blueprint {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: block;
}

.car-part {
  fill: #1a2233;
  stroke: #475569;
  stroke-width: 2;
  cursor: pointer;
  transition: all 0.2s ease;
}

.car-part:hover {
  fill: rgba(245, 158, 11, 0.4);
  stroke: var(--accent-gold);
}

.car-part.damaged {
  fill: rgba(239, 68, 68, 0.65);
  stroke: #ef4444;
  filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.8));
}

.damaged-panels-summary {
  background: rgba(16, 22, 34, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.selected-panels-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0;
  max-height: 220px;
  overflow-y: auto;
}

.panel-tag-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-racing-red);
}

.panel-tag-remove {
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
}

.panel-tag-remove:hover {
  color: var(--accent-racing-red);
}

.photo-dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.photo-dropzone:hover {
  border-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.05);
}

/* Step 4: Schedule & Collection */
.schedule-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background: #0d121c;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.transport-options-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.transport-card {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  cursor: pointer;
  transition: var(--transition-fast);
  background: rgba(14, 18, 28, 0.7);
}

.transport-card.selected {
  border-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.1);
}

/* Step 5: Instant Cost Estimate & Summary */
.estimate-breakdown-card {
  background: #0d121c;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.estimate-line-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
}

.estimate-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0 0 0;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.estimate-total-price {
  color: var(--accent-gold);
  font-family: var(--font-mono);
  font-size: 2rem;
}

/* Wizard Footer Navigation */
.wizard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 14, 22, 0.95);
  border-top: 1px solid var(--border-color);
  padding: 1.5rem 2.5rem;
}

/* Confirmation Screen */
.booking-confirmed-card {
  text-align: center;
  padding: 3rem 1rem;
}

.confirmed-badge-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
}

.ref-code-box {
  display: inline-block;
  background: #0d121c;
  border: 1px dashed var(--accent-gold);
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin: 1.25rem 0 2rem 0;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .vehicle-lookup-grid, .damage-interactive-wrap, .schedule-grid {
    grid-template-columns: 1fr;
  }
  .wizard-body {
    padding: 1.5rem;
  }
  .wizard-footer {
    padding: 1rem 1.5rem;
  }
}
