/* =============================================
   MyPreciousEyelash — Booking Modal Styles
   Multi-person + multi-service booking flow
============================================= */

/* ---------- BACKDROP & MODAL ---------- */
.booking-backdrop {
  background: rgba(20,30,30,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.booking-modal {
  animation: bookingSlideUp .32s cubic-bezier(.22,.9,.3,1);
}

@keyframes bookingSlideUp {
  from { transform: translateY(100%); opacity: .3; }
  to   { transform: translateY(0);    opacity: 1; }
}

.booking-modal.closing {
  animation: bookingSlideDown .25s ease forwards;
}

@keyframes bookingSlideDown {
  from { transform: translateY(0);    opacity: 1; }
  to   { transform: translateY(100%); opacity: 0; }
}


/* ---------- CALENDAR ---------- */
.cal-day {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  border-radius: 9999px;
  color: #2F2926;
  transition: all .15s ease;
  cursor: pointer;
  user-select: none;
}
.cal-day:hover:not(.disabled):not(.selected) {
  background: #E5F1F1;
  color: #2A7F7F;
}
.cal-day.disabled {
  color: #CFC6BE;
  cursor: not-allowed;
  text-decoration: line-through;
}
.cal-day.today {
  font-weight: 700;
  color: #2A7F7F;
}
.cal-day.selected {
  background: #2A7F7F;
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(42,127,127,.35);
}
.cal-day.empty {
  cursor: default;
}


/* ---------- TIME SLOTS ---------- */
.time-slot {
  border: 1px solid #E8DDD3;
  border-radius: 10px;
  padding: 10px 0;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: #2F2926;
  background: white;
  transition: all .15s ease;
  cursor: pointer;
}
.time-slot:hover:not(.disabled) {
  border-color: #2A7F7F;
  color: #2A7F7F;
}
.time-slot.selected {
  background: #2A7F7F;
  border-color: #2A7F7F;
  color: white;
  box-shadow: 0 4px 12px rgba(42,127,127,.28);
}
.time-slot.disabled {
  color: #CFC6BE;
  background: #FAF6F2;
  cursor: not-allowed;
  border-color: #F0E9E3;
}


/* ---------- SERVICE OPTIONS ---------- */
.service-option {
  border: 1.5px solid #E8DDD3;
  border-radius: 14px;
  background: white;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all .15s ease;
  cursor: pointer;
}
.service-option:hover {
  border-color: #2A7F7F80;
}
.service-option.selected {
  border-color: #2A7F7F;
  background: #E5F1F1;
  box-shadow: 0 4px 14px rgba(42,127,127,.14);
}
.service-option .check {
  opacity: 0;
  transform: scale(.6);
  transition: all .2s ease;
}
.service-option.selected .check {
  opacity: 1;
  transform: scale(1);
}


/* ---------- CATEGORY TABS ---------- */
.cat-tab {
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid #E8DDD3;
  background: white;
  color: #6B6259;
  transition: all .15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.cat-tab.active {
  background: #2A7F7F;
  border-color: #2A7F7F;
  color: white;
  box-shadow: 0 4px 12px rgba(42,127,127,.25);
}


/* ---------- CATEGORY TABS (DESKTOP) ---------- */
.cat-tab-desktop {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1.5px solid #E8DDD3;
  background: white;
  color: #2F2926;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  transition: all .18s ease;
  cursor: pointer;
  width: 100%;
}
.cat-tab-desktop:hover {
  border-color: #2A7F7F80;
  background: #FBF8F5;
}
.cat-tab-desktop.active {
  border-color: #2A7F7F;
  background: #E5F1F1;
  color: #2A7F7F;
  box-shadow: 0 4px 14px rgba(42,127,127,.12);
}
.cat-tab-desktop.active span:first-of-type {
  color: #2A7F7F;
}
.cat-tab-desktop i {
  flex-shrink: 0;
}


/* ---------- STEP PROGRESS DOTS ---------- */
.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #E8DDD3;
  transition: all .25s ease;
}
.step-dot.active {
  width: 26px;
  background: #2A7F7F;
}
.step-dot.done {
  background: #2A7F7F;
}


/* ---------- MODAL OPEN STATE ---------- */
body.modal-open {
  overflow: hidden;
}


/* ---------- SUMMARY BOX ---------- */
.summary-box {
  background: #F5EDE6;
  border-radius: 16px;
  padding: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 4px 0;
}
.summary-row .label {
  color: #8B7B6D;
}
.summary-row .value {
  color: #2F2926;
  font-weight: 600;
  text-align: right;
  max-width: 60%;
}


/* ---------- SUCCESS PULSE ---------- */
.success-pulse {
  animation: bookingPulse 2s ease infinite;
}
@keyframes bookingPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(42,127,127,.4); }
  50%      { box-shadow: 0 0 0 16px rgba(42,127,127,0); }
}


/* ============================================
   RESPONSIVE — Mobile adjustments
============================================ */
@media (max-width: 768px) {
  /* Category tabs horizontal scroll di mobile */
  #servicesTabsDesktop {
    flex-direction: row !important;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
  }
  .cat-tab-desktop {
    width: auto;
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 11px;
  }
  .cat-tab-desktop span:last-child {
    display: none;
  }
}