/* Apply page: Prevue + ADP step cards. Loaded only on apply.php. */

.apply-steps { display: grid; gap: 1.5rem; margin: .5rem auto 1rem; }

.step-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 5px solid var(--navy);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(6, 31, 67, .06), 0 8px 24px rgba(6, 31, 67, .06);
  overflow: hidden;
  transition: opacity .2s ease, filter .2s ease, border-color .2s ease;
}

.step-card-head {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 3vw, 2rem);
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}
.step-card-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; }
.step-card-tag { margin: .15rem 0 0; font-size: .92rem; font-weight: 600; color: var(--slate); }

.step-badge {
  flex: none; width: 2.6rem; height: 2.6rem; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--navy); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 1.3rem;
}

.step-card-body {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3rem); align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
}
.step-card-copy p { max-width: 60ch; }
.step-card-copy p:last-child { margin-bottom: 0; }
.step-card-action { display: flex; justify-content: flex-start; }
.assessment-tips { margin: 0; padding-left: 1.1rem; }
.assessment-tips li { margin-bottom: .35rem; }
.btn-large { font-size: 1.1rem; padding: 1rem 1.8rem; }

.step-card-foot {
  padding: 1rem clamp(1.25rem, 3vw, 2rem) 1.1rem;
  border-top: 1px solid var(--line);
  background: #FBFCFE;
}
.confirm { display: flex; gap: .75rem; align-items: flex-start; font-weight: 600; color: var(--navy); cursor: pointer; }
.confirm input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--navy); flex: none; cursor: pointer; }
.step-card-foot p { margin: .35rem 0 0 2.15rem; }
.step-card-noscript { padding: 0 2rem 1.5rem; margin: 0; }

/* Step 2 once ticked */
.step-card.is-done { border-left-color: var(--ok); }
.step-card.is-done .step-badge { background: var(--ok); }

/* Step 3 greyed out until the box is ticked */
.step-card.is-locked { border-left-color: #B8C0CC; box-shadow: none; }
.step-card.is-locked .step-card-head,
.step-card.is-locked .step-card-body { opacity: .5; filter: grayscale(1); }
.step-card.is-locked .step-badge { background: #8A94A3; }
.step-card.is-locked .btn { pointer-events: none; cursor: not-allowed; background: #8A94A3; border-color: #8A94A3; }

@media (max-width: 760px) {
  .step-card-body { grid-template-columns: 1fr; }
  .step-card-action .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .step-card { transition: none; } }
