/* ============================================
   apply.html only — extends details.css + auth.css
   Coaching interest / application form
   ============================================ */

.interest-hero {
  text-align: center;
  max-width: 640px;
  margin: 8px auto 48px;
}
.interest-hero .details-badge { margin-bottom: 18px; }
.interest-hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.interest-hero-note {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 30px;
  line-height: 1.55;
}
.interest-hero .btn { padding-inline: 38px; letter-spacing: 0.02em; }
.interest-trust {
  margin: 16px 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

#interest-form { scroll-margin-top: calc(var(--topbar-h) + 16px); }

/* auth.css's .field-hint uses a negative top margin tuned for a form with
   tighter vertical rhythm — here it overlaps the input/select boxes above it. */
.interest-card .field-hint { margin-top: 6px; }

.interest-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
  padding: 40px;
}
.interest-card .btn-block { margin-top: 6px; }

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 20px;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--navy-mid);
  cursor: pointer;
}
.consent-check input { width: auto; flex-shrink: 0; margin-top: 3px; accent-color: var(--teal); }

.progress-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}
.progress-segment {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--border-soft);
  transition: background-color 0.2s ease;
}
.progress-segment.is-filled { background: var(--teal); }

.step-label {
  display: block;
  margin-bottom: 16px;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.step-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.step-nav .btn-outline { flex: 0 0 auto; }
.step-nav .btn-teal { flex: 1; }

/* Single-choice "multiple choice" cards for the level / timeline steps. */
.choice-group { border: 0; padding: 0; margin: 0; }
.choice-group legend {
  padding: 0;
  margin-bottom: 18px;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}
.choice-grid { display: grid; gap: 10px; margin-bottom: 26px; }
.choice-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--bg-lighter);
  cursor: pointer;
  font-size: 0.96rem;
  color: var(--navy);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.choice-option:has(input:checked) { border-color: var(--teal); background: var(--teal-light); }
.choice-option input { width: auto; flex-shrink: 0; accent-color: var(--teal); }

/* Custom searchable dropdown for "Pays de résidence" — native <datalist>
   has little to no suggestion UI on mobile Safari/Chrome. */
.combo-field { position: relative; }
.combo-list {
  position: absolute;
  z-index: 10;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  max-height: 220px;
  overflow-y: auto;
  background: var(--white);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card-hover);
}
.combo-list li {
  padding: 11px 14px;
  font-size: 0.95rem;
  color: var(--navy);
  cursor: pointer;
}
.combo-list li:hover,
.combo-list li.is-active {
  background: var(--teal-light);
}

@media (max-width: 480px) {
  .interest-card { padding: 26px 22px; border-radius: 18px; }
  .step-nav { flex-direction: column-reverse; }
  .step-nav .btn { width: 100%; }
}
