/* ============================================
   BOOKING PAGE SPECIFIC STYLES
   ============================================ */

.booking-page {
  min-height: 100vh;
  background: var(--dark-bg);
  padding-top: 2rem;
}

/* Booking Steps Navigation */
.booking-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
}

.step {
  text-align: center;
  margin: 0 1rem;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #666;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.5rem;
  margin: 0 auto 0.75rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 3px solid transparent;
  position: relative;
}

.step-number::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

.step.active .step-number::before {
  opacity: 1;
}

.step.active .step-number,
.step.completed .step-number {
  background: var(--gradient-cyan);
  box-shadow: var(--glow-cyan);
  transform: scale(1.1);
}

.step-label {
  color: #999;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.step.active .step-label,
.step.completed .step-label {
  color: var(--primary-cyan);
}

.step-line {
  width: 100px;
  height: 4px;
  background: #666;
  margin: 0 0.5rem;
  margin-top: -30px;
  position: relative;
  z-index: 1;
  transition: all 0.4s;
  border-radius: 2px;
}

.step-line.active {
  background: var(--gradient-cyan);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Booking Content */
.booking-content {
  max-width: 1000px;
  margin: 0 auto;
}

.booking-content .column {
  position: relative;
  z-index: 1;
}

.booking-content .columns {
  position: relative;
  z-index: 1;
}

.booking-step {
  display: none;
  animation: fadeIn 0.5s ease-in;
}

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

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

/* Step 1: Experience Selection */
.room-selector {
  width: 100%;
  padding: 2rem;
  background: rgba(17, 17, 17, 0.95);
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  cursor: pointer !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
  pointer-events: auto !important;
  z-index: 10;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: block;
  font-family: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.room-selector::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
  transition: left 0.6s;
  pointer-events: none;
  z-index: 1;
}

.room-selector:hover::before {
  left: 100%;
}

.room-selector:hover {
  border-color: var(--primary-cyan);
  transform: translateY(-8px);
  box-shadow: var(--glow-cyan), var(--shadow-card);
}

.room-selector.selected {
  border-color: var(--primary-cyan);
  background: rgba(0, 212, 255, 0.1);
  box-shadow: var(--glow-cyan);
}

.room-selector.selected::after {
  content: '✓';
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 30px;
  height: 30px;
  background: var(--gradient-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-bg);
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: var(--glow-cyan);
  pointer-events: none;
  z-index: 3;
}

.room-selector.recommended {
  border-color: var(--primary-pink);
  box-shadow: 0 0 20px rgba(255, 107, 157, 0.3);
}

.room-selector.recommended:hover {
  box-shadow: var(--glow-pink), var(--shadow-card);
}

.room-icon {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.room-selector .title,
.room-selector .room-price {
  position: relative;
  z-index: 2;
}

.room-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.4));
  transition: transform 0.3s;
}

.room-selector:hover .room-icon img {
  transform: scale(1.15) rotate(5deg);
}

.room-selector .title {
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.room-price {
  color: var(--primary-cyan);
  font-size: 1.5rem;
  font-weight: 900;
  margin-top: 1rem;
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

/* Player Slider */
.group-size-section {
  margin-top: 4rem;
  padding: 3rem;
  background: var(--dark-card);
  border: 2px solid var(--dark-border);
  border-radius: 20px;
}

.group-size-selector {
  max-width: 600px;
  margin: 2rem auto 0;
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  outline: none;
  transition: all 0.3s;
}

.slider:hover {
  background: rgba(255, 255, 255, 0.15);
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  background: var(--gradient-cyan);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--glow-cyan);
  transition: all 0.3s;
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
}

.slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  background: var(--gradient-cyan);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: var(--glow-cyan);
  transition: all 0.3s;
}

.slider::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
}

.size-display {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-cyan);
  margin-top: 1.5rem;
  text-shadow: 0 0 25px rgba(0, 212, 255, 0.6);
  letter-spacing: 2px;
}

#players-display {
  color: var(--primary-cyan) !important;
  font-size: 2.5rem !important;
  font-weight: 900 !important;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.8), 0 0 60px rgba(0, 212, 255, 0.4) !important;
  letter-spacing: 3px !important;
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(0, 212, 255, 0.1);
  border: 2px solid var(--primary-cyan);
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
  position: relative;
  z-index: 2;
}

/* Step 2: Date & Time Selection */
#step-2 {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

#step-2 .field {
  position: relative;
  z-index: 10;
}

