/* GowLife — Reservation Tunnel Styles */

.reservation-page {
  padding: 120px 0 80px;
  min-height: 100vh;
}
.tunnel-container {
  max-width: 680px;
  margin: 0 auto;
}

/* ========== PROGRESS BAR ========== */
.tunnel-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
  position: relative;
}
.tunnel-progress::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.progress-line {
  position: absolute;
  top: 20px;
  left: 40px;
  height: 2px;
  background: var(--brand);
  z-index: 1;
  transition: width 0.5s ease;
}
.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
  flex: 1;
}
.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--muted);
  transition: all 0.3s ease;
}
.progress-step.active .step-circle {
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 0 20px var(--brand-glow);
  transform: scale(1.1);
}
.progress-step.completed .step-circle {
  background: var(--brand);
  border-color: var(--brand);
  color: #000;
}
.progress-step.completed .step-label { 
  color: var(--brand); 
  font-weight: 600;
}
.step-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  font-weight: 500;
  max-width: 80px;
  transition: all 0.3s ease;
}
.progress-step.active .step-label { color: var(--ink); }
.progress-step.completed .step-label { color: var(--brand); }

/* ========== STEP PANELS ========== */
.tunnel-body {
  min-height: 400px;
}
.step-panel {
  display: none;
  opacity: 0;
  transform: translateY(10px);
}
.step-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInStep 0.4s ease forwards;
}

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

/* ========== STEP 1: SERVICE CHOICE ========== */
.service-choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.service-choice {
  padding: 28px;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s ease;
  position: relative;
}
.service-choice:hover {
  border-color: var(--brand);
}
.service-choice.selected {
  border-color: var(--brand);
  box-shadow: 0 0 20px var(--brand-glow);
  background: rgba(91, 168, 160, 0.05);
}
.service-choice.selected::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  background: var(--brand);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.service-choice-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.service-choice h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.service-choice p {
  color: var(--muted);
  font-size: 0.85rem;
}
.service-choice .price-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  background: rgba(91, 168, 160, 0.1);
  border-radius: 20px;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.85rem;
}

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

/* ========== STEP 2: DETAILS ========== */
.detail-section {
  margin-bottom: 28px;
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.detail-section h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--brand);
}
.schedule-compact {
  margin-top: 20px;
  padding: 16px;
  background: rgba(240, 192, 90, 0.05);
  border: 1px solid rgba(240, 192, 90, 0.15);
  border-radius: var(--radius-sm);
}
.schedule-compact h4 {
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== STEP 2: PRICE DISPLAY ========== */
.price-display {
  text-align: center;
  padding: 24px;
  background: rgba(240, 192, 90, 0.05);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  margin-top: 24px;
}
.price-display .price-amount {
  font-size: 2.5rem;
}
.price-display .price-breakdown {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 8px;
}

/* ========== STEP 3: PERSONAL INFO ========== */
.info-form { display: grid; gap: 16px; }

/* ========== STEP 4: SUMMARY ========== */
.summary-section {
  display: grid;
  gap: 16px;
}
.summary-card {
  padding: 20px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.summary-row:last-child { border-bottom: none; }
.summary-label { color: var(--muted); }
.summary-value { color: var(--ink); font-weight: 600; }
.summary-total {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  text-align: center;
  margin: 24px 0;
  background: var(--card-bg);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 4px 15px rgba(240, 192, 90, 0.1);
}
.summary-total::before {
  content: 'TOTAL ESTIMÉ';
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  font-family: var(--font-base);
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

/* ========== NAVIGATION BUTTONS ========== */
.tunnel-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.tunnel-nav .btn { flex: 1; justify-content: center; }

/* ========== FEEDBACK ========== */
.form-feedback {
  text-align: center;
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  font-weight: 600;
}
.form-feedback.success {
  color: var(--brand);
  background: rgba(91, 168, 160, 0.1);
  border: 1px solid var(--brand);
}
.form-feedback.error {
  color: var(--accent);
  background: rgba(225, 29, 72, 0.1);
  border: 1px solid var(--accent);
}
.notice {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 12px;
}

/* ========== PARTICIPANT CARDS ========== */
.participant-card {
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-top: 12px;
}
.participant-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* ========== LUGGAGE OPTION ========== */
#luggage-toggle-card {
  cursor: pointer;
  border: 2px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--card-bg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 24px;
}
#luggage-toggle-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(91, 168, 160, 0.15);
}
#luggage-toggle-card.selected {
  border-color: var(--brand);
  background: rgba(91, 168, 160, 0.03);
  box-shadow: 0 0 25px var(--brand-glow);
}
#luggage-toggle-card.selected .option-header h3 {
  color: var(--brand);
}
#luggage-toggle-card input[type="checkbox"] {
  accent-color: var(--brand);
}


.step-emoji {
  height: 32px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
}

.step-emoji.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Clickable Slot UI */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}

.slot-btn {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s ease;
}

.slot-btn:hover:not(:disabled) {
  border-color: var(--brand);
}

.slot-btn.selected {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.slot-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: var(--bg);
}
