/* ── Scheduling Module ── */
.scheduling-page {
  padding: 4rem 1.5rem;
  min-height: 60vh;
}
.scheduling-container {
  max-width: 700px;
  margin: 0 auto;
}
.scheduling-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: .5rem;
}
.scheduling-subtitle {
  text-align: center;
  opacity: .7;
  margin-bottom: 2.5rem;
}

/* Steps indicator */
.scheduling-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: nowrap;
  gap: 0;
}
.sched-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  font-size: .75rem;
  opacity: .4;
  transition: opacity .25s;
  white-space: nowrap;
}
.sched-step.active { opacity: 1; }
.sched-step.done   { opacity: .7; }
.sched-step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--color-surface, #1e293b);
  border: 2px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700;
  transition: background .25s, border-color .25s;
}
.sched-step.active .sched-step-num {
  background: var(--color-primary, #6366f1);
  border-color: var(--color-primary, #6366f1);
  color: #fff;
}
.sched-step.done .sched-step-num {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}
.sched-step-bar {
  flex: 1;
  min-width: 20px;
  height: 2px;
  background: rgba(255,255,255,.1);
  margin: 0 8px;
  align-self: flex-start;
  margin-top: 13px;
}

/* Panels */
.sched-panel { display: none; animation: fadeIn .25s ease; }
.sched-panel.active { display: block; }
.sched-panel-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-align: center;
}

/* Services */
.sched-services {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.sched-service-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--color-surface, #1e293b);
  border: 2px solid rgba(255,255,255,.08);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: border-color .2s, background .2s;
}
.sched-service-card:hover { border-color: var(--color-primary, #6366f1); }
.sched-service-card.selected {
  border-color: var(--color-primary, #6366f1);
  background: rgba(99,102,241,.1);
}
.sched-svc-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .25rem;
}
.sched-svc-info strong { font-size: .95rem; }
.sched-svc-info p { margin: .25rem 0 .25rem; font-size: .875rem; opacity: .7; }
.sched-svc-info small { font-size: .8rem; opacity: .55; }

/* Date input */
.sched-date-input {
  font-size: 1.1rem;
  padding: .75rem 1.25rem;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,.12);
  background: var(--color-surface, #1e293b);
  color: var(--color-text, #e2e8f0);
  cursor: pointer;
  text-align: center;
  margin: 0 auto;
  display: block;
}
.sched-date-input:focus {
  outline: none;
  border-color: var(--color-primary, #6366f1);
}

/* Time slots */
.sched-slots {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  min-height: 60px;
  margin-bottom: 1rem;
}
.sched-time-btn {
  padding: .5rem 1rem;
  background: var(--color-surface, #1e293b);
  border: 2px solid rgba(255,255,255,.1);
  border-radius: 8px;
  cursor: pointer;
  font-size: .9rem;
  color: var(--color-text, #e2e8f0);
  transition: border-color .2s, background .2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sched-time-btn:hover { border-color: var(--color-primary, #6366f1); }
.sched-time-btn.selected {
  border-color: var(--color-primary, #6366f1);
  background: rgba(99,102,241,.15);
  color: #fff;
}

/* Summary */
.sched-summary-box {
  background: var(--color-surface, #1e293b);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  font-size: .9rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

/* Form row */
.sched-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
@media (max-width: 480px) { .sched-form-row { grid-template-columns: 1fr; } }

/* Nav */
.sched-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
}

/* Feedback */
.sched-success {
  background: rgba(16,185,129,.12);
  color: #10b981;
  border: 1px solid rgba(16,185,129,.3);
  border-radius: 8px;
  padding: .75rem 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.sched-error {
  background: rgba(239,68,68,.1);
  color: #ef4444;
  border: 1px solid rgba(239,68,68,.25);
  border-radius: 8px;
  padding: .75rem 1rem;
  margin-bottom: 1rem;
}

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