/* ─── ONBOARDING PAGE ────────────────────────── */
.ob-page {
  min-height: 100vh;
  padding: 100px 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.ob-page::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(29, 185, 84, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

/* ─── PROGRESS ───────────────────────────────── */
.ob-progress-wrap {
  width: 100%;
  max-width: 560px;
  margin-bottom: 3rem;
}

.ob-steps-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.ob-step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  position: relative;
}

.dot-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.10);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.dot-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.ob-step-dot.active .dot-num {
  border-color: var(--accent);
  background: rgba(29, 185, 84, 0.10);
  color: var(--accent);
  box-shadow: 0 0 16px rgba(29, 185, 84, 0.18);
}

.ob-step-dot.active .dot-label {
  color: var(--accent);
  font-weight: 600;
}

.ob-step-dot.done .dot-num {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.ob-step-dot.done .dot-label {
  color: var(--text-soft);
}

.ob-step-line {
  flex: 1;
  height: 2px;
  background: rgba(0,0,0,0.08);
  min-width: 40px;
  max-width: 80px;
  margin-bottom: 1.4rem;
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

.ob-step-line.done {
  background: linear-gradient(90deg, var(--accent), #0fa04e);
}

/* ─── CONTAINER ──────────────────────────────── */
.ob-container {
  width: 100%;
  max-width: 600px;
  position: relative;
  transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ob-container.wide {
  max-width: 1100px;
}

/* ─── STEP ───────────────────────────────────── */
.ob-step {
  display: none;
  animation: fadeSlideIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.ob-step.active {
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

/* ─── STEP HEADER ────────────────────────────── */
.ob-step-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.ob-step-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ob-step-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--accent);
  stroke-width: 1.5;
}

.ob-step-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 0.5rem;
}

.ob-step-header p {
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ─── CITY SEARCH ────────────────────────────── */
.ob-city-search {
  position: relative;
  width: 100%;
}

.city-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.city-search-icon {
  position: absolute;
  left: 1rem;
  font-size: 1rem;
  pointer-events: none;
  display: flex;
  align-items: center;
  color: var(--text-muted);
}

.city-search-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
}

.city-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all var(--transition);
  outline: none;
}

.city-input:focus {
  border-color: rgba(29, 185, 84, 0.45);
  box-shadow: 0 0 0 3px rgba(29, 185, 84, 0.09);
}

.city-input::placeholder {
  color: var(--text-muted);
}

.city-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  list-style: none;
  overflow: hidden;
  z-index: 50;
  max-height: 240px;
  overflow-y: auto;
  display: none;
  box-shadow: var(--shadow-lg);
}

.city-suggestions.open {
  display: block;
}

.city-suggestions li {
  padding: 0.7rem 1rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-soft);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.city-suggestions li:hover,
.city-suggestions li.highlighted {
  background: rgba(29, 185, 84, 0.07);
  color: var(--text);
}

.city-suggestions li .city-dept {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(0,0,0,0.05);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

/* ─── OPTION CARDS ───────────────────────────── */
.ob-option-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.ob-option-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}

.ob-option-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.ob-option-card.selected {
  border-color: var(--accent);
  background: rgba(29, 185, 84, 0.06);
}

.ob-option-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ob-option-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--text-soft);
}

.ob-option-card.selected .ob-option-icon svg {
  stroke: var(--accent);
}

.ob-option-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.ob-option-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.ob-option-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.ob-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  color: transparent;
  flex-shrink: 0;
  transition: all var(--transition);
}

.ob-option-card.selected .ob-check {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  font-weight: 900;
}

.ob-option-sm {
  padding: 0.75rem 1.25rem;
}

.ob-option-sm .ob-option-label {
  font-size: 0.88rem;
}

/* ─── SUMMARY ────────────────────────────────── */
.ob-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.summary-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  background: var(--accent-subtle);
  border: 1px solid rgba(29, 185, 84, 0.18);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
}

/* ─── NAV ────────────────────────────────────── */
.ob-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

/* ─── COACHES FILTER CHIPS ───────────────────── */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  align-items: center;
}

.active-filters-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  background: var(--accent-subtle);
  border: 1px solid rgba(29, 185, 84, 0.22);
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent);
}

.coaches-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.coaches-count strong {
  color: var(--text);
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.no-results p { margin-top: 0.5rem; font-size: 0.88rem; }

/* ─── RESPONSIVE MOBILE ──────────────────────── */
@media (max-width: 640px) {
  .ob-page { padding-top: 84px; }
  .ob-steps-indicator { gap: 0; }
  .ob-step-line { min-width: 20px; }
  .dot-label { display: none; }
  .ob-step-header h2 { font-size: 1.4rem; }
  .ob-option-card { padding: 0.85rem 1rem; }
  .ob-option-sub { display: none; }
}
