.fpg-portal-nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;min-height:80px;padding:12px 32px;border-bottom:1px solid #ffffff14;background:#0a0f1dbf;backdrop-filter:blur(24px);box-shadow:0 8px 24px #0003}
:root{--password-success:#38dfbb;--password-error:#f38e9c;--password-muted:#94a3b8;--password-track:#ffffff12;}
.password-meter{display:flex;gap:6px;margin-top:8px;}
.password-meter>span{flex:1;height:5px;border-radius:4px;background:var(--password-track);transition:background-color .2s;}
.password-meter[data-state=valid]>.is-filled{background:var(--password-success);}
.password-meter[data-state=invalid]>.is-filled{background:var(--password-error);}
.password-status-row{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:4px 12px;margin-top:6px;}
.password-status,.password-hint,.password-match,.password-rule{color:var(--password-muted);font-size:11px;line-height:1.6;overflow-wrap:anywhere;}
.password-hint{font-size:10px;}
.password-match{display:flex;align-items:flex-start;gap:5px;margin-top:6px;}
.password-match .material-symbols-outlined{font-size:14px;line-height:1.6;}
.password-status[data-state=valid],.password-match[data-state=valid],.password-match [data-state=valid]{color:var(--password-success);}
.password-status[data-state=invalid],.password-match[data-state=invalid],.password-match [data-state=invalid]{color:var(--password-error);}
.password-rule{margin-top:8px;}
input[data-password-state=valid]{border-color:var(--password-success)!important;}
input[data-password-state=invalid]{border-color:var(--password-error)!important;}
input[data-password-state=valid]:focus{box-shadow:0 0 0 1px var(--password-success)!important;outline-color:var(--password-success)!important;}
.fpg-portal-back{justify-self:start}
.fpg-portal-language{justify-self:end}
.fpg-portal-brand{display:inline-flex;align-items:center;gap:12px;min-height:44px;color:#fff;font-size:16px;font-weight:800;letter-spacing:-.02em;white-space:nowrap}
.fpg-portal-brand-mark{display:grid;place-items:center;width:36px;height:36px;border:1px solid transparent;border-radius:12px;background:linear-gradient(#090d1a,#090d1a) padding-box,linear-gradient(135deg,#f2ca50,#38efdf,#8b5cf6) border-box;box-shadow:0 5px 16px #f2ca5026;color:#f2ca50}
.fpg-portal-brand:focus-visible{outline:2px solid #f2ca50;outline-offset:4px;border-radius:8px}
.fpg-portal-back,.fpg-portal-language{display:inline-flex;align-items:center;gap:8px;min-height:44px;border:1px solid #ffffff1a;border-radius:10px;background:#ffffff08;color:#cbd5e1;font-size:14px;font-weight:600}
.fpg-portal-back{padding:8px 16px;transition:color .15s,border-color .15s,background .15s}
.fpg-portal-back:hover{color:#f2ca50;border-color:#f2ca5066;background:#ffffff0f}
.fpg-portal-language{padding-left:12px;color:#f2ca50}
.fpg-portal-language select{min-height:42px;min-width:128px;padding:8px 32px 8px 8px;border:0;border-radius:9px;background-color:transparent;color:#e2e8f0;font-size:14px;cursor:pointer}
.fpg-portal-language option{background:#0d1428;color:#e2e8f0}
.fpg-portal-back:focus-visible,.fpg-portal-language select:focus-visible{outline:2px solid #f2ca50;outline-offset:3px}
@media(max-width:640px){.fpg-portal-nav{padding:12px 16px;grid-template-columns:1fr 1fr}.fpg-portal-brand{grid-column:1/-1;grid-row:1;justify-self:center}}
.fpg-login-feedback{padding:12px 14px;border:1px solid #38efdf45;border-radius:8px;background:#38efdf0b;color:#78f5e8;font-size:13px;line-height:1.5}
.fpg-login-feedback[data-state="error"]{border-color:#ff547745;background:#ff54770b;color:#ff9bb0}
.fpg-login-feedback[hidden]{display:none}
#login-btn:disabled{opacity:.65;cursor:wait}
.portal-login-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;line-height:1.6;}
.portal-login-footer>*{min-width:0;overflow-wrap:anywhere;}
.portal-login-footer>.portal-login-help{justify-self:end;text-align:right;}
.portal-register-footer{display:flex;justify-content:center;align-items:center;line-height:1.6;}
.portal-login-help{display:flex;align-items:center;justify-content:center;min-height:44px;max-width:150px;color:#b9f3ec;text-align:center;text-decoration:underline;text-underline-offset:3px;}
.portal-login-help:hover{color:#38efdf;}
.portal-login-help:focus-visible,#portal-register-support:focus-visible{outline:2px solid #38efdf;outline-offset:3px;border-radius:4px;}
#portal-register-support{min-height:44px;justify-content:center;text-align:center;}
@media(max-width:600px){.portal-login-footer{gap:8px 12px;}.portal-login-help{max-width:120px;}}
