/* ===== Экраны кандидата поверх common.css — то, чего нет в дизайн-ките ===== */

body { padding: 40px 20px 80px; }

.page { max-width: 560px; margin: 0 auto; }
.page-card { padding: 36px 32px 40px; }
.brand-logo { height: 26px; margin-bottom: 24px; }
.step-tag { display: block; margin-bottom: 8px; }
.page-title { font-size: 22px; font-weight: 700; margin-bottom: 24px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) {
  .two-col { grid-template-columns: 1fr; }
  .page-card { padding: 28px 20px 32px; }
}

.errorlist {
  list-style: none; margin: -4px 0 4px; padding: 8px 12px;
  background: var(--danger-tint); color: var(--danger);
  border-radius: var(--radius-sm); font-size: 13px;
}

/* реальные radio / checkbox, стилизованные под choice-dot / choice-box из common.css */
.choice-group { border: 1.5px solid var(--line-strong); border-radius: var(--radius-md); padding: 4px 16px; margin-bottom: 20px; }
.choice-row label { display: flex; align-items: center; gap: 12px; width: 100%; cursor: pointer; font-size: 15px; }
.choice-row input[type="radio"],
.choice-row input[type="checkbox"] {
  appearance: none; margin: 0; flex: none; width: 20px; height: 20px;
  border: 2px solid var(--line-strong); position: relative; cursor: pointer;
}
.choice-row input[type="radio"] { border-radius: 50%; }
.choice-row input[type="radio"]:checked { border-color: var(--flame); }
.choice-row input[type="radio"]:checked::after {
  content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--flame);
}
.choice-row input[type="checkbox"] { border-radius: 6px; }
.choice-row input[type="checkbox"]:checked { border-color: var(--flame); background: var(--flame); }
.choice-row input[type="checkbox"]:checked::after {
  content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 13px; line-height: 1; color: var(--flame-on); font-weight: 700;
}
.choice-row input:focus-visible { outline: 2.5px solid var(--flame); outline-offset: 2px; }

/* file input спрятан, кликабельна карточка upload-row (сама .upload-row — из apply.html-макета, не common.css) */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.upload-row {
  display: flex; align-items: center; gap: 12px; background: var(--paper);
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius-md); padding: 14px 16px;
}
.upload-row .ic {
  width: 34px; height: 34px; border-radius: 9px; background: var(--flame-tint); color: var(--flame-ink);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.upload-row .meta { min-width: 0; }
.upload-row .meta b { display: block; font-size: 14px; }
.upload-row .meta span { font-size: 12.5px; color: var(--muted); }
label.upload-row { cursor: pointer; }

/* заголовок прогресса — тоже из apply.html-макета */
.progress-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 10px; }

/* статус кандидата */
.status-big { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.status-big .dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.status-big span { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.status-card { border-radius: 14px; padding: 20px; margin-top: 4px; }
.status-card h3 { font-size: 17px; font-weight: 700; }
.status-card p { font-size: 14px; margin-top: 8px; line-height: 1.55; }
.status-card.tone-info { background: var(--info-tint); }
.status-card.tone-info h3 { color: #1F3F63; } .status-card.tone-info p { color: #2C567F; }
.status-card.tone-flame { background: var(--flame-tint); }
.status-card.tone-flame h3 { color: var(--flame-ink); } .status-card.tone-flame p { color: #4B3591; }
.status-card.tone-upcoming { background: var(--upcoming-tint); }
.status-card.tone-upcoming h3 { color: #234F44; } .status-card.tone-upcoming p { color: #336358; }
.status-card.tone-success { background: var(--success-tint); }
.status-card.tone-success h3 { color: #1E5B38; } .status-card.tone-success p { color: #2B6A45; }
.status-card.tone-closed { background: var(--closed-tint); }
.status-card.tone-closed h3 { color: #33384A; } .status-card.tone-closed p { color: #4A4F61; }
.summary-line { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 16px; font-size: 13px; color: var(--muted); line-height: 1.7; }

:focus-visible { outline: 2.5px solid var(--flame); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }
