/* ImmiPath — styles communs des pages candidat (connexion, mon espace, paiement). Couleurs : theme.css */
[hidden] { display: none !important; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; background: var(--ip-bg); color: var(--ip-text); min-height: 100vh; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.top { background: var(--ip-navy); color: #fff; padding: 10px 16px; position: sticky; top: 0; z-index: 10; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.top .in { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top img { height: 36px; display: block; }
.top nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.top nav a, .top nav button { color: #dbeafe; font: 600 13px/1 inherit; font-family: inherit; text-decoration: none; padding: 8px 10px; border-radius: 8px; background: none; border: 0; cursor: pointer; }
.top nav a:hover, .top nav button:hover { background: rgba(255,255,255,.1); color: #fff; }
.top nav .cta { background: var(--ip-red); color: #fff; }
.top nav .cta:hover { background: var(--ip-red-hover); }
main { max-width: 1080px; margin: 0 auto; padding: 28px 16px 56px; }
h1 { font-size: 26px; font-weight: 800; letter-spacing: -.3px; }
.sub { color: var(--ip-muted); font-size: 14px; margin-top: 4px; }
.card { background: var(--ip-card); border: 1px solid var(--ip-line); border-radius: 16px; padding: 22px; box-shadow: 0 2px 14px rgba(27,42,74,.06); }
.label { font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--ip-muted); margin-bottom: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 13px 20px; font: 700 15px/1.1 inherit; font-family: inherit; cursor: pointer; text-decoration: none; transition: background .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn.red { background: var(--ip-red); color: #fff; box-shadow: 0 6px 18px rgba(200,16,46,.22); }
.btn.red:hover { background: var(--ip-red-hover); }
.btn.navy { background: var(--ip-navy); color: #fff; }
.btn.navy:hover { background: var(--ip-navy-hover); }
.btn.ghost { background: #fff; color: var(--ip-navy); border: 1.5px solid var(--ip-line-strong); }
.btn.ghost:hover { border-color: var(--ip-navy); }
.btn[disabled] { opacity: .55; cursor: wait; }
.btn.full { width: 100%; }
form { display: grid; gap: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label.f { display: grid; gap: 5px; font-size: 13px; font-weight: 600; }
input, select, textarea { font: inherit; font-size: 15px; padding: 11px 12px; border: 1.5px solid var(--ip-line-strong); border-radius: 10px; background: #fff; color: var(--ip-text); width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ip-navy); box-shadow: 0 0 0 3px rgba(27,42,74,.14); }
.msg { font-size: 13px; border-radius: 10px; padding: 10px 12px; line-height: 1.5; display: none; }
.msg.on { display: block; }
.msg.err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.msg.ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.demo { background: #fff8e6; border: 1px solid #f5c451; color: #7a4b00; font-size: 12.5px; border-radius: 10px; padding: 10px 12px; line-height: 1.5; }
.pill { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
.pill.ok { background: #d1fae5; color: #065f46; } .pill.wait { background: #fef3c7; color: #92400e; } .pill.off { background: #f1f5f9; color: #475569; } .pill.red { background: #fee2e2; color: #991b1b; }
.muted { color: var(--ip-muted); }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--ip-muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--ip-line); }
table.t td { padding: 11px 10px; border-bottom: 1px solid var(--ip-line); vertical-align: middle; }
.scroll-x { overflow-x: auto; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } h1 { font-size: 22px; } .top nav a.hide-sm { display: none; } }
/* Rappel « spam » et bouton « Renvoyer l'e-mail de confirmation » */
.msg .petit { display: block; font-size: 11.5px; opacity: .85; margin-top: 8px; }
.msg span.petit { display: inline; }
.msg .lien { margin-top: 8px; background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--ip-navy, #1B2A4A); text-decoration: underline; cursor: pointer; }
.msg .lien:disabled { opacity: .55; cursor: default; text-decoration: none; }

/* Mot de passe : bouton afficher / masquer */
.mdp { position: relative; display: block; }
.mdp input { width: 100%; padding-right: 42px !important; }
.mdp .oeil { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #6B7280; cursor: pointer; padding: 6px; display: grid; place-items: center; border-radius: 6px; }
.mdp .oeil:hover { color: var(--ip-navy, #1B2A4A); background: rgba(27,42,74,.06); }
/* Téléphone : indicatif + numéro */
.tel { display: grid; grid-template-columns: minmax(0, 132px) minmax(0, 1fr); gap: 8px; }
.tel select { min-width: 0; }
/* Captcha */
.captcha { display: flex; justify-content: center; min-height: 0; }
.captcha:not(:empty) { margin-top: 4px; }
/* Jauge de sécurité du mot de passe */
.jauge { margin-top: 7px; font-size: 12px; }
.jg-barre { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.jg-barre i { height: 5px; border-radius: 3px; background: #E5E7EB; transition: background .2s; }
.jauge.n1 .jg-barre i:nth-child(-n+1) { background: #DC2626; }
.jauge.n2 .jg-barre i:nth-child(-n+2) { background: #F59E0B; }
.jauge.n3 .jg-barre i:nth-child(-n+3) { background: #10B981; }
.jauge.n4 .jg-barre i { background: #047857; }
.jg-lib { margin-top: 5px; color: var(--ip-muted); font-weight: 600; min-height: 0; }
.jauge.n1 .jg-lib { color: #B91C1C; } .jauge.n2 .jg-lib { color: #B45309; } .jauge.n3 .jg-lib, .jauge.n4 .jg-lib { color: #047857; }
.jg-regles { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; color: var(--ip-muted); font-weight: 500; }
.jg-regles li::before { content: "○ "; } .jg-regles li.ok { color: #047857; } .jg-regles li.ok::before { content: "✓ "; font-weight: 800; }
