/* ============================================================
   LIGHT ELEGANT BOOKING WIZARD MODAL STYLES (LIGHT SAFFRON THEME)
   ============================================================ */

.wizard-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 16px;
}

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

.wizard-container {
  background: #ffffff !important;
  border: 1px solid #ffcca0 !important;
  border-radius: 20px !important;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 25px rgba(255, 140, 0, 0.15) !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  color: #2c1810 !important;
  transform: translateY(20px) scale(0.96);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wizard-overlay.active .wizard-container {
  transform: translateY(0) scale(1);
}

/* Header - Warm Vibrant Saffron Gradient */
.wizard-header {
  padding: 20px 28px !important;
  background: linear-gradient(135deg, #ff8c00, #e65100) !important;
  border-bottom: 1px solid #e04800 !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wizard-header h2 {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cinzel', 'Poppins', serif !important;
  letter-spacing: 0.5px;
}

.wizard-close {
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  width: 34px;
  height: 34px;
  border-radius: 50% !important;
  color: #ffffff !important;
  font-size: 1.2rem !important;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s;
}

.wizard-close:hover {
  background: rgba(255, 255, 255, 0.4) !important;
}

/* Progress Bar / Steps Indicator */
.wizard-progress {
  display: flex;
  justify-content: space-between;
  padding: 16px 28px !important;
  background: #fff8f0 !important;
  border-bottom: 1px solid #f0e0cc !important;
  position: relative;
}

.step-indicator {
  flex: 1;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #8c7868 !important;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.step-indicator::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #e5d8c8;
  z-index: 1;
}

.step-indicator:last-child::after {
  display: none;
}

.step-indicator span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  background: #ffffff !important;
  border: 2px solid #d8c5b2 !important;
  border-radius: 50% !important;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  font-weight: 700;
  font-size: 0.85rem;
  color: #6b5848 !important;
  transition: all 0.3s;
}

.step-indicator.active {
  color: #d96b00 !important;
  font-weight: 700;
}

.step-indicator.active span {
  border-color: #ff8c00 !important;
  background: #ff8c00 !important;
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(255, 140, 0, 0.4) !important;
}

.step-indicator.completed span {
  border-color: #4caf50 !important;
  background: #4caf50 !important;
  color: #ffffff !important;
}

/* Content Area */
.wizard-content {
  flex: 1;
  padding: 24px 28px !important;
  overflow-y: auto;
  position: relative;
  background: #ffffff !important;
}

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

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

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

.wizard-step h3, .wizard-step h4 {
  color: #2c1810 !important;
  margin-bottom: 16px;
  font-size: 1.2rem;
  font-weight: 700;
}

/* Selected Service Preview Card */
.service-preview-card {
  background: #fff5eb !important;
  border: 1px solid #ffd0a0 !important;
  padding: 16px 20px !important;
  border-radius: 14px !important;
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.service-preview-card img {
  width: 70px;
  height: 70px;
  border-radius: 10px !important;
  object-fit: cover;
  border: 2px solid #ffb870 !important;
}

.service-preview-info h4 {
  margin: 0 0 4px !important;
  font-size: 1.15rem !important;
  color: #d96b00 !important;
  font-weight: 700 !important;
}

.service-preview-info p {
  margin: 0 !important;
  color: #5c4838 !important;
  font-size: 0.9rem;
}

/* Selectable Cards / Service Mode */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.selectable-card {
  background: #ffffff !important;
  border: 2px solid #e8ded2 !important;
  border-radius: 14px !important;
  padding: 20px 16px !important;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  color: #2c1810 !important;
}

.selectable-card:hover {
  background: #fff8f0 !important;
  border-color: #ffaa44 !important;
  transform: translateY(-2px);
}

.selectable-card.selected {
  background: #fff0e0 !important;
  border-color: #ff8c00 !important;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.2) !important;
}

.selectable-card h4 {
  margin: 8px 0 0 !important;
  font-size: 1rem !important;
  color: #2c1810 !important;
}

/* Form Fields - STRICT LIGHT THEME OVERRIDE */
.wizard-form-group {
  margin-bottom: 18px;
}

.wizard-form-group label {
  display: block;
  margin-bottom: 6px;
  color: #4a3828 !important;
  font-size: 0.9rem;
  font-weight: 600;
}

.wizard-container input[type="text"],
.wizard-container input[type="tel"],
.wizard-container input[type="email"],
.wizard-container input[type="date"],
.wizard-container input[type="time"],
.wizard-container select,
.wizard-container textarea,
.wizard-form-group input,
.wizard-form-group select,
.wizard-form-group textarea {
  width: 100% !important;
  padding: 12px 14px !important;
  background: #faf7f2 !important;
  border: 1px solid #dcd0c0 !important;
  border-radius: 10px !important;
  color: #2c1810 !important;
  font-size: 0.95rem !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: all 0.25s !important;
}

.wizard-container input::placeholder,
.wizard-container textarea::placeholder {
  color: #8c7868 !important;
}

.wizard-container input:focus,
.wizard-container select:focus,
.wizard-container textarea:focus {
  border-color: #ff8c00 !important;
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2) !important;
  background: #ffffff !important;
}

.wizard-container select option {
  background: #ffffff !important;
  color: #2c1810 !important;
}

/* Summary Box */
.wizard-step div[style*="background:var(--surface-light)"],
.wizard-step div[style*="background: var(--surface-light)"] {
  background: #fff5eb !important;
  border: 1px solid #ffd0a0 !important;
  color: #2c1810 !important;
}

/* Calendar Styling */
.calendar-wrapper {
  background: #faf7f2 !important;
  border: 1px solid #e8ded2 !important;
  border-radius: 14px !important;
  padding: 18px !important;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.calendar-header button {
  background: #ffffff !important;
  border: 1px solid #dcd0c0 !important;
  width: 32px;
  height: 32px;
  border-radius: 50% !important;
  font-size: 1.1rem !important;
  cursor: pointer;
  color: #2c1810 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.calendar-header button:hover {
  background: #ff8c00 !important;
  border-color: #ff8c00 !important;
  color: #ffffff !important;
}

.calendar-header h4 {
  color: #d96b00 !important;
  font-size: 1.05rem !important;
  margin: 0 !important;
  font-weight: 700 !important;
}

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

.calendar-day-header {
  font-weight: 700;
  color: #7a6858 !important;
  font-size: 0.8rem;
  padding-bottom: 6px;
}

.calendar-day {
  padding: 10px 4px !important;
  border-radius: 8px !important;
  cursor: pointer;
  background: #ffffff !important;
  border: 1px solid #eee5da !important;
  color: #2c1810 !important;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.calendar-day:hover:not(.disabled) {
  background: #ffe8cc !important;
  border-color: #ff8c00 !important;
  color: #d96b00 !important;
}

.calendar-day.disabled {
  color: #b5a898 !important;
  cursor: not-allowed;
  background: #f4efe8 !important;
  text-decoration: line-through;
}

.calendar-day.selected {
  background: linear-gradient(135deg, #ff8c00, #e65100) !important;
  color: #ffffff !important;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(255, 140, 0, 0.4) !important;
}

/* Time Slots */
.time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.time-slot {
  padding: 8px 16px !important;
  background: #ffffff !important;
  border: 1px solid #dcd0c0 !important;
  border-radius: 8px !important;
  cursor: pointer;
  transition: all 0.2s;
  color: #2c1810 !important;
  font-size: 0.88rem;
  font-weight: 500;
}

.time-slot:hover:not(.disabled) {
  border-color: #ff8c00 !important;
  color: #d96b00 !important;
  background: #fff5eb !important;
}

.time-slot.selected {
  background: #ff8c00 !important;
  border-color: #ff8c00 !important;
  color: #ffffff !important;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3) !important;
}

/* Payment Options */
.payment-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px !important;
  background: #ffffff !important;
  border: 1px solid #e8ded2 !important;
  border-radius: 12px !important;
  cursor: pointer;
  transition: all 0.2s;
  color: #2c1810 !important;
  font-weight: 600;
}

.payment-option:hover {
  border-color: #ff8c00 !important;
  background: #fff8f0 !important;
}

.payment-option input[type="radio"] {
  accent-color: #ff8c00;
  width: 18px;
  height: 18px;
}

/* Elegant QR Code Box Fix */
#upi-qr-container {
  display: none;
  text-align: center;
  margin-top: 16px !important;
  background: #fff8f0 !important;
  border: 1px dashed #ffb870 !important;
  padding: 20px !important;
  border-radius: 14px !important;
  color: #2c1810 !important;
}

#upi-qr-container img {
  width: 170px !important;
  height: 170px !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  padding: 8px !important;
  margin: 0 auto 10px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid #f0e0cc !important;
}

