:root { --ink:#071d44; --muted:#4f6e91; --blue:#0868d8; --green:#08b96e; --line:#b8d2e8; }
html, body.auth-page { min-height:100%; margin:0; }
body.auth-page { overflow-x:hidden; color:var(--ink); background:#e8fbff; font-family:Inter,"Segoe UI",Arial,sans-serif; }
body.auth-page *, body.auth-page *::before, body.auth-page *::after { box-sizing:border-box; }
.auth-shell-premium, .auth-frame, .auth-frame-body { min-height:100vh; min-height:100dvh; }
.auth-shell-premium { background:linear-gradient(135deg,#f4fdff 0%,#ddf9fb 51%,#d8ffef 100%); }
.auth-frame-body { display:grid; grid-template-columns:1fr 1fr; }
.auth-illustration-panel { position:relative; z-index:0; display:flex; overflow:hidden; padding:clamp(38px,5vw,78px); align-items:flex-start; justify-content:center; flex-direction:column; color:var(--ink); isolation:isolate; background:#126b70 url('../images/public/hero-community-photo.webp') center / cover no-repeat; }
.auth-illustration-panel::before { position:absolute; z-index:-1; inset:0; content:""; background:linear-gradient(90deg,rgba(252,255,255,.82),rgba(247,255,254,.56) 48%,rgba(236,255,246,.08)),linear-gradient(0deg,rgba(0,54,83,.7),transparent 48%); }
.auth-illustration-panel::after { position:absolute; z-index:-1; right:-8vw; bottom:-12vw; width:70vw; height:23vw; content:""; background:linear-gradient(128deg,rgba(3,87,130,.96),rgba(8,187,105,.93)); border-radius:52% 0 0 0; transform:rotate(-8deg); }
.auth-public-brand { position:absolute; top:clamp(29px,4vw,56px); left:clamp(38px,5vw,78px); width:242px; }
.auth-public-brand img { display:block; width:100%; height:auto; }
.auth-illustration-copy { position:relative; max-width:585px; margin-top:72px; }
.auth-panel-eyebrow { display:inline-flex; align-items:center; gap:8px; margin-bottom:18px; color:#315172; font-size:11px; font-weight:850; letter-spacing:.18em; text-transform:uppercase; }
.auth-panel-eyebrow i { color:var(--green); font-size:15px; }
.auth-illustration-copy h2 { max-width:570px; margin:0; color:var(--ink); font-size:clamp(43px,4vw,68px); font-weight:850; line-height:.98; letter-spacing:-.055em; text-shadow:0 2px 15px rgba(255,255,255,.45); }
.auth-illustration-copy h2 em { display:block; color:#08af68; font-style:normal; }
.auth-illustration-copy p { max-width:510px; margin:28px 0 0; color:#183b62; font-size:18px; font-weight:550; line-height:1.52; text-shadow:0 1px 8px rgba(255,255,255,.36); }
.auth-panel-features { display:flex; flex-wrap:wrap; gap:26px; margin-top:31px; }
.auth-panel-features span { display:flex; width:104px; flex-direction:column; gap:4px; color:#0b274e; font-size:12px; font-weight:650; line-height:1.22; }
.auth-panel-features i { display:grid; width:56px; height:56px; margin-bottom:5px; place-items:center; color:#0867dc; background:#dff0ff; border-radius:18px; font-size:27px; }
.auth-panel-features span:nth-child(2) i { color:#00a96d; background:#d8f9e9; }
.auth-panel-features span:nth-child(3) i { color:#7544e8; background:#ece4ff; }
.auth-panel-features b { font-size:13px; }
.auth-mission-tag { position:absolute; bottom:clamp(31px,5vw,65px); left:clamp(38px,5vw,78px); display:inline-flex; align-items:center; gap:10px; padding:16px 21px; color:#fff; background:rgba(4,44,79,.84); border:1px solid rgba(255,255,255,.32); border-radius:17px; box-shadow:0 16px 34px rgba(0,31,54,.24); font-size:12px; font-weight:850; letter-spacing:.13em; text-transform:uppercase; backdrop-filter:blur(12px); }
.auth-mission-tag i { color:#7ee2b8; font-size:17px; }
.auth-panel { position:relative; display:flex; min-width:0; padding:clamp(35px,5vw,76px) clamp(30px,4vw,65px) 93px; align-items:center; justify-content:center; flex-direction:column; background:linear-gradient(135deg,#edfbff,#e9fbf4); }
.auth-secure-pill { position:absolute; top:clamp(28px,4vw,52px); right:clamp(30px,5vw,65px); display:inline-flex; min-height:46px; align-items:center; gap:9px; padding:0 18px; color:#164065; background:rgba(255,255,255,.72); border:1px solid #a9cae3; border-radius:999px; font-size:12px; font-weight:850; letter-spacing:.04em; text-transform:uppercase; }
.auth-secure-pill i { color:var(--green); font-size:20px; }
.auth-card { width:min(100%,650px); padding:clamp(34px,4vw,58px); background:rgba(252,254,255,.94); border:1px solid rgba(255,255,255,.98); border-radius:28px; box-shadow:0 24px 65px rgba(29,100,130,.16); }
.auth-kicker { display:block; margin-bottom:13px; color:#069e60; font-size:11px; font-weight:900; letter-spacing:.15em; text-transform:uppercase; }
.auth-card h1 { margin:0 0 13px; color:#061a40; font-size:clamp(34px,3vw,46px); font-weight:850; line-height:1.04; letter-spacing:-.048em; }
.auth-subtitle { margin:0 0 31px; color:#3f6287; font-size:16px; font-weight:520; line-height:1.6; }
.auth-form .mb-3 { margin-bottom:20px !important; }
.auth-form .form-label { display:block; margin-bottom:8px; color:#294c76; font-size:13px; font-weight:850; }
.auth-input-wrap { position:relative; }
.auth-input-wrap > i:first-child { position:absolute; top:50%; left:18px; z-index:1; color:#356998; transform:translateY(-50%); font-size:18px; pointer-events:none; }
.auth-input-wrap .form-control { width:100%; min-height:64px; padding:14px 52px; color:#0a2a54; background:#fff; border:1px solid #a9c8e6; border-radius:15px; font-size:15px; font-weight:600; box-shadow:0 1px 2px rgba(12,72,116,.03); transition:border-color .18s,box-shadow .18s; }
.auth-input-wrap .form-control::placeholder { color:#6884a6; opacity:1; }
.auth-input-wrap .form-control:focus { border-color:#1675d5; box-shadow:0 0 0 4px rgba(9,100,214,.14); outline:0; }
.auth-password-toggle { position:absolute; top:50%; right:9px; z-index:5; display:grid; width:41px; height:41px; padding:0; place-items:center; color:#5b789b; cursor:pointer; pointer-events:auto; background:transparent; border:0; border-radius:11px; transform:translateY(-50%); }
.auth-password-toggle:hover, .auth-password-toggle:focus-visible { color:var(--blue); background:#e8f3ff; outline:0; }
.auth-form-options { display:flex; min-height:38px; margin:0 0 22px; align-items:center; justify-content:space-between; gap:14px; }
.auth-form-options .field-loginform-rememberme { margin:0; }
.auth-form-options .form-check { display:flex; align-items:center; gap:8px; margin:0; }
.auth-form-options .form-check-input { width:19px; height:19px; margin:0; border-color:#b7cce4; }
.auth-form-options .form-check-input:checked { background-color:var(--blue); border-color:var(--blue); }
.auth-form-options .form-check-label, .auth-security { color:#526984; font-size:12px; font-weight:750; }
.auth-security { display:inline-flex; align-items:center; gap:7px; white-space:nowrap; }
.auth-security i { color:var(--green); font-size:17px; }
.auth-submit { display:flex; width:100%; min-height:62px; align-items:center; justify-content:center; gap:12px; color:#fff; cursor:pointer; background:linear-gradient(100deg,#0964d6 0%,#087fc0 50%,#0bb467 100%); border:1px solid rgba(0,89,171,.16); border-radius:16px; box-shadow:0 15px 29px rgba(9,100,214,.22),inset 0 1px 0 rgba(255,255,255,.3); font-size:16px; font-weight:850; transition:transform .18s,box-shadow .18s; }
.auth-submit:hover, .auth-submit:focus-visible { color:#fff; box-shadow:0 20px 37px rgba(9,100,214,.3),inset 0 1px 0 rgba(255,255,255,.34); outline:0; transform:translateY(-2px); }
.auth-submit i { font-size:21px; }
.auth-help { display:flex; gap:9px; margin-top:26px; padding:14px 17px; align-items:center; color:#55708f; background:#eef7ff; border-radius:15px; font-size:12px; line-height:1.4; }
.auth-help i { color:var(--blue); font-size:20px; }
.invalid-feedback { margin-top:6px; font-size:11px; }
.auth-frame-footer { position:absolute; right:clamp(30px,5vw,65px); bottom:28px; left:clamp(30px,5vw,65px); display:flex; align-items:center; justify-content:space-between; gap:16px; color:#526f8a; font-size:10px; font-weight:700; }
.login-powered-by { display:inline-flex; min-height:31px; align-items:center; gap:7px; padding:3px 8px 3px 4px; color:#61768e; background:rgba(255,255,255,.62); border:1px solid #d3e2ed; border-radius:9px; font-size:9px; text-decoration:none; }
.login-powered-by .powered-by-icon { display:grid; width:22px; height:22px; place-items:center; color:#07845b; background:#e0f7ed; border-radius:7px; }
.login-powered-by strong { color:#456078; font-weight:850; }
.auth-public-link { display:inline-flex; align-items:center; gap:7px; color:#1271c9; font-size:11px; font-weight:800; text-decoration:none; }
.auth-public-link:hover { color:#07875a; }
@media (max-width:1120px) { .auth-illustration-panel { padding:38px; } .auth-public-brand { top:32px; left:38px; width:210px; } .auth-illustration-copy h2 { font-size:51px; } .auth-panel-features { gap:16px; } }
@media (max-width:899.98px) { .auth-frame-body { display:block; min-height:100dvh; } .auth-illustration-panel { display:none; } .auth-panel { min-height:100dvh; padding:110px 28px 94px; } .auth-card { max-width:560px; } .auth-secure-pill { top:28px; right:28px; } .auth-frame-footer { right:28px; bottom:24px; left:28px; } }
@media (max-width:575.98px) { .auth-panel { padding:104px 18px 98px; } .auth-secure-pill { top:22px; right:18px; min-height:39px; padding:0 13px; font-size:10px; } .auth-secure-pill i { font-size:17px; } .auth-card { padding:28px 20px; border-radius:22px; } .auth-card h1 { font-size:32px; } .auth-subtitle { margin-bottom:25px; font-size:14px; } .auth-input-wrap .form-control { min-height:57px; } .auth-form-options { align-items:flex-start; flex-direction:column; gap:10px; } .auth-frame-footer { right:18px; bottom:19px; left:18px; align-items:flex-start; flex-direction:column-reverse; gap:7px; } }
@media (prefers-reduced-motion:reduce) { .auth-page *, .auth-page *::before, .auth-page *::after { transition:none !important; } }

/* Icon alignment: neutralize the icon font baseline and center every icon in its own box. */
.auth-panel-eyebrow i,
.auth-mission-tag i,
.auth-secure-pill i,
.auth-security i,
.auth-submit i,
.auth-help i,
.auth-public-link i,
.login-powered-by > i,
.login-powered-by .powered-by-icon i,
.auth-password-toggle i {
    display:grid;
    flex:0 0 auto;
    place-items:center;
    line-height:1;
    vertical-align:middle;
}
.auth-input-wrap > i:first-child { display:grid; width:20px; height:20px; place-items:center; line-height:1; }
.auth-password-toggle i { width:20px; height:20px; }
.auth-submit i { width:22px; height:22px; }
.auth-help i { width:21px; height:21px; }
.auth-secure-pill i { width:21px; height:21px; }