#step-2 #time-slots-container {
  position: relative;
  z-index: 1;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.time-slot {
  padding: 1.5rem;
  background: var(--dark-card);
  border: 3px solid var(--dark-border);
  border-radius: 16px;
  cursor: pointer !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
  pointer-events: auto !important;
  z-index: 10;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.time-slot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 1;
}

.time-slot:hover::before {
  opacity: 1;
}

.time-slot:hover {
  border-color: var(--primary-cyan);
  transform: translateY(-4px);
  box-shadow: var(--glow-cyan);
}

.time-slot.selected {
  border-color: var(--primary-cyan);
  background: rgba(0, 212, 255, 0.15);
  box-shadow: var(--glow-cyan);
}

.time-slot.selected::after {
  content: '✓';
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 24px;
  height: 24px;
  background: var(--gradient-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-bg);
  font-weight: 900;
  font-size: 0.9rem;
  pointer-events: none;
  z-index: 3;
}

.time-slot-content {
  position: relative;
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.time-slot-time {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  z-index: 2;
}

.discount-badge {
  background: var(--gradient-pink);
  color: var(--text-primary);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.75rem;
  display: inline-block;
  box-shadow: var(--glow-pink);
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* Step 3: Confirm Details */
#step-3 {
  position: relative;
  z-index: 1;
}

.booking-summary {
  background: var(--dark-card);
  border: 2px solid var(--primary-cyan);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: var(--glow-cyan);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.booking-summary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-cyan);
}

.booking-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--dark-border);
  font-size: 1.1rem;
}

.booking-summary-row:last-child {
  border-bottom: none;
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--primary-cyan);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  border-top: 2px solid var(--primary-cyan);
}

.booking-summary-row.discount-row {
  color: var(--primary-pink);
}

.booking-summary-row.discount-row .discount-amount {
  color: var(--primary-pink);
  font-weight: 700;
}

.booking-summary-row span:first-child {
  color: var(--text-secondary);
  font-weight: 600;
}

.booking-summary-row span:last-child {
  color: var(--text-primary);
  font-weight: 700;
}

.booking-summary-row:last-child span:last-child {
  font-size: 2rem;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* Form Fields */
.field {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 10;
}

.field .input {
  font-size: 1.05rem;
  padding: 1rem 1.25rem;
  pointer-events: auto !important;
  cursor: text !important;
  position: relative;
  z-index: 10;
  color: var(--text-primary) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.field .input:focus {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1), var(--glow-cyan);
  color: var(--text-primary) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.field .input::placeholder {
  color: var(--text-muted) !important;
}

#booking-date {
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative;
  z-index: 10;
  color: var(--text-primary) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

#booking-date:focus {
  color: var(--text-primary) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

#booking-date::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

.field .checkbox {
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative;
  z-index: 10;
}

.field .checkbox input[type="checkbox"] {
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative;
  z-index: 10;
}

#booking-name,
#booking-email,
#booking-phone {
  pointer-events: auto !important;
  cursor: text !important;
  position: relative;
  z-index: 10;
  color: var(--text-primary) !important;
}

#booking-name:focus,
#booking-email:focus,
#booking-phone:focus {
  color: var(--text-primary) !important;
}

#booking-name::placeholder,
#booking-email::placeholder,
#booking-phone::placeholder {
  color: var(--text-muted) !important;
}

/* Booking Actions */
.booking-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--dark-border);
}

.spacer {
  flex: 1;
}

#next-to-step-2,
#next-to-step-3,
#prev-to-step-1,
#prev-to-step-2,
#complete-booking {
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative;
  z-index: 10;
}

#next-to-step-2:disabled,
#next-to-step-3:disabled,
#complete-booking:disabled {
  cursor: not-allowed !important;
  opacity: 0.5;
}

#players-slider {
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative;
  z-index: 10;
}

/* Responsive */
@media (max-width: 768px) {
  .booking-steps {
    flex-direction: column;
    gap: 2rem;
  }
  
  .step-line {
    width: 4px;
    height: 60px;
    margin: 0.5rem 0;
    margin-top: 0;
  }
  
  .room-selector {
    padding: 1.5rem;
  }
  
  .size-display {
    font-size: 2rem;
  }
  
  .time-slots-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .time-slot {
    padding: 1.25rem;
    min-height: 80px;
  }
  
  .time-slot-time {
    font-size: 1.25rem;
  }
  
  .booking-summary {
    padding: 1.5rem;
  }
  
  .booking-summary-row {
    font-size: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .booking-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .booking-actions .button {
    width: 100%;
  }
}

