/* =====================================================================
   NETA-NKÁB — Création de compte (s'appuie sur auth.css)
   ===================================================================== */
.in-page .au-main { align-items: flex-start; padding-top: 18px; }
.in-card { max-width: 680px; }
.in-head { display: flex; flex-direction: column; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--au-line); }
.in-req { color: #b91c1c; font-weight: 700; }
.in-opt { font-weight: 400; color: var(--au-muted); }

/* ---------- Étapes ---------- */
.in-steps { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.in-steps li { flex: 1; display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 3px solid var(--au-line); font-size: 12.5px; color: var(--au-muted); min-width: 0; }
.in-steps li span { flex: 0 0 auto; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--au-line); background: #fff; font-size: 11px; font-weight: 700; }
.in-steps li em { font-style: normal; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.in-steps li.done { border-top-color: var(--nk-navy, #00274d); color: var(--au-text); }
.in-steps li.done span { background: var(--nk-navy, #00274d); border-color: var(--nk-navy, #00274d); color: #fff; font-size: 0; }
.in-steps li.done span::before { content: '\f00c'; font: 900 10px 'Font Awesome 6 Free'; }
.in-steps li.current { border-top-color: var(--nk-orange, #ffa000); color: var(--au-ink); }
.in-steps li.current span { border-color: var(--nk-orange, #ffa000); background: var(--nk-orange, #ffa000); color: #fff; }

.in-step-title { margin: 0; font-family: var(--nk-font-text, 'Open Sans', Arial, sans-serif) !important; font-size: 16px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--au-ink); }
.in-step-sub { margin: 3px 0 18px; font-size: 13px; color: var(--au-muted); }
.in-step { animation: inIn .2s ease-out; }
@keyframes inIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }

/* ---------- Rôles ---------- */
.in-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.in-role { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--au-line); border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.in-role:hover { border-color: #cbd5e1; }
.in-role input { position: absolute; opacity: 0; pointer-events: none; }
.in-role-ic { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #f1f5f9; color: var(--nk-navy, #00274d); font-size: 16px; transition: background .15s, color .15s; }
.in-role-txt { display: flex; flex-direction: column; min-width: 0; padding-right: 18px; }
.in-role-txt strong { font-size: 14px; color: var(--au-ink); }
.in-role-txt small { font-size: 12.5px; color: var(--au-muted); line-height: 1.4; }
.in-role-check { position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #cbd5e1; background: #fff; color: transparent; font-size: 9px; }
.in-role:has(input:checked) { border-color: var(--nk-orange, #ffa000); background: #fffaf0; box-shadow: 0 0 0 3px rgba(255, 160, 0, .12); }
.in-role:has(input:checked) .in-role-ic { background: var(--nk-orange, #ffa000); color: #fff; }
.in-role:has(input:checked) .in-role-check { background: var(--nk-orange, #ffa000); border-color: var(--nk-orange, #ffa000); color: #fff; }
.in-role:has(input:focus-visible) { outline: 2px solid var(--nk-navy, #00274d); outline-offset: 2px; }
.in-info { display: flex; gap: 8px; margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; background: #eff6ff; border: 1px solid #bfdbfe; font-size: 12.5px; color: #1e3a8a; }
.in-info i { margin-top: 3px; }

/* ---------- Champs ---------- */
.in-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.in-full { grid-column: 1 / -1; }
.in-page .au-label { display: block; margin-bottom: 6px; }
.in-input { padding: 0 12px; }
.in-page .au-input.err { border-color: #f87171; }
.in-page .au-input.err:focus { box-shadow: 0 0 0 3px rgba(248, 113, 113, .18); }

.in-seg { display: flex; padding: 3px; gap: 3px; border: 1px solid var(--au-line); border-radius: 8px; background: #f8fafc; }
.in-seg label { flex: 1; margin: 0; cursor: pointer; }
.in-seg input { position: absolute; opacity: 0; pointer-events: none; }
.in-seg span { display: flex; align-items: center; justify-content: center; min-height: 34px; padding: 4px 8px; border-radius: 6px; font-size: 13px; font-weight: 600; color: var(--au-muted); text-align: center; line-height: 1.3; transition: background .15s, color .15s; }
.in-seg label:hover span { color: var(--au-ink); }
.in-seg input:checked + span { background: #fff; color: var(--au-ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
.in-seg input:focus-visible + span { outline: 2px solid var(--nk-navy, #00274d); }
.in-seg.err { border-color: #f87171; }

.in-file { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px dashed #cbd5e1; border-radius: 10px; background: #fcfdfe; cursor: pointer; transition: border-color .15s, background .15s; }
.in-file:hover { border-color: var(--nk-orange, #ffa000); background: #fffaf0; }
.in-file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.in-file.has { border-style: solid; border-color: #86efac; background: #f0fdf4; }
.in-file.err { border-color: #f87171; }
.in-file-ic, .in-avatar { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: #f1f5f9; color: var(--nk-navy, #00274d); font-size: 18px; overflow: hidden; }
.in-avatar { border-radius: 50%; }
.in-avatar img { width: 100%; height: 100%; object-fit: cover; }
.in-file.has .in-file-ic { background: #dcfce7; color: #15803d; }
.in-file-txt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.in-file-txt strong { font-size: 13.5px; color: var(--au-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.in-file-txt small { font-size: 12px; color: var(--au-muted); }
.in-file-btn { height: 34px; font-size: 12.5px; pointer-events: none; }

.in-rules { grid-template-columns: repeat(3, auto); justify-content: start; margin: -4px 0 4px; }
.in-rules i { font-size: 6px; vertical-align: middle; }
.in-rules li.ok i::before { content: '\f00c'; font-size: 10px; }

/* ---------- Consentement ---------- */
.in-consent { margin-top: 18px; padding: 14px; border: 1px solid var(--au-line); border-radius: 10px; background: #f8fafc; }
.in-consent.err { border-color: #f87171; background: #fef2f2; }
.in-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--au-text); cursor: pointer; }
.in-check input { position: absolute; opacity: 0; pointer-events: none; }
.in-box { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; display: grid; place-items: center; border: 1px solid #94a3b8; border-radius: 4px; background: #fff; color: transparent; font-size: 10px; transition: background .15s, border-color .15s; }
.in-check input:checked + .in-box { background: var(--nk-orange, #ffa000); border-color: var(--nk-orange, #ffa000); color: #fff; }
.in-check input:focus-visible + .in-box { outline: 2px solid var(--nk-navy, #00274d); outline-offset: 2px; }
.in-linkbtn { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--nk-navy, #00274d); text-decoration: underline; text-decoration-color: #cbd5e1; text-underline-offset: 2px; cursor: pointer; }
.in-linkbtn:hover { text-decoration-color: var(--nk-navy, #00274d); }

/* ---------- Navigation ---------- */
.in-nav { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--au-line); }
.in-nav #inNext { margin-left: auto; min-width: 150px; }
.in-count { font-size: 12px; color: var(--au-muted); }
.in-nav #inPrev:not([hidden]) + .in-count { margin-left: 4px; }

/* ---------- Fenêtres ---------- */
.in-recap { max-width: 440px; }
.in-recap-list { margin: 14px 0 0; text-align: left; border: 1px solid var(--au-line); border-radius: 8px; overflow: hidden; }
.in-recap-list div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--au-line); font-size: 13px; }
.in-recap-list div:last-child { border-bottom: 0; }
.in-recap-list dt { margin: 0; color: var(--au-muted); font-weight: 600; font-size: 12px; }
.in-recap-list dd { margin: 0; color: var(--au-ink); word-break: break-word; }
.in-small { margin-top: 8px !important; font-size: 12.5px !important; color: var(--au-muted) !important; }
.in-page .au-legal a { color: inherit; }
.au-btn.loading { pointer-events: none; opacity: .8; }

@media (max-width: 600px) {
  .in-page .au-main { padding: 0 0 24px; }
  .in-card { border-radius: 0; border-left: 0; border-right: 0; }
  .in-roles, .in-grid { grid-template-columns: 1fr; }
  .in-steps li em { display: none; }
  .in-steps li.current em { display: inline; }
  .in-rules { grid-template-columns: 1fr 1fr; }
  .in-seg-wide { flex-direction: column; }
  .in-recap-list div { grid-template-columns: 1fr; gap: 0; }
  .in-nav #inNext { min-width: 0; flex: 1; }
  .in-count { display: none; }
}
