/**
 * =============================================================================
 * HEAL WITH SRAVYA — BOOKING INTERFACE & FORM STYLING
 * STRICTLY LIGHT SURFACES — WARM AMBER ACCENTS
 * Developer: Damerax Cloud Solutions (https://damerax.com/)
 * =============================================================================
 */

.booking-wizard-wrapper {
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  max-width: 760px;
  margin: 0 auto;
}

/* Mode Switcher Tabs */
.booking-mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  background-color: var(--bg-cream);
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.mode-toggle-btn {
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.mode-toggle-btn.active {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.mode-toggle-btn.active .mode-icon {
  color: var(--accent-ochre);
}

/* Form Groups & Inputs */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px rgba(244, 198, 107, 0.25);
  background-color: var(--bg-surface);
}

/* Time Slots Grid */
.slots-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.slot-radio-btn {
  display: block;
  position: relative;
}

.slot-radio-btn input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.slot-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  background-color: var(--bg-cream-soft);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slot-radio-btn input:checked + .slot-label {
  background-color: #FEF3C7;
  color: #92400E;
  border-color: var(--accent-amber);
  box-shadow: var(--shadow-sm);
}

.slot-radio-btn.unavailable .slot-label {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: line-through;
  background-color: #F3F0EA;
}

/* Modal Overlay for Booking Popup */
.booking-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  background-color: rgba(43, 33, 17, 0.45);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.booking-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.booking-modal-dialog {
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  transform: translateY(20px) scale(0.98);
  transition: transform var(--transition-smooth);
}

.booking-modal-overlay.active .booking-modal-dialog {
  transform: translateY(0) scale(1);
}

.booking-modal-close {
  float: right;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
}

.booking-modal-close:hover {
  color: var(--text-primary);
}
