/* Anonymous customer portal only. Authenticated portal styling stays authoritative. */
body.portal-auth-page:has(#auth:not([hidden])){zoom:1!important;min-height:100vh!important;background:#001124 url('/assets/payment-ribbons.webp') center center/cover fixed no-repeat;color:#f4f7fc;font-family:Inter,'Segoe UI',Arial,sans-serif}
.portal-auth-page #auth{display:flex;flex-direction:column;align-items:center;min-height:100dvh!important;padding:0 24px 40px}
.portal-auth-page #auth[hidden],.portal-auth-page #auth [hidden]{display:none!important}
.portal-auth-page .portal-login-header{display:flex;justify-content:space-between;align-items:center;gap:24px;width:100%;min-height:100px;padding:16px 40px}
.portal-auth-page .portal-login-header .brand{display:flex;align-items:center;gap:12px;margin:0;min-width:0;font-size:34px;letter-spacing:2.5px;font-weight:750;text-transform:uppercase;white-space:nowrap}
.portal-auth-page .portal-login-header .brand img{width:70px;height:70px;object-fit:contain}
.portal-auth-page .portal-login-support{display:flex;align-items:center;gap:12px;color:#d7e3f5;font-size:18px;min-height:44px}
.portal-login-support img{width:30px;height:30px}
.portal-auth-page #authForm{width:min(620px,100%);margin:0 auto;padding:30px 48px 26px;border:1px solid #225aae;border-radius:16px;background:#031426ed;box-shadow:0 0 20px #072c5a25}
.portal-login-avatar{display:block;width:86px;height:86px;margin:0 auto 8px;filter:drop-shadow(0 5px 7px #168dff38)}
.portal-auth-page #authTitle{font-size:44px;font-weight:750;letter-spacing:-1px;line-height:1.2;text-align:center;margin:0 0 4px}
.portal-auth-page #authForm>p:not(.result){color:#a9bedc;font-size:22px;line-height:1.35;text-align:center;margin:0 0 14px}
.portal-auth-page #authForm label{display:block;font-size:18px;line-height:1.4;font-weight:600;color:#f3f6fc;margin:0 0 20px}
.portal-auth-page #authForm input{width:100%;min-width:0;min-height:56px;margin:7px 0 0;padding:12px 18px;border:1px solid #536e92;border-radius:10px;background:#102139d9;box-shadow:inset 0 1px 5px #0003;font-size:18px;font-weight:400;color:#fff}
.portal-auth-page #authForm input:focus{outline:2px solid #379ee9;outline-offset:2px}
.portal-auth-page #authForm input::placeholder{color:#98afd0}
.portal-auth-page #authForm #email{background-image:url('/assets/payment-icons/mail.svg');background-position:18px center;background-repeat:no-repeat;background-size:26px;padding-left:56px}
.portal-login-password{display:block;position:relative}
.portal-auth-page #authForm #password{background-image:url('/assets/payment-icons/lock-keyhole.svg');background-position:18px center;background-repeat:no-repeat;background-size:26px;padding-left:56px;padding-right:58px}
.portal-auth-page #portalPasswordToggle{position:absolute;right:7px;top:13px;width:44px;min-height:44px;padding:9px;display:grid;place-items:center;background:transparent;border:0;border-radius:8px;cursor:pointer}
#portalPasswordToggle img{width:28px;height:28px}
.portal-auth-page #authForm .btn{width:100%;min-height:60px;font-size:22px;line-height:1.3;font-weight:650;border-radius:10px;cursor:pointer}
.portal-auth-page #authSubmit{margin:8px 0 0;background:#edc266;border:1px solid #f0d078;box-shadow:inset 0 1px 0 #fff6,0 2px 8px #b37c1320;color:#11151a;font-size:25px!important;font-weight:750!important}
.portal-auth-page #authSwitch{margin:20px 0 0;background:transparent;border:2px solid #299ff5;color:#3cafff}
.portal-auth-page #forgotPassword{display:block;width:auto!important;margin:20px auto 0;min-height:28px!important;padding:0 8px;background:transparent;border:0;color:#37a9fa;font-size:18px!important}
.portal-auth-page #authResult{margin:12px 0 0;min-height:0;font-size:14px;line-height:1.5;color:#f0d17c;overflow-wrap:anywhere}
.portal-auth-page #authResult:empty{display:none}
.portal-auth-page #authForm #mfaField{font-size:16px}
.portal-auth-page #auth button:focus-visible,.portal-auth-page #auth a:focus-visible{outline:3px solid #80c8ff;outline-offset:3px}
.portal-auth-page #auth button:disabled{opacity:.55;cursor:wait}
@media(max-width:999px){
.portal-auth-page #auth{padding:0 24px 48px}
.portal-auth-page .portal-login-header{min-height:76px;padding:14px 0;gap:16px}
.portal-auth-page .portal-login-header .brand{gap:8px;font-size:25px;letter-spacing:1px}
.portal-auth-page .portal-login-header .brand img{width:44px;height:44px}
.portal-auth-page .portal-login-support{font-size:15px;gap:8px}
.portal-login-support img{width:24px;height:24px}
.portal-auth-page #authForm{width:min(460px,100%);margin:46px auto 0;padding:24px 22px 22px;border-radius:12px}
.portal-login-avatar{width:64px;height:64px;margin-bottom:8px}
.portal-auth-page #authTitle{font-size:30px;letter-spacing:-.6px}
.portal-auth-page #authForm>p:not(.result){font-size:18px;line-height:1.4;margin-bottom:20px}
.portal-auth-page #authForm label{font-size:16px;margin-bottom:18px}
.portal-auth-page #authForm input{min-height:46px;font-size:16px;border-radius:8px;padding-top:10px;padding-bottom:10px}
.portal-auth-page #authForm #email,.portal-auth-page #authForm #password{background-position:14px center;background-size:22px;padding-left:46px}
.portal-auth-page #authForm #password{padding-right:48px}
.portal-auth-page #portalPasswordToggle{right:3px;top:8px;min-height:44px;width:44px;padding:10px}
#portalPasswordToggle img{width:24px;height:24px}
.portal-auth-page #authForm .btn{min-height:46px;font-size:16px;border-radius:8px}
.portal-auth-page #authSubmit{margin-top:4px;font-size:20px!important}
.portal-auth-page #authSwitch{margin-top:14px}
.portal-auth-page #forgotPassword{margin-top:14px;min-height:44px!important;font-size:16px!important}
}
@media(max-width:420px){
.portal-auth-page .portal-login-header .brand{font-size:21px}
.portal-auth-page .portal-login-header .brand img{width:36px;height:36px}
.portal-auth-page .portal-login-support{font-size:13px;gap:6px}
.portal-auth-page .portal-login-support img{width:21px;height:21px}
.portal-auth-page #authForm{padding:22px 18px}
.portal-auth-page #authTitle{font-size:28px}
.portal-auth-page #authForm>p:not(.result){font-size:16px}
}
@media(max-width:350px){.portal-auth-page #auth{padding-left:16px;padding-right:16px}.portal-auth-page .portal-login-header .brand{font-size:18px}.portal-auth-page .portal-login-header{gap:10px}.portal-auth-page #authForm{margin-top:26px}.portal-auth-page #authTitle{font-size:25px}}
@media(max-width:560px){
body.portal-auth-page:has(#auth:not([hidden])) .sa-root{right:10px;bottom:10px}
body.portal-auth-page:has(#auth:not([hidden])) .sa-launch{width:44px;height:44px;min-height:44px;padding:8px;justify-content:center}
body.portal-auth-page:has(#auth:not([hidden])) .sa-launch b{display:none}
body.portal-auth-page:has(#auth:not([hidden])) .sa-panel.open{right:10px;bottom:64px}
}
/* Compact desktop treatment, including shorter laptop windows. */
@media(min-width:1000px){
.portal-auth-page #auth{padding:0 24px 24px}
.portal-auth-page .portal-login-header{min-height:76px;padding:10px 24px}
.portal-auth-page .portal-login-header .brand{font-size:28px}
.portal-auth-page .portal-login-header .brand img{width:52px;height:52px}
.portal-auth-page #authForm{width:min(520px,100%);padding:24px 36px}
.portal-login-avatar{width:68px;height:68px;margin-bottom:6px}
.portal-auth-page #authTitle{font-size:36px}
.portal-auth-page #authForm>p:not(.result){font-size:18px;margin-bottom:16px}
.portal-auth-page #authForm label{font-size:16px;margin-bottom:16px}
.portal-auth-page #authForm input{min-height:46px;margin-top:5px;font-size:16px;padding-top:10px;padding-bottom:10px}
.portal-auth-page #authForm .btn{min-height:48px;font-size:18px}
.portal-auth-page #authSubmit{font-size:21px!important}
.portal-auth-page #authSwitch{margin-top:14px}
.portal-auth-page #forgotPassword{margin-top:14px;font-size:16px!important}
.portal-auth-page #portalPasswordToggle{top:6px}
}
@media(min-width:1000px) and (max-height:720px){
.portal-auth-page .portal-login-header{min-height:62px;padding-top:6px;padding-bottom:6px}
.portal-auth-page .portal-login-header .brand img{width:46px;height:46px}
.portal-auth-page #authForm{padding:18px 30px;width:min(500px,100%)}
.portal-login-avatar{width:54px;height:54px}
.portal-auth-page #authTitle{font-size:32px}
.portal-auth-page #authForm>p:not(.result){font-size:16px;margin-bottom:12px}
.portal-auth-page #authForm label{margin-bottom:12px}
.portal-auth-page #authForm .btn{min-height:44px}
}

.portal-auth-page .registration-device-help{font-size:14px!important;line-height:1.45!important;text-align:left!important;margin:0 0 18px!important;color:#a9bed7}
