/* Scoped to new password flows; does not alter approved portfolio layout. */
#bfgx-auth-flow {position:fixed;inset:0;z-index:2147483600;display:flex;justify-content:center;align-items:center;overflow:auto;box-sizing:border-box;background:#060c16f8;padding:24px;color:#edf5fa;font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif}
#bfgx-auth-flow *{box-sizing:border-box}
.bfgx-auth-flow-card{position:relative;width:min(100%,470px);padding:34px 34px 25px;border:1px solid #28445d;border-radius:15px;background:#0c1525;box-shadow:0 22px 80px #000a}
.bfgx-auth-flow-brand{display:flex;justify-content:center;margin:0 0 25px}
.bfgx-auth-flow-logo{display:block;max-width:175px;max-height:64px;object-fit:contain}
.bfgx-auth-flow-card h1{font-size:23px;line-height:1.24;font-weight:650;letter-spacing:-.02em;margin:0 0 12px;color:#f6f9ff}
.bfgx-auth-flow-desc{font-size:14px;line-height:1.6;color:#b2c7d9;margin:0 0 17px}
.bfgx-auth-flow-form{display:flex;flex-direction:column;gap:16px;margin-top:12px}
.bfgx-auth-flow-form label{display:grid;gap:7px;font-size:13px;font-weight:600;color:#dae5ee}
.bfgx-auth-flow-form input{width:100%;border:1px solid #38516a;border-radius:8px;background:#09101b;color:#fff;padding:12px;font:inherit;min-height:44px}
.bfgx-auth-flow-form input:focus{outline:2px solid #5ad5e2;outline-offset:2px}
.bfgx-auth-flow-hint{font-size:12px;line-height:1.4;color:#91a8ba;margin:-4px 0 0}
.bfgx-auth-flow-button{min-height:44px;border:1px solid #f5c93f;border-radius:8px;padding:11px 16px;background:#f5c93f;color:#111826;font-weight:800;font-size:13px;cursor:pointer;letter-spacing:.025em}
.bfgx-auth-flow-button:disabled{opacity:.55;cursor:wait}
.bfgx-auth-flow-button:hover:not(:disabled){background:#ffe06b}
.bfgx-auth-flow-form .bfgx-auth-flow-button~.bfgx-auth-flow-button{border-color:#536477;background:transparent;color:#e8eef6;font-weight:500}
.bfgx-auth-flow-status{font-size:13px;line-height:1.5;color:#70d9bc;margin:8px 0 0}
.bfgx-auth-flow-status:empty{display:none}
.bfgx-auth-flow-status.is-error{color:#ff999e}
.bfgx-auth-flow-help{margin:22px 0 0;font-size:12px;color:#8fa2b7;text-align:center}
.bfgx-auth-flow-help a{color:#68dce5;text-decoration:underline;text-underline-offset:3px}
.bfgx-password-reset-link{border:0;background:none;color:#7ddfe7;cursor:pointer;font:inherit;text-decoration:underline;text-underline-offset:3px;margin:10px 0}
@media(max-width:480px){#bfgx-auth-flow{padding:15px}.bfgx-auth-flow-card{padding:27px 20px 22px}.bfgx-auth-flow-card h1{font-size:21px}}
