/* ============ AUTH / ONBOARDING LAYOUT ============ */
.auth-header {
  height: 76px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}
.auth-header .back-link {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 6px;
}
.auth-header .back-link:hover { color: white; }

.auth-progress-wrap { background: var(--navy); padding: 0 32px 18px; }
.auth-progress-label {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 720px; margin: 0 auto 10px;
  color: rgba(255,255,255,0.85); font-size: 12.5px; font-weight: 600;
}
.auth-progress-label .step-name { color: var(--gold-light); }
.auth-progress-track {
  max-width: 720px; margin: 0 auto;
  height: 6px; background: rgba(255,255,255,0.18); border-radius: 4px; overflow: hidden;
}
.auth-progress-track > div { height: 100%; background: var(--gold); border-radius: 4px; transition: width 0.3s; }

.auth-shell {
  min-height: calc(100vh - 76px);
  display: flex;
  background: var(--ivory);
}
.auth-shell.no-side { justify-content: center; }

.auth-main {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 48px 24px 80px;
}
.auth-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  width: 100%;
  max-width: 620px;
  padding: 38px 42px;
  height: fit-content;
}
.auth-card.wide { max-width: 760px; }

.auth-step-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.auth-card h1 { font-size: 23px; margin-bottom: 6px; }
.auth-card .step-desc { font-size: 13.5px; color: var(--muted); margin-bottom: 28px; }

.auth-sso-panel {
  width: 320px;
  background: var(--light);
  border-left: 1px solid var(--border);
  padding: 48px 32px;
}
.auth-sso-panel h3 { font-size: 16px; margin-bottom: 8px; }
.auth-sso-panel p { font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.sso-btn {
  width: 100%;
  display: flex; align-items: center; gap: 12px;
  background: white; border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 16px; font-size: 13px; font-weight: 500; color: var(--text);
  margin-bottom: 10px;
}
.sso-btn:hover { border-color: var(--gold); background: var(--ivory); }
.sso-btn .ic { font-size: 16px; width: 20px; text-align: center; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sso-btn .ic img { width: 18px; height: 18px; display: block; object-fit: contain; }
.auth-sso-divider { display: flex; align-items: center; gap: 10px; margin: 22px 0; color: var(--muted); font-size: 11.5px; }
.auth-sso-divider::before, .auth-sso-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.sso-note { font-size: 11.5px; color: var(--muted); line-height: 1.6; }

.auth-footer-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--light);
}

.auth-login-link { text-align: center; margin-top: 22px; font-size: 13px; color: var(--muted); }
.auth-login-link a { color: var(--gold); font-weight: 600; }

/* recap blocks (step 6) */
.recap-block { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 16px; overflow: hidden; }
.recap-block-head {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--light); padding: 12px 18px;
}
.recap-block-head h4 { font-size: 13.5px; color: var(--navy); font-family: 'Inter'; font-weight: 600; }
.recap-block-head a { font-size: 12px; color: var(--gold); font-weight: 600; }
.recap-block-body { padding: 16px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.recap-item .k { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; }
.recap-item .v { font-size: 13px; margin-top: 2px; }
.recap-item.full { grid-column: 1 / -1; }

.consent-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12.5px; color: #333; padding: 12px 0;
}
.consent-row input { margin-top: 2px; accent-color: var(--green); width: 16px; height: 16px; }
.consent-row a { color: var(--gold); font-weight: 600; }

/* skills/tags multi-select for step 4 */
.tag-input-box {
  border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px;
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.tag-input-box input { border: none; flex: 1; min-width: 120px; padding: 5px; font-size: 13px; }
.tag-input-box input:focus { outline: none; }

.multi-select-box { display: flex; flex-wrap: wrap; gap: 8px; }
.multi-select-box .opt {
  border: 1px solid var(--border); border-radius: 20px; padding: 7px 14px;
  font-size: 12.5px; background: white; color: var(--text); cursor: pointer;
  display: inline-flex; align-items: center;
}
.multi-select-box .opt input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.multi-select-box .opt.sel,
.multi-select-box .opt:has(input:checked) { background: var(--navy); color: white; border-color: var(--navy); }
.multi-select-box .opt.sel-gold { background: var(--gold); color: white; border-color: var(--gold); }

.contrib-card {
  border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px;
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
}
.contrib-card input { margin-top: 3px; accent-color: var(--green); width: 16px; height: 16px; }
.contrib-card .ic { font-size: 18px; color: var(--gold); }
.contrib-card .t { font-size: 13.5px; font-weight: 600; }
.contrib-card .d { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.contrib-card.sel,
.contrib-card:has(input:checked) { border-color: var(--gold); background: rgba(200,164,93,0.06); }

@media (max-width: 900px) {
  .auth-sso-panel { display: none; }
  .auth-card { padding: 28px 22px; }
}