/* ===================================================================
   LUXURY SALON APPOINTMENT BOOKING SYSTEM - SRI LANKA EDITION
   Attractive, Modern, User-Friendly Salon Aesthetic
   =================================================================== */

:root {
  --salon-gold: #c59b6d;
  --salon-gold-hover: #b08453;
  --salon-gold-glow: rgba(197, 155, 109, 0.45);
  --salon-rose: #e89f88;
  --salon-cream: #fffaf5;
  --salon-dark: #121316;
  --salon-card-bg: #ffffff;
  --salon-text: #23272e;
  --salon-muted: #64748b;
  --salon-border: #e2e8f0;
  --salon-success: #10b981;
  --salon-radius: 16px;
  --koko-pink: #ec4899;
}

/* -------------------------------------------------------------
   1. HERO APPOINTMENT CTA - EYE-CATCHING DESIGN
   ------------------------------------------------------------- */
.hero-tagline {
  font-size: 1.15rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 25px;
}

/* High-Converting Eye-Catching Button */
.btn-hero-appointment {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c59b6d 0%, #dfb284 50%, #b08453 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 16px 38px !important;
  border-radius: 50px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 10px 25px var(--salon-gold-glow), 0 0 0 0 rgba(197, 155, 109, 0.7);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  animation: heroPulse 2.8s infinite;
  text-decoration: none !important;
  z-index: 2;
}

.btn-hero-appointment:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 35px rgba(197, 155, 109, 0.65);
  background: linear-gradient(135deg, #d4a779 0%, #f3c794 50%, #be905d 100%) !important;
  color: #fff !important;
}

.btn-hero-appointment i {
  font-size: 1.3rem;
  margin-right: 10px;
}

/* Shimmer Light Sweep */
.btn-hero-appointment .btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-25deg);
  animation: shineSweep 4s infinite 1s;
}

@keyframes heroPulse {
  0% {
    box-shadow: 0 10px 25px var(--salon-gold-glow), 0 0 0 0 rgba(197, 155, 109, 0.65);
  }
  70% {
    box-shadow: 0 10px 25px var(--salon-gold-glow), 0 0 0 18px rgba(197, 155, 109, 0);
  }
  100% {
    box-shadow: 0 10px 25px var(--salon-gold-glow), 0 0 0 0 rgba(197, 155, 109, 0);
  }
}

@keyframes shineSweep {
  0% { left: -100%; }
  25% { left: 150%; }
  100% { left: 150%; }
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.85) !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.98rem !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 15px 30px !important;
  border-radius: 50px !important;
  background: rgba(0,0,0,0.3) !important;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.btn-hero-secondary:hover {
  background: #ffffff !important;
  color: var(--salon-dark) !important;
  transform: translateY(-2px);
}

/* Hero Trust Badges */
.hero-trust-badges {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badge-item {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 16px;
  border-radius: 25px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge-item i {
  color: #f7ca18;
  margin-right: 8px;
  font-size: 1.05rem;
}

/* -------------------------------------------------------------
   2. NAVBAR APPOINTMENT CTA
   ------------------------------------------------------------- */
.nav-item-cta-book .nav-link {
  background: linear-gradient(135deg, #c59b6d, #b08453) !important;
  color: #fff !important;
  padding: 9px 22px !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(197, 155, 109, 0.4);
  transition: all 0.3s ease;
  margin-left: 12px;
}

.nav-item-cta-book .nav-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(197, 155, 109, 0.6);
  background: linear-gradient(135deg, #d4a779, #be905d) !important;
}

/* Floating Bottom Booking Action Pill (Sticky) */
.floating-booking-pill {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #1c1f26, #111215);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 50px;
  border: 1.5px solid rgba(197, 155, 109, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(197, 155, 109, 0.3);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none !important;
}

.floating-booking-pill:hover {
  transform: translateY(-4px) scale(1.04);
  color: #fff;
  border-color: #c59b6d;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 0 0 25px rgba(197, 155, 109, 0.55);
}

.floating-booking-pill .pill-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #c59b6d, #b08453);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #fff;
}

/* -------------------------------------------------------------
   3. MULTI-STEP BOOKING WIZARD MODAL
   ------------------------------------------------------------- */
#bookingWizardModal .modal-dialog {
  max-width: 880px;
  margin: 1.75rem auto;
}

#bookingWizardModal .modal-content {
  border-radius: 20px;
  border: 1px solid rgba(197, 155, 109, 0.3);
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
  background: #ffffff;
  overflow: hidden;
  font-family: "Montserrat", sans-serif;
}

/* Header */
.wizard-modal-header {
  background: linear-gradient(135deg, #15171c, #242730);
  color: #ffffff;
  padding: 24px 30px;
  position: relative;
  border-bottom: 3px solid var(--salon-gold);
}

.wizard-modal-header .salon-brand {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--salon-gold);
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
}

.wizard-modal-header h4 {
  color: #ffffff;
  margin: 0;
  font-weight: 700;
  font-size: 1.45rem;
}

.wizard-modal-header .close-btn {
  position: absolute;
  top: 24px;
  right: 25px;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wizard-modal-header .close-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: rotate(90deg);
}

/* Progress Nav */
.wizard-steps-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fbfbfb;
  padding: 16px 30px;
  border-bottom: 1px solid #ededed;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #9aa0a6;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.step-item.active {
  color: var(--salon-dark);
}