#upi-qr-container p {
  color: #d96b00 !important;
  font-weight: 700 !important;
  margin: 6px 0 0 !important;
  font-size: 0.95rem !important;
}

/* Footer & Buttons */
.wizard-footer {
  padding: 16px 28px !important;
  background: #fff8f0 !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f0e0cc !important;
}

.wizard-btn {
  padding: 12px 22px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.wizard-btn-outline {
  background: #ffffff !important;
  border: 1px solid #d0c0b0 !important;
  color: #5a4838 !important;
}

.wizard-btn-outline:hover {
  background: #f5ece2 !important;
  color: #2c1810 !important;
}

.wizard-btn-primary {
  background: linear-gradient(135deg, #ff8c00, #e65100) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.35) !important;
}

.wizard-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5) !important;
}

.wizard-btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35) !important;
}

.wizard-btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5) !important;
}

.wizard-btn:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

/* Quick Book Widget - STRICT LIGHT THEME OVERRIDE */
.quick-book-widget {
  background: #ffffff !important;
  border: 1px solid #ffe4cc !important;
  padding: 22px 26px !important;
  border-radius: 18px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25), 0 0 20px rgba(255, 140, 0, 0.15) !important;
  max-width: 850px !important;
  margin: 36px auto 0 !important;
  position: relative !important;
  z-index: 10 !important;
  color: #2c1810 !important;
}

.quick-book-widget h3 {
  color: #d96b00 !important;
  font-family: 'Cinzel', 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.15rem !important;
  margin-top: 0 !important;
  margin-bottom: 14px !important;
}

.quick-book-form {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
  gap: 12px !important;
  align-items: center !important;
}

.quick-book-form input {
  padding: 12px 14px !important;
  background: #faf7f2 !important;
  border: 1px solid #dcd0c0 !important;
  border-radius: 10px !important;
  width: 100% !important;
  color: #2c1810 !important;
  font-family: inherit !important;
  font-size: 0.9rem !important;
  box-sizing: border-box !important;
}

.quick-book-form input::placeholder {
  color: #8c7868 !important;
}

.quick-book-form input:focus {
  border-color: #ff8c00 !important;
  background: #ffffff !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2) !important;
}

.quick-book-form button {
  height: 44px !important;
  padding: 0 16px !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #ff8c00, #e65100) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3) !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
}

.quick-book-form button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(255, 140, 0, 0.45) !important;
}
