/* Styles publics WABAA. */








:root {--p1:#0789e8;--p2:#102a56;--ink:#14213d;--muted:#66758a;--line:#dce8f5;--white:#fff;--soft:#f4f9ff;--green:#159447;--shadow:0 24px 70px rgba(16,42,86,.14);}








* {box-sizing:border-box;}






html {background:#edf6ff;}






body {margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:linear-gradient(135deg,#eef7ff 0%,#f8fbff 48%,#eef3ff 100%);min-height:100vh;}






.hidden {display:none!important;}










.public-topbar {height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:relative;z-index:3;}






.brand {display:flex;align-items:center;gap:10px;color:var(--p2);font-size:20px;font-weight:900;text-decoration:none;}






.brand-mark {font-size:27px;}






.top-actions {display:flex;align-items:center;gap:10px;}






.top-link {display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:#fff;background:linear-gradient(135deg,#102a56,#176fd5);padding:10px 15px;border-radius:999px;font-weight:800;font-size:13px;box-shadow:0 8px 22px rgba(16,42,86,.16);}






.top-link:hover {transform:translateY(-1px);}








.public-shell {position:relative;min-height:calc(100vh - 72px);display:grid;place-items:center;padding:38px 24px 60px;overflow:hidden;}






.public-shell:before, .public-shell:after {content:"";position:absolute;border-radius:50%;filter:blur(2px);pointer-events:none;}






.public-shell:before {width:430px;height:430px;background:rgba(7,137,232,.12);top:-170px;left:-130px;}






.public-shell:after {width:520px;height:520px;background:rgba(111,78,255,.08);right:-220px;bottom:-260px;}








.hero {position:relative;z-index:1;width:min(1120px,100%);display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,470px);gap:54px;align-items:center;}






.hero-copy {padding:18px 0;}






.eyebrow {display:inline-flex;padding:7px 11px;border-radius:999px;background:rgba(7,137,232,.1);color:#0767b5;font-size:11px;font-weight:900;letter-spacing:.14em;}






.hero-copy h1 {font-size:clamp(42px,6vw,72px);line-height:.98;letter-spacing:-.045em;margin:18px 0 18px;color:var(--p2);}






.hero-copy h1 strong {color:var(--p1);}






.hero-copy>p {max-width:610px;font-size:18px;line-height:1.65;color:var(--muted);margin:0;}






.hero-points {display:flex;flex-wrap:wrap;gap:10px;margin-top:24px;}






.hero-points span {background:rgba(255,255,255,.78);border:1px solid rgba(220,232,245,.9);border-radius:999px;padding:9px 12px;font-size:12px;font-weight:800;box-shadow:0 8px 22px rgba(16,42,86,.05);}








.auth-card {background:rgba(255,255,255,.94);border:1px solid rgba(255,255,255,.85);border-radius:26px;padding:28px;box-shadow:var(--shadow);backdrop-filter:blur(12px);}






.tabs {display:grid;grid-template-columns:1fr 1fr;gap:5px;background:#edf4fb;padding:5px;border-radius:13px;margin-bottom:25px;}






.tab {border:0;background:transparent;color:#65758b;padding:11px;border-radius:9px;font-size:12px;font-weight:900;cursor:pointer;}






.tab.active {background:#fff;color:var(--p2);box-shadow:0 4px 12px rgba(16,42,86,.08);}






.tab-pane h2 {font-size:26px;margin:0 0 6px;}






.muted {color:var(--muted);margin:0 0 20px;font-size:14px;}






.tab-pane form {display:grid;gap:13px;}






.tab-pane label {display:grid;gap:7px;font-size:13px;font-weight:800;}






.tab-pane input {width:100%;}






.optional {font-weight:500;color:var(--muted);}






.message {margin-top:14px;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#f7fbff;color:#30435d;font-size:13px;line-height:1.45;}






.auth-footer {margin-top:20px;padding-top:16px;border-top:1px solid #edf1f6;color:var(--muted);font-size:11px;line-height:1.5;text-align:center;}






.public-footer {text-align:center;padding:0 20px 22px;color:#8390a2;font-size:11px;}








@media(max-width:820px)    {.public-topbar {padding:0 16px;}






.hero {grid-template-columns:1fr;gap:25px;}






.hero-copy {padding:5px 0;text-align:center;}






.hero-copy>p {margin:auto;}






.hero-points {justify-content:center;}






.auth-card {max-width:560px;width:100%;margin:auto;}






.public-shell {padding-top:20px;}






.hero-copy h1 {font-size:46px;}}








@media(max-width:520px)    {.brand {font-size:17px;}






.top-link {font-size:11px;padding:9px 11px;}






.hero-copy h1 {font-size:40px;}






.auth-card {padding:20px;border-radius:20px;}}









.business-router-bar {display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 16px;padding:12px 14px;background:#f7fbff;border:1px solid #dbe8f5;border-radius:12px;}








.business-router-bar label {font-size:12px;font-weight:900;color:#41556f;}








.business-router-bar .select {min-width:230px;}








.business-router-help {font-size:11px;color:#718198;}








.registration-alert {margin:0 0 18px;padding:14px 16px;border:1px solid #f0c36a;border-left:5px solid #e6a21a;border-radius:13px;background:#fff8e8;color:#684d0b;font-size:13px;line-height:1.55;box-shadow:0 8px 20px rgba(120,80,0,.08);}








.registration-alert-title {font-weight:900;font-size:14px;margin-bottom:4px;}








.subscription-card {border:1px solid #dbe8f5;border-radius:16px;padding:20px;background:#fff;}








.subscription-plan {display:flex;align-items:center;justify-content:space-between;gap:15px;}








.subscription-plan h2 {margin:5px 0 0;}








.subscription-label {font-size:11px;font-weight:900;color:#718198;}








.subscription-status {padding:7px 11px;border-radius:999px;background:#e9f8ee;color:#1d7a3a;font-weight:900;font-size:11px;}








.subscription-grid {display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:20px;}








.subscription-grid>div {padding:13px;border:1px solid #edf1f6;border-radius:11px;background:#f9fbfd;}








.subscription-grid small {display:block;color:#718198;margin-bottom:5px;}






.subscription-grid b {font-size:15px;}








.subscription-note {margin-top:15px;padding:12px 14px;border-radius:11px;background:#f7fbff;color:#61728a;font-size:12px;line-height:1.5;}








@media(max-width:700px)    {.subscription-grid {grid-template-columns:1fr 1fr;}






.business-router-bar .select {min-width:100%;width:100%;}}









/* Correctif V15 : la porte publique est visible avant connexion et peut etre masquee apres connexion. */








#publicAuthView {visibility:visible;}








#publicAuthView>.hero {position:relative;z-index:1;width:min(1120px,100%);min-width:0;}








#publicAuthView #connexion {display:block;visibility:visible;width:100%;min-width:0;height:auto;min-height:320px;}








#publicAuthView #loginPane, #publicAuthView #registerPane {width:100%;min-width:0;}








@media(max-width:820px)    {#publicAuthView #connexion {max-width:560px;margin:auto;}}









/* Base graphique WABAA V15 inspiree du style HotSpot valide. */








:root {--wabaa-navy:#102e67;--wabaa-blue:#075fd0;--wabaa-cyan:#18bde7;--wabaa-soft:#eef7ff;--wabaa-line:#d8e8f8;--wabaa-shadow:0 14px 45px rgba(19,67,120,.16);}








body {background:linear-gradient(135deg,#eef7ff,#f8fbff 55%,#edf5ff);color:#123a72;}










.language-switch { display:inline-flex; align-items:center; gap:7px; color:rgba(255,255,255,.94); font-size:13px; font-weight:700; }
.language-switch select { min-height:36px; padding:5px 9px; border:1px solid rgba(255,255,255,.48); border-radius:9px; background:linear-gradient(135deg,rgba(16,59,134,.68),rgba(24,169,223,.5)); color:#fff; font:inherit; }
.language-switch select:focus { outline:2px solid rgba(255,255,255,.72); outline-offset:2px; }
.language-switch select option { background:#126fd5; color:#fff; }

.terms-consent{margin:16px 0;padding:16px;border:1px solid var(--border-color,#dbe4ef);border-radius:14px;background:var(--surface,#fff)}.terms-consent h3{margin:0 0 8px}.terms-consent-actions{display:flex;flex-wrap:wrap;gap:10px}.terms-consent-actions button:disabled{opacity:.55;cursor:not-allowed}.terms-consent-status{min-height:1.2em;margin:8px 0 0}.terms-dialog{width:min(760px,calc(100vw - 32px));max-height:85vh;border:1px solid #d7dee8;border-radius:16px;padding:20px;color:#273449;background:#fff;box-shadow:0 24px 80px #0005}.terms-dialog::backdrop{background:#101827aa}.terms-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:16px}.terms-dialog-header h2{margin:0}.terms-dialog-content{white-space:pre-wrap;overflow:auto;max-height:68vh;font:inherit;line-height:1.55;margin:18px 0 0}.terms-editor{display:block;width:100%;min-height:400px;margin:8px 0;white-space:pre-wrap;font:inherit;line-height:1.5}.terms-editor-hint{color:var(--text-muted,#64748b);font-size:.92rem}
