/* ============================================================
   BOOKING PAGE STYLES
   ============================================================ */

.booking-page {
  min-height: 100vh;
  padding-top: 90px;
  padding-bottom: 80px;
}

.booking-header {
  margin-bottom: 40px;
}
.back-link {
  display: inline-block;
  color: var(--text-2);
  font-size: 0.88rem;
  margin-bottom: 16px;
  transition: color 0.2s;
}
.back-link:hover { color: var(--gold); }
.booking-header h1 { margin-bottom: 8px; }
.booking-header h1 em { color: var(--gold); font-style: italic; }

/* ── PROGRESS ─────────────────────────────────────────────── */
.booking-progress {
  display: flex;
  align-items: center;
  margin-bottom: 48px;
  overflow-x: auto;
  padding-bottom: 4px;
}

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

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-3);
  background: var(--dark-2);
  transition: all 0.3s;
}

.step.active .step-circle {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 0 16px rgba(201,168,76,0.4);
}

.step.done .step-circle {
  border-color: var(--green);
  background: var(--green);
  color: var(--black);
}
.step.done .step-circle::before { content: '✓'; }
.step.done .step-circle span { display: none; }

.step-label {
  font-size: 0.72rem;
  color: var(--text-3);
  white-space: nowrap;
  transition: color 0.3s;
}
.step.active .step-label { color: var(--gold); font-weight: 600; }
.step.done  .step-label  { color: var(--green); }

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 8px;
  margin-bottom: 22px;
  min-width: 20px;
}

/* ── BOOKING BODY ─────────────────────────────────────────── */
.booking-body {
  max-width: 640px;
  margin: 0 auto;
}

.booking-step {
  display: none;
  animation: fadeSlide 0.25s ease;
}
.booking-step.active { display: block; }

@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--text);
}

.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  gap: 12px;
}

/* ── STEP 1: TIPE ─────────────────────────────────────────── */
.type-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.type-card {
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 20px;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s;
  position: relative;
}
.type-card:hover {
  border-color: var(--gold-dim);
  background: var(--gold-bg);
}
.type-card.selected {
  border-color: var(--gold);
  background: var(--gold-bg);
}
.type-card.selected::after {
  content: '✓';
  position: absolute;
  top: 12px; right: 14px;
  width: 22px; height: 22px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--black);
  font-weight: 700;
}
.type-emoji  { font-size: 2.5rem; margin-bottom: 12px; }
.type-name   { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.type-desc   { font-size: 0.82rem; color: var(--text-2); }
.type-note   {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--gold);
  background: var(--gold-bg);
  padding: 2px 8px;
  border-radius: 999px;
  display: inline-block;
}

/* ── STEP 2: LAYANAN ──────────────────────────────────────── */
.service-select-list { margin-bottom: 8px; }

.service-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  cursor: pointer;
  margin-bottom: 10px;
  transition: all 0.2s;
}
.service-option:hover { border-color: var(--gold-dim); }
.service-option.selected {
  border-color: var(--gold);
  background: var(--gold-bg);
}
.service-option-icon { font-size: 1.4rem; width: 36px; text-align: center; }
.service-option-info { flex: 1; }
.service-option-name { font-weight: 600; font-size: 0.95rem; }
.service-option-meta { font-size: 0.78rem; color: var(--text-2); margin-top: 2px; }
.service-option-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}
.service-option-unavail {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ── STEP 3: JADWAL ───────────────────────────────────────── */
.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 8px;
}

.schedule-col .form-label { margin-bottom: 8px; display: block; }

.slots-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slot-btn {
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--dark-3);
  color: var(--text);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.slot-btn:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold);
}
.slot-btn.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  font-weight: 700;
}
.slot-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* ── STEP 5: SUMMARY ──────────────────────────────────────── */
.summary-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.summary-header {
  background: var(--dark-3);
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-2);
  font-weight: 700;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  gap: 20px;
}
.summary-row:last-child { border-bottom: none; }
.summary-label {
  font-size: 0.82rem;
  color: var(--text-2);
  flex-shrink: 0;
  min-width: 90px;
}
.summary-value {
  font-size: 0.9rem;
  color: var(--text);
  text-align: right;
}
.summary-row.total .summary-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 700;
}

@media (max-width: 600px) {
  .type-cards    { grid-template-columns: 1fr; }
  .schedule-grid { grid-template-columns: 1fr; }
}
