:root{--navy:#071b4f;--navy2:#0e2b74;--blue:#1e6fe8;--ink:#0e1f44;--muted:#5b6a90;--border:#e1e7f2;--accent:#f4a52c;--accent2:#e2671f;--ring:#1e6fe8;--font:"Segoe UI",system-ui,-apple-system,Roboto,Helvetica,Arial,sans-serif}
*{box-sizing:border-box}
body.oidc-body{margin:0;font-family:var(--font);color:var(--ink);background:#fff;min-height:100vh;-webkit-font-smoothing:antialiased;accent-color:var(--navy2)}
::selection{background:var(--navy2);color:#fff}
img{display:block;max-width:100%}
a{text-decoration:none}
.auth-wrap{display:grid;grid-template-columns:1.05fr 1fr;min-height:100vh}
.auth-brandpanel{position:relative;color:#fff;padding:46px;display:flex;flex-direction:column;justify-content:space-between;gap:24px;overflow:hidden}
.auth-brandpanel .bg{position:absolute;inset:0;z-index:-2}
.auth-brandpanel .bg img{width:100%;height:100%;object-fit:cover}
.auth-brandpanel::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(150deg,rgba(7,17,45,.93),rgba(10,30,80,.82) 58%,rgba(7,17,45,.72))}
.auth-back{position:absolute;top:22px;right:24px;color:#fff;font-size:.9rem;opacity:.9}
.auth-back:hover{opacity:1}
.auth-brand{display:flex;align-items:center;gap:12px;color:#fff}
.auth-brand img{height:90px;width:auto;filter:drop-shadow(0 10px 22px rgba(3,10,34,.55))}
.auth-brand b,.auth-brand small{display:none}
.auth-pitch h2{font-size:clamp(1.6rem,3vw,2.4rem);font-weight:800;margin:0 0 16px;max-width:16ch;line-height:1.12}
.auth-pitch ul{list-style:none;padding:0;margin:0;display:grid;gap:13px}
.auth-pitch li{display:flex;gap:11px;align-items:flex-start;color:#dbe6ff;font-size:.98rem}
.auth-pitch svg{width:20px;height:20px;stroke:var(--accent);fill:none;stroke-width:2.2;flex:none;margin-top:2px}
.auth-foot{font-size:.78rem;opacity:.7}
.auth-formpanel{display:flex;align-items:center;justify-content:center;padding:44px 24px}
.auth-card{width:100%;max-width:430px}
.auth-kicker{text-transform:uppercase;letter-spacing:.16em;font-size:.72rem;font-weight:800;color:var(--accent2);margin:0 0 8px}
.auth-card h1{font-size:clamp(1.6rem,3vw,2.1rem);font-weight:800;margin:0 0 8px}
.auth-card .muted{color:var(--muted);margin:0 0 24px}
.auth-form{display:grid;gap:4px}
.auth-form label{font-size:.85rem;font-weight:600;margin-top:14px}
.auth-form input,.auth-form select{width:100%;padding:14px;border:1.5px solid var(--border);border-radius:12px;font-size:1rem;font-family:inherit;background:#fff;color:var(--ink);transition:border-color .15s,box-shadow .15s}
.auth-form input:focus,.auth-form select:focus{outline:none;border-color:var(--ring);box-shadow:0 0 0 3px rgba(30,111,232,.18)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;border:0;border-radius:12px;padding:15px;font-size:1.02rem;font-weight:700;cursor:pointer;min-height:54px;font-family:inherit;transition:transform .18s,background .18s,box-shadow .18s}
.auth-form .btn{margin-top:22px}
.btn-primary{background:linear-gradient(135deg,var(--navy2),#1e9ce8);color:#fff;box-shadow:0 12px 30px rgba(14,43,116,.32)}
.btn-primary:hover{transform:translateY(-2px);background:linear-gradient(135deg,#0b256a,#1789d1)}
.auth-message{margin-top:14px;font-size:.92rem;min-height:1.2em}
.auth-message.error{color:#d6334b}.auth-message.success{color:#1a9e63}
.auth-alt{margin-top:20px;color:var(--muted);font-size:.95rem}
.auth-alt a{color:var(--blue);font-weight:700}
.terms-check-row{display:flex;gap:11px;align-items:flex-start;margin:20px 0 6px;padding:13px 15px;background:#f6f9ff;border:1px solid var(--border);border-radius:12px;font-size:.86rem;color:var(--muted);line-height:1.5}
/* ROOT FIX: the generic `.auth-form input` rule (width:100%, padding, border, radius)
   was styling the checkbox as a full-width box. Higher-specificity reset wins. */
.auth-form .terms-check-row input[type="checkbox"]{-webkit-appearance:checkbox;appearance:auto;width:18px;height:18px;min-width:18px;flex:0 0 18px;padding:0;margin:1px 0 0;border:0;border-radius:0;box-shadow:none;background:none;accent-color:var(--navy2);cursor:pointer}
.auth-form .terms-check-row input[type="checkbox"]:focus{box-shadow:none;outline:2px solid var(--ring);outline-offset:2px}
.auth-form .terms-check-label{margin:0;font-weight:500;font-size:.87rem;line-height:1.5;color:var(--muted);cursor:pointer;flex:1 1 auto}
.terms-check-link{color:var(--blue);font-weight:700}
:focus-visible{outline:3px solid var(--ring);outline-offset:2px;border-radius:8px}
@media(max-width:860px){.auth-wrap{grid-template-columns:1fr}.auth-brandpanel{min-height:auto;padding:20px 22px 14px;order:2}.auth-formpanel{order:1;padding:36px 20px}.auth-pitch{display:none}.auth-back{position:static;align-self:flex-end;margin:0 0 4px}.auth-foot{display:none}}
@media(prefers-reduced-motion:reduce){.btn{transition:none}}

/* address autocomplete */
.geo-wrap{position:relative;display:block}
.geo-suggest{position:absolute;left:0;right:0;top:100%;z-index:40;background:#fff;border:1px solid #e3e8f3;border-radius:11px;box-shadow:0 18px 40px rgba(7,17,45,.18);margin-top:5px;max-height:250px;overflow:auto}
.geo-item{padding:11px 13px;cursor:pointer;font-size:.92rem;color:#0e1f44;border-bottom:1px solid #f0f3f9}
.geo-item:last-child{border-bottom:0}.geo-item:hover{background:#f4f7fd}
.geo-item strong{display:block;font-weight:700;font-size:.92rem}.geo-item .geo-sub{display:block;font-size:.78rem;color:#5b6a90;margin-top:1px}
.geo-item.geo-empty{color:#8a93a6;font-size:.84rem;cursor:default}.geo-item.geo-empty:hover{background:#fff}