.step-item.active .step-circle {
  background: var(--salon-gold);
  color: #ffffff;
  box-shadow: 0 4px 10px var(--salon-gold-glow);
}

.step-item.completed {
  color: #10b981;
}

.step-item.completed .step-circle {
  background: #10b981;
  color: #ffffff;
}

@media (max-width: 768px) {
  .step-label {
    display: none;
  }
}

/* Body */
.wizard-modal-body {
  padding: 28px 30px;
  min-height: 440px;
  background: #fdfdfd;
}

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

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

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

.step-headline {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1c20;
  margin-bottom: 6px;
}

.step-subtext {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 20px;
}

/* -------------------------------------------------------------
   STEP 1: SERVICES
   ------------------------------------------------------------- */
.service-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.cat-tab-btn {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-tab-btn.active, .cat-tab-btn:hover {
  background: var(--salon-gold);
  color: #fff;
  border-color: var(--salon-gold);
  box-shadow: 0 4px 10px var(--salon-gold-glow);
}

.service-cards-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 12px;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 6px;
}

@media (max-width: 576px) {
  .service-cards-list {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: #ffffff;
  border: 2px solid #edf0f5;
  border-radius: 14px;
  padding: 15px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.service-card:hover {
  border-color: var(--salon-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.service-card.selected {
  border-color: var(--salon-gold);
  background: #fffaf4;
  box-shadow: 0 4px 14px var(--salon-gold-glow);
}

.service-card-info h5 {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: #1e242d;
}

.service-card-meta {
  font-size: 0.8rem;
  color: #64748b;
  display: flex;
  gap: 10px;
  align-items: center;
}

.service-card-meta span i {
  color: var(--salon-gold);
  margin-right: 4px;
}

.service-card-price {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.service-price-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f766e;
}

.service-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: transparent;
  transition: all 0.2s ease;
}

.service-card.selected .service-check-icon {
  background: var(--salon-gold);
  border-color: var(--salon-gold);
  color: #fff;
}

/* -------------------------------------------------------------
   STEP 2: STYLISTS
   ------------------------------------------------------------- */
.stylist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  max-height: 350px;
  overflow-y: auto;
}

.stylist-card {
  background: #ffffff;
  border: 2px solid #edf0f5;
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.stylist-card:hover {
  border-color: var(--salon-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

.stylist-card.selected {
  border-color: var(--salon-gold);
  background: #fffaf4;
  box-shadow: 0 6px 16px var(--salon-gold-glow);
}

.stylist-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 10px auto;
  background-size: cover;
  background-position: center;
  border: 3px solid #edf0f5;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.stylist-card.selected .stylist-avatar {
  border-color: var(--salon-gold);
}

.stylist-card h6 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: #1e242d;
}

.stylist-role {
  font-size: 0.76rem;
  color: #64748b;
  margin-bottom: 6px;
  display: block;
}

.stylist-rating {
  font-size: 0.78rem;
  color: #d97706;
  font-weight: 600;
}

.stylist-card.any-stylist .stylist-avatar {
  background: linear-gradient(135deg, #1d2127, #373c47);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

/* -------------------------------------------------------------
   STEP 3: DATE & TIME
   ------------------------------------------------------------- */
.date-selector-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.date-chip {
  flex: 0 0 auto;
  min-width: 95px;
  background: #ffffff;
  border: 2px solid #edf0f5;
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.date-chip:hover {
  border-color: var(--salon-gold);
}

.date-chip.selected {
  border-color: var(--salon-gold);
  background: var(--salon-gold);
  color: #fff;
  box-shadow: 0 4px 12px var(--salon-gold-glow);
}

.date-chip .chip-day {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  opacity: 0.85;
}

.date-chip .chip-date {
  font-size: 1.25rem;
  font-weight: 800;
  display: block;
}

.date-chip.selected .chip-day, .date-chip.selected .chip-date, .date-chip.selected small {
  color: #fff;
}

.time-slots-container {
  margin-top: 15px;
}

.time-group-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 10px;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.time-slot-btn {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.time-slot-btn:hover {
  border-color: var(--salon-gold);
  color: var(--salon-gold);
}

.time-slot-btn.selected {
  background: var(--salon-gold);
  border-color: var(--salon-gold);
  color: #ffffff;
  box-shadow: 0 4px 10px var(--salon-gold-glow);
}

/* -------------------------------------------------------------
   STEP 4: CUSTOMER DETAILS FORM
   ------------------------------------------------------------- */
.wizard-form-group {
  margin-bottom: 16px;
}

.wizard-form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e242d;
  margin-bottom: 6px;
  display: block;
}

.wizard-form-control {
  width: 100%;
  padding: 11px 16px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  font-size: 0.92rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.wizard-form-control:focus {
  outline: none;
  border-color: var(--salon-gold);
  box-shadow: 0 0 0 3px rgba(197, 155, 109, 0.2);
}

/* -------------------------------------------------------------
   STEP 5: PAYMENT (SRI LANKA TAILORED)
   ------------------------------------------------------------- */
.payment-options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.payment-method-card {
  background: #ffffff;
  border: 2px solid #edf0f5;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
}

.payment-method-card:hover {
  border-color: var(--salon-gold);
}

.payment-method-card.selected {
  border-color: var(--salon-gold);
  background: #fffaf4;
}

.payment-card-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.payment-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--salon-gold);
}

.payment-card-text h6 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e242d;
}

.payment-card-text small {
  font-size: 0.8rem;
  color: #64748b;
}

.credit-card-fields {
  background: #f8fafc;
  border-radius: 14px;
  padding: 18px;
  border: 1.5px dashed #cbd5e1;
  margin-top: 10px;
  display: none;
}

.credit-card-fields.show {
  display: block;
}

/* -------------------------------------------------------------
   STEP 6: CONFIRMATION (COLOMBO SALON)
   ------------------------------------------------------------- */
.confirmation-container {
  background: linear-gradient(135deg, #15181f 0%, #262a34 100%);
  border-radius: 18px;
  padding: 32px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  text-align: center;
}

.confirmation-glow-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(197, 155, 109, 0.25);
  border: 2px solid var(--salon-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  font-size: 2rem;
  color: var(--salon-gold);
  box-shadow: 0 0 25px var(--salon-gold-glow);
}

.confirmation-container h3 {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.confirmation-subtitle {
  color: var(--salon-gold);
  font-size: 0.95rem;
  margin-bottom: 22px;
  font-weight: 500;
}

.confirmed-details-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 16px 20px;
  text-align: left;
  margin-bottom: 22px;
}

.confirmed-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

.confirmed-row:last-child {
  border-bottom: none;
}

.confirmed-label {
  color: rgba(255, 255, 255, 0.7);
}

.confirmed-value {
  color: #ffffff;
  font-weight: 600;
}

.confirmation-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cal-action {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-cal-action:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

.btn-manage-booking {
  background: var(--salon-gold);
  border: 1px solid var(--salon-gold);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-manage-booking:hover {
  background: var(--salon-gold-hover);
  color: #fff;
}

/* Footer */
.wizard-modal-footer {
  background: #ffffff;
  padding: 18px 30px;
  border-top: 1px solid #ededed;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.selected-summary-peek {
  font-size: 0.88rem;
  color: #475569;
}

.selected-summary-peek strong {
  color: #0f766e;
  font-weight: 700;
}

.wizard-nav-btns {
  display: flex;
  gap: 10px;
}

.btn-wizard-back {
  background: #f1f5f9;
  color: #475569;
  border: none;
  padding: 10px 22px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-wizard-back:hover {
  background: #e2e8f0;
}

.btn-wizard-next {
  background: linear-gradient(135deg, #c59b6d, #b08453);
  color: #ffffff;
  border: none;
  padding: 10px 26px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--salon-gold-glow);
  transition: all 0.2s ease;
}

.btn-wizard-next:hover {
  background: linear-gradient(135deg, #d4a779, #be905d);
  transform: translateY(-1px);
}
