/* ── BOOKING PAGE ── */

.booking-main {
  min-height: calc(100vh - 70px);
  background: var(--blush-bg);
  padding: 48px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Progress bar */
.progress-bar {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 48px;
  width: 100%;
  max-width: 560px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.step-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--blush);
  background: var(--white);
  transition: all 0.3s;
}

.progress-step.active .step-dot,
.progress-step.done .step-dot {
  border-color: var(--rose);
  background: var(--rose);
}

.step-label {
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-soft);
  white-space: nowrap;
}

.progress-step.active .step-label { color: var(--rose); }

.progress-line {
  flex: 1;
  height: 1px;
  background: var(--blush);
  margin-bottom: 20px;
  transition: background 0.3s;
}

.progress-line.done { background: var(--rose); }

/* Steps */
.booking-step {
  display: none;
  width: 100%;
  max-width: 680px;
  animation: fadeIn 0.25s ease;
}

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

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

.step-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: 2.2rem;
  color: var(--text);
  margin-bottom: 8px;
}

.step-sub {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 32px;
}

/* Service selection */
.service-select-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.service-option input[type="radio"] { display: none; }

.service-option-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1.5px solid var(--blush);
  border-radius: var(--radius);
  padding: 20px 24px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-option input:checked + .service-option-card {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(168, 80, 104, 0.1);
}

.service-option-card:hover { border-color: var(--rose); }

.soc-icon {
  font-size: 1.3rem;
  color: var(--rose);
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.soc-info { flex: 1; }

.soc-info h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 2px;
}

.soc-duration {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.soc-desc {
  font-size: 0.83rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.soc-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--rose);
  font-weight: 300;
  flex-shrink: 0;
}

/* Auth box */
.auth-box {
  background: var(--white);
  border: 1px solid var(--blush);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 24px;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border: 1.5px solid var(--blush);
  border-radius: 50px;
  background: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
  margin-bottom: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.btn-social:hover {
  border-color: var(--rose);
  box-shadow: 0 2px 8px rgba(168, 80, 104, 0.12);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-soft);
  font-size: 0.78rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--blush);
}

.auth-input {
  display: block;
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--blush);
  border-radius: 10px;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text);
  background: var(--blush-bg);
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.2s;
}

.auth-input:focus { border-color: var(--rose); background: var(--white); }

.btn-link {
  background: none;
  border: none;
  color: var(--rose);
  font-size: 0.82rem;
  cursor: pointer;
  display: block;
  margin: 8px auto 0;
  text-decoration: underline;
  font-family: 'Lato', sans-serif;
}

.phone-notice {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--blush-bg);
  border-radius: 10px;
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* Calendar */
.calendar-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.calendar-panel, .time-panel {
  background: var(--white);
  border: 1px solid var(--blush);
  border-radius: var(--radius);
  padding: 24px;
}

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

.cal-nav {
  background: none;
  border: 1.5px solid var(--blush);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 1.1rem;
  color: var(--rose);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.cal-nav:hover { border-color: var(--rose); }

.cal-month-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 6px;
}

.cal-day-name {
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: var(--text-soft);
  padding: 4px 0;
}

.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text);
  transition: background 0.15s, color 0.15s;
}

.cal-day.empty { cursor: default; }
.cal-day.past  { color: var(--text-soft); cursor: not-allowed; opacity: 0.4; }

.cal-day:not(.empty):not(.past):hover {
  background: var(--blush);
  color: var(--rose);
}

.cal-day.selected {
  background: var(--rose);
  color: var(--white);
}

.cal-day.today {
  font-weight: 700;
  color: var(--rose);
}

.time-panel-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-mid);
  margin-bottom: 16px;
}

.time-slots {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 300px;
  overflow-y: auto;
}

.time-slot {
  padding: 10px 14px;
  border: 1.5px solid var(--blush);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.time-slot:hover { border-color: var(--rose); background: var(--blush-bg); }
.time-slot.selected { border-color: var(--rose); background: var(--rose); color: var(--white); }

/* Location */
.location-box {
  background: var(--white);
  border: 1px solid var(--blush);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.location-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.location-label span { text-transform: none; letter-spacing: 0; color: var(--rose); }

.location-note {
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-top: 8px;
  font-style: italic;
}

/* Confirm card */
.confirm-card {
  background: var(--white);
  border: 1px solid var(--blush);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}

.confirm-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--blush);
}

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

.confirm-label {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-soft);
  width: 90px;
  flex-shrink: 0;
  padding-top: 2px;
}

.confirm-value {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.5;
}

.confirm-policy {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.confirm-policy p {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* Step actions */
.step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.btn-next {
  background: var(--rose);
  color: var(--white);
  border: none;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-left: auto;
}

.btn-next:hover:not(:disabled) {
  background: var(--rose-deep);
  transform: translateY(-1px);
}

.btn-next:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-next.full-width { width: 100%; margin-left: 0; }

.btn-back {
  background: none;
  border: none;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  color: var(--text-soft);
  cursor: pointer;
  padding: 10px 0;
  transition: color 0.2s;
}

.btn-back:hover { color: var(--rose); }

/* Confirmed */
.confirmed-wrap {
  text-align: center;
  padding: 20px 0;
}

.confirmed-icon {
  font-size: 3rem;
  color: var(--rose);
  margin-bottom: 16px;
}

/* Error message */
.auth-error {
  color: #c0392b;
  font-size: 0.82rem;
  margin-bottom: 10px;
  padding: 10px 14px;
  background: #fdf0ee;
  border-radius: 8px;
  display: none;
}

/* Responsive */
@media (max-width: 640px) {
  .calendar-layout { grid-template-columns: 1fr; }
  .auth-box { padding: 24px 18px; }
  .step-title { font-size: 1.7rem; }
}
