:root{
  --ff-blue-950:#0b1f46;
  --ff-blue-900:#102a5c;
  --ff-blue-700:#1d4ed8;
  --ff-blue-600:#2563eb;
  --ff-slate-950:#0f172a;
  --ff-slate-700:#334155;
  --ff-slate-500:#64748b;
  --ff-slate-200:#e2e8f0;
  --ff-slate-100:#f1f5f9;
  --ff-white:#fff;
  --ff-green:#16a34a;
  --ff-red:#dc2626;
}
.ff-login-page{min-height:100vh;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:linear-gradient(135deg,#071a3d 0%,#102a5c 45%,#eaf1fb 45.1%,#f6f8fc 100%);color:var(--ff-slate-950);}
.ff-login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(320px,520px) 1fr;}
.ff-login-brand-panel{position:relative;color:#fff;padding:56px 48px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;}
.ff-login-brand-panel:before{content:"";position:absolute;inset:auto -90px -120px auto;width:360px;height:360px;border-radius:999px;background:rgba(37,99,235,.26);filter:blur(4px);}
.ff-login-brand-panel:after{content:"";position:absolute;inset:80px auto auto -120px;width:280px;height:280px;border-radius:999px;background:rgba(255,255,255,.08);}
.ff-login-logo-wrap{position:relative;z-index:1;display:flex;align-items:center;gap:16px;}
.ff-login-logo{max-width:210px;max-height:78px;object-fit:contain;display:block;filter:drop-shadow(0 12px 24px rgba(0,0,0,.18));}
.ff-login-logo-fallback{width:54px;height:54px;border-radius:18px;background:#fff;color:var(--ff-blue-900);display:grid;place-items:center;font-weight:900;font-size:25px;box-shadow:0 16px 32px rgba(0,0,0,.22);}
.ff-login-brand-text{font-weight:900;letter-spacing:.06em;text-transform:uppercase;font-size:14px;}
.ff-login-brand-copy{position:relative;z-index:1;max-width:390px;}
.ff-login-eyebrow{font-size:12px;letter-spacing:.18em;text-transform:uppercase;font-weight:800;opacity:.78;margin-bottom:10px;}
.ff-login-brand-copy h1{margin:0 0 14px;font-size:38px;line-height:1.06;letter-spacing:-.035em;color:#fff;}
.ff-login-brand-copy p{margin:0;color:#dbeafe;font-size:15px;line-height:1.7;}
.ff-login-content{display:grid;place-items:center;padding:42px 30px;}
.ff-login-card{width:min(470px,100%);background:rgba(255,255,255,.94);border:1px solid rgba(226,232,240,.95);border-radius:28px;padding:34px;box-shadow:0 24px 70px rgba(15,23,42,.16);backdrop-filter:blur(12px);}
.ff-login-card h2{margin:0 0 8px;font-size:28px;letter-spacing:-.03em;color:#0f172a;font-weight:800;}
.ff-login-card .ff-login-subtitle{margin:0 0 24px;color:var(--ff-slate-500);font-size:14px;line-height:1.6;}
.ff-login-card label{display:block;font-size:13px;font-weight:750;color:var(--ff-slate-700);margin:0 0 16px;}
.ff-login-card input{box-sizing:border-box;width:100%;margin-top:7px;border:1px solid #cbd5e1;border-radius:14px;background:#fff;padding:13px 14px;font-size:15px;outline:none;transition:border-color .15s,box-shadow .15s;}
.ff-login-card input:focus{border-color:var(--ff-blue-600);box-shadow:0 0 0 4px rgba(37,99,235,.12);}
.ff-login-primary,.ff-login-secondary{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:100%;border:0;border-radius:14px;padding:13px 18px;font-weight:850;font-size:15px;text-decoration:none;cursor:pointer;transition:transform .15s,box-shadow .15s,background .15s;}
.ff-login-primary{background:linear-gradient(135deg,#1d4ed8,#2563eb);color:#fff;box-shadow:0 12px 26px rgba(37,99,235,.26);}
.ff-login-primary:hover{transform:translateY(-1px);box-shadow:0 16px 34px rgba(37,99,235,.32);}
.ff-login-secondary{background:#fff;color:var(--ff-blue-700);border:1px solid #bfdbfe;}
.ff-login-alert,.ff-login-success{border-radius:16px;padding:12px 14px;margin:0 0 18px;font-size:14px;font-weight:650;line-height:1.5;}
.ff-login-alert{background:#fef2f2;border:1px solid #fecaca;color:#991b1b;}
.ff-login-success{background:#ecfdf5;border:1px solid #bbf7d0;color:#166534;}
.ff-login-links{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:16px 0 0;font-size:13px;}
.ff-login-links a,.ff-login-link{color:var(--ff-blue-700);font-weight:800;text-decoration:none;}
.ff-login-divider{border:0;border-top:1px solid var(--ff-slate-200);margin:24px 0;}
.ff-login-note{font-size:12.5px;color:var(--ff-slate-500);line-height:1.6;margin:18px 0 0;text-align:center;}
.ff-login-customer .ff-login-brand-panel{background:linear-gradient(155deg,#10234c,#1e40af 58%,#2563eb);}
.ff-login-customer .ff-login-card{border-top:4px solid #2563eb;}
.ff-login-customer .ff-login-brand-copy h1{font-size:36px;}
.ff-first-access{margin-top:22px;padding-top:20px;border-top:1px solid var(--ff-slate-200);}
.ff-first-access h3{margin:0 0 8px;font-size:18px;letter-spacing:-.02em;}
.ff-first-access p{margin:0 0 16px;color:var(--ff-slate-500);font-size:13.5px;line-height:1.6;}
@media(max-width:860px){.ff-login-shell{grid-template-columns:1fr}.ff-login-brand-panel{min-height:auto;padding:28px 24px;gap:28px}.ff-login-brand-copy h1{font-size:30px}.ff-login-content{padding:24px 16px}.ff-login-card{padding:24px;border-radius:22px}.ff-login-logo{max-width:170px;max-height:62px}}
@media(max-width:520px){.ff-login-brand-panel{padding:22px 18px}.ff-login-card h2{font-size:24px}.ff-login-links{display:block}.ff-login-links a{display:inline-block;margin-top:10px}}


/* v174HB accessibility and contrast fixes */
.ff-login-page{background:#eef3fb;color:#0f172a;}
.ff-login-brand-panel{background:linear-gradient(155deg,#0b1f46 0%,#102a5c 52%,#1d4ed8 100%) !important;color:#ffffff;}
.ff-login-logo-wrap{align-items:flex-start;}
.ff-login-logo{background:rgba(255,255,255,.96);border-radius:18px;padding:10px 14px;max-width:170px;max-height:86px;filter:drop-shadow(0 16px 28px rgba(0,0,0,.24));}
.ff-login-brand-text{color:#ffffff;text-shadow:0 2px 10px rgba(0,0,0,.35);font-size:15px;}
.ff-login-eyebrow{color:#bfdbfe;opacity:1;text-shadow:none;}
.ff-login-brand-copy h1{color:#ffffff !important;text-shadow:0 2px 16px rgba(0,0,0,.25);}
.ff-login-brand-copy p{color:#eaf2ff !important;font-weight:500;}
.ff-login-card{background:#ffffff;border:1px solid #d7e4f5;box-shadow:0 22px 60px rgba(15,23,42,.14);}
.ff-login-card h2{color:#0b1f46;}
.ff-login-card .ff-login-subtitle,.ff-first-access p,.ff-login-note{color:#475569;}
.ff-login-card label{color:#102a5c;}
.ff-login-card input{color:#0f172a;background:#ffffff;border-color:#b8cbe3;}
.ff-login-card input::placeholder{color:#64748b;}
.ff-login-secondary{background:#f8fbff;color:#1746b7;border-color:#b8d2ff;}
.ff-login-links a,.ff-login-link{color:#1746b7;}
.ff-login-alert{background:#fff1f2;border:1px solid #fda4af;color:#9f1239;}
.ff-login-success{background:#ecfdf5;border:1px solid #86efac;color:#14532d;}
.ff-login-page:not(.ff-login-customer) .ff-login-brand-panel{background:linear-gradient(155deg,#0f172a 0%,#102a5c 58%,#1e3a8a 100%) !important;}
.ff-login-page:not(.ff-login-customer) .ff-login-brand-text{color:#ffffff;}
.ff-login-page:not(.ff-login-customer) .ff-login-eyebrow{color:#bfdbfe;opacity:1;}
.ff-login-page:not(.ff-login-customer) .ff-login-brand-copy h1{color:#ffffff !important;}
.ff-login-page:not(.ff-login-customer) .ff-login-brand-copy p{color:#e0ecff !important;}
@media(max-width:860px){.ff-login-page{background:#eef3fb}.ff-login-brand-panel{border-radius:0 0 28px 28px}.ff-login-logo{max-width:150px}}
