/* Guest authentication only. Loaded after shared UI finishes; no dashboard overrides. */
body.auth-portal-page {
    min-height:100vh; min-height:100dvh; display:flex; align-items:center; justify-content:center;
    padding:20px; color:#223048;
    background:radial-gradient(ellipse at 12% 4%,#fff1e7,transparent 48%),radial-gradient(ellipse at 90% 96%,#eaf0f8,transparent 54%),#f4f6fa;
}
.auth-page.auth-portal {
    display:grid; grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr); width:100%; max-width:940px;
    min-height:0; background:#fff; border:1px solid #dfe5ed; border-radius:20px; overflow:hidden;
    box-shadow:0 26px 75px -36px #26344938,0 3px 12px #26344906;
}
.auth-portal .auth-brand-panel {
    display:flex; flex-direction:column; justify-content:flex-start; position:relative; isolation:isolate; overflow:hidden;
    min-width:0; gap:0; padding:26px 28px;
    background:radial-gradient(ellipse at 0 0,#74433180,transparent 60%),radial-gradient(ellipse at 100% 100%,#33475c99,transparent 65%),#142132;
}
.auth-portal .auth-brand-panel:before {
    content:""; position:absolute; inset:0; pointer-events:none; z-index:-1; opacity:.2;
    background-image:linear-gradient(#ffffff10 1px,transparent 1px),linear-gradient(90deg,#ffffff10 1px,transparent 1px);
    background-size:52px 52px; mask-image:linear-gradient(130deg,transparent 25%,#000);
}
.auth-portal .auth-brand-panel:after {
    content:""; position:absolute; width:460px; height:460px; border:1px solid #ffffff09; border-radius:50%;
    right:-280px; top:16%; pointer-events:none; z-index:-1; box-shadow:0 0 0 50px #ffffff02,0 0 0 100px #ffffff02;
}
.auth-portal .auth-brand-panel .wordmark {padding:0; margin:0 0 18px}
.auth-portal .auth-brand-panel .site-logo {width:180px; max-width:100%}
.auth-portal .auth-statement {padding:0; max-width:480px; margin:0}
.auth-portal .auth-portal-badge {display:inline-flex; align-items:center; gap:8px; color:#ffbc93; border:1px solid #ffae7040; border-radius:999px; background:#ffb4820a; padding:7px 12px; font-size:11px; font-weight:700; line-height:1.5; letter-spacing:.025em}
.auth-portal-badge .icon {width:15px;height:15px}
.auth-portal .auth-statement h2 {color:#fff; font-size:30px; line-height:1.16; font-weight:800; letter-spacing:-.04em; margin:12px 0 0; max-width:330px; text-wrap:balance; overflow-wrap:anywhere}
.auth-portal .auth-statement>p {color:#bdc9da; font-size:14px; font-weight:500; line-height:1.65; max-width:390px; margin:10px 0 0}
/* Keep the service list beside the introduction, even when a form or notice is tall. */
.auth-portal .auth-service-area {margin-top:20px; padding-top:0; min-width:0}
.auth-portal .auth-service-area>span {display:flex; align-items:center; gap:15px; color:#aebcd0; font-size:11px; line-height:1.6; font-weight:700; letter-spacing:.1em}
.auth-portal .auth-service-area>span:after {content:""; height:1px; flex:1; background:#ffffff18}
.auth-portal .auth-services {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; margin-top:10px; max-height:220px; overflow-y:auto; overscroll-behavior:contain; padding:1px 5px 3px 1px; scrollbar-width:thin; scrollbar-color:#687990 transparent}
.auth-portal .auth-service-chip {display:flex; align-items:center; gap:10px; min-width:0; max-width:100%; padding:7px 9px; border:1px solid #ffffff17; border-radius:11px; background:linear-gradient(110deg,#ffffff09,#ffffff04); color:#eff4fa}
.auth-portal .auth-service-name {min-width:0; font-size:13px; line-height:1.55; font-weight:700; overflow-wrap:anywhere}
.auth-portal .auth-services .brand-icon {width:30px; height:30px; border:1px solid #e7ebf0; border-radius:10px; background:#fff; flex:none; box-shadow:0 3px 8px #0000000a}
.auth-portal .auth-services .service-logo {width:23px;height:23px}
.auth-portal .auth-services .custom-service-logo {width:23px;height:23px;color:#33465d}
.auth-service-disclosure {margin-top:12px}
.auth-service-disclosure>summary {display:inline-flex; align-items:center; gap:8px; min-height:40px; cursor:pointer; list-style:none; color:#ffbd91; font-size:12px; font-weight:700}
.auth-service-disclosure>summary::-webkit-details-marker {display:none}
.auth-service-disclosure>summary .icon {width:16px;height:16px}
.auth-service-disclosure .auth-show-less,.auth-service-disclosure[open] .auth-show-all {display:none}
.auth-service-disclosure[open] .auth-show-less {display:inline}
.auth-service-disclosure[open]>summary .icon {transform:rotate(180deg)}
.auth-portal .auth-services-extra {max-height:240px}
.auth-portal .auth-main {display:flex; flex-direction:column; align-items:center; justify-content:flex-start; min-width:0; padding:18px 30px 22px; background:#fff}
.auth-toolbar {display:flex; align-items:center; justify-content:flex-end; gap:16px; width:100%; margin-bottom:12px; min-width:0}
.auth-toolbar .mobile-brand {display:none; margin:0; padding:0; min-width:0}
.auth-portal .language-picker {flex-shrink:0}
.auth-portal .language-picker summary {border:1px solid #e1e6ee; border-radius:11px; padding:9px 12px; background:#fcfdff; font-size:12px; font-weight:600}
.auth-portal .auth-box {width:100%; max-width:380px; margin:auto 0; min-width:0}
.auth-portal .auth-box h1 {font-size:30px; line-height:1.3; letter-spacing:-.04em; font-weight:800; color:#213048; margin:0}
.auth-portal .auth-box>p {font-size:14px; line-height:1.6; font-weight:500; color:#637188; margin:8px 0 16px}
.auth-mobile-hint {display:none}
.auth-portal .auth-box form {margin-top:0}
.auth-portal .auth-box>form+form {margin-top:12px}
.auth-portal .auth-box>.auth-switch+form {margin-top:16px}
.auth-portal .field {gap:6px;margin-bottom:12px}
.auth-portal .field label {color:#35435b; font-size:13px; font-weight:700; margin-bottom:0; line-height:1.6}
.auth-portal .field input {min-height:44px; padding:10px 13px; border:1px solid #dce3ec; border-radius:12px; font-size:16px; background:#fafbfd; color:#23314a; transition:border-color .16s,box-shadow .16s,background .16s}
.auth-portal .field input:hover {border-color:#bac6d6}
.auth-portal .field input:focus {border-color:#ce713c; background:#fff; outline:0; box-shadow:0 0 0 4px #f9e9dd}
.auth-password-wrap {position:relative}
.auth-password-wrap.is-enhanced input {padding-right:56px}
.auth-password-toggle {position:absolute; right:4px; top:50%; transform:translateY(-50%); width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center; padding:0; border:0; border-radius:8px; background:transparent; color:#68788e}
.auth-password-toggle:hover {background:#eef2f7;color:#324560}
.auth-password-eye-slash {display:none}
.auth-password-toggle[aria-pressed="true"] .auth-password-eye-slash {display:block}
.auth-portal .field small {font-size:12px;line-height:1.6;color:#637188}
.auth-session-options {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:12px;margin:0 0 8px}
.auth-session-options>a {color:#a64112;font-weight:700}
.auth-remember {display:inline-flex;align-items:center;gap:9px;min-height:32px;cursor:pointer;font-weight:600;color:#485870}
.auth-remember input {width:17px;height:17px;flex-shrink:0;accent-color:#c7440d;margin:0}
.auth-portal .auth-box form .auth-session-hint {font-size:11px;line-height:1.6;color:#6a7890;margin:0 0 10px}
.auth-portal .button.primary {min-height:44px;border-radius:12px;background:linear-gradient(180deg,#d04b0d,#bc3e08);border:1px solid #ba400d;color:#fff;font-size:14px;font-weight:800;box-shadow:0 6px 14px -8px #9f3b1c80,inset 0 1px 0 #ffffff21}
.auth-portal .button.primary:hover {background:#b63c09;border-color:#a93608;box-shadow:0 7px 18px -8px #9f3b1c80}
.auth-portal .auth-switch {font-size:12px;line-height:1.6;color:#68758b;margin-top:14px}
.auth-portal .auth-switch>a {color:#a64112;font-weight:700}
.auth-portal .auth-switch-login {border-top:1px solid #edf0f5;padding-top:10px;text-align:center;display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.auth-portal .auth-create-account.button {display:inline-flex;width:auto;min-height:32px;padding:3px 6px;margin:0;border:0;border-radius:6px;background:transparent;color:#a64112;font-size:12px;font-weight:800;box-shadow:none}
.auth-portal .auth-create-account.button:hover {background:#fff0e6;color:#943b0f}
.auth-portal .auth-box .alert {font-size:13px;line-height:1.7;border-radius:12px;overflow-wrap:anywhere;margin:0 0 20px}
.auth-portal :is(a,button,summary,input):focus-visible {outline:3px solid #ce713c;outline-offset:3px}
html:lang(bn) .auth-portal :is(h1,h2),html:lang(zh-CN) .auth-portal :is(h1,h2) {letter-spacing:normal}
@media(max-width:960px){
 body.auth-portal-page{padding:24px 16px}
 .auth-page.auth-portal{display:block;max-width:520px;min-height:0;border-radius:24px}
 .auth-portal .auth-brand-panel{display:none}
 .auth-portal .auth-main{min-height:0;padding:26px 32px 34px}
 .auth-toolbar{justify-content:space-between;gap:12px;margin-bottom:28px}
 .auth-toolbar .mobile-brand{display:flex}
 .auth-toolbar .site-logo{width:164px}
 .auth-portal .language-picker summary{padding:8px;font-size:11px;gap:6px}
 .auth-portal .language-picker summary{min-height:44px}
 .auth-portal .auth-box{max-width:none;margin:0}
 .auth-portal .auth-box h1{font-size:30px}
 .auth-desktop-hint{display:none}.auth-mobile-hint{display:inline}
 .auth-portal .auth-box>p{margin-bottom:22px}
 .auth-portal .auth-switch{margin-top:18px}
 .auth-portal .auth-create-account.button{min-height:44px}
 .auth-session-options>a{display:inline-flex;align-items:center;min-height:44px}
 .auth-remember{min-height:44px}
}
@media(max-width:420px){
 body.auth-portal-page{padding:16px 12px}
 .auth-page.auth-portal{border-radius:20px}
 .auth-portal .auth-main{padding:22px 22px 28px}
 .auth-toolbar{gap:10px;margin-bottom:30px}
 .auth-toolbar .site-logo{width:150px}
 .auth-portal .language-picker summary>span:not(.language-chevron){max-width:62px}
 .auth-portal .language-picker summary{font-size:10px;padding:7px;gap:5px}
 .auth-portal .language-picker summary>img{width:20px;height:14px}
 .auth-portal .auth-box h1{font-size:29px}
 .auth-portal .auth-box>p{font-size:13px}
 .auth-portal .auth-session-options{font-size:11px}
}
@media(max-width:360px){
 .auth-portal .auth-main{padding:20px 18px 26px}
 .auth-toolbar .site-logo{width:126px}
 .auth-portal .language-picker summary>span:not(.language-chevron){max-width:48px}
 .auth-toolbar{gap:8px}
}
/* Inline suspension notice. The normal login form stays available; authorization is server-side. */
.auth-portal .auth-ban-notice {margin:0 0 24px;min-width:0;border:1px solid #f0cdd0;border-radius:18px;background:linear-gradient(130deg,#fff1ed,#fff8f8 65%,#fff);box-shadow:0 6px 18px -14px #9d304d33;overflow:hidden}
.auth-ban-message {padding:18px 20px 16px}
.auth-ban-heading {display:flex;align-items:center;gap:13px;min-width:0}
.auth-ban-heading>div {min-width:0}
.auth-ban-emoji {display:grid;place-items:center;flex:none;width:50px;height:54px;border:1px solid #fff;border-radius:16px;background:linear-gradient(145deg,#fff,#ffe3dc);box-shadow:0 3px 10px #963c4b0b;font-family:"Segoe UI Emoji","Apple Color Emoji",sans-serif;font-size:30px;line-height:1}
.auth-ban-eyebrow {display:block;color:#9a4e59;font-size:10px;font-weight:700;line-height:1.5;margin-bottom:4px;letter-spacing:.025em;overflow-wrap:anywhere}
.auth-portal .auth-ban-heading h2 {color:#8c253e;font-size:19px;font-weight:800;line-height:1.35;letter-spacing:-.025em;margin:0;overflow-wrap:anywhere}
.auth-portal .auth-ban-description {margin:13px 0 0;color:#714553;font-size:13px;font-weight:500;line-height:1.75;overflow-wrap:anywhere}
.auth-ban-support {padding:13px 20px 16px;border-top:1px solid #f1dadd;background:#ffffff73}
.auth-ban-support>p {display:flex;align-items:flex-start;gap:8px;margin:0;color:#72535e;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.auth-ban-support>p>span:first-child {flex:none;font-family:"Segoe UI Emoji","Apple Color Emoji",sans-serif;font-size:15px}
.auth-ban-contacts {display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}
.auth-ban-contacts>a {display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;min-width:0;padding:7px 11px;border:1px solid #e6d8dc;border-radius:10px;background:#fff;color:#394960;font-size:12px;font-weight:700;text-decoration:none;box-shadow:0 2px 3px #41303b03;transition:background .16s,border-color .16s}
.auth-ban-contacts>a:hover {background:#fff5f4;border-color:#d8aeb7;color:#8c253e}
.auth-ban-contacts img {flex:none;width:18px;height:18px}
.auth-ban-contacts .icon {flex:none;width:13px;height:13px;color:#8d7782}
@media(max-width:420px){.auth-ban-message{padding:16px}.auth-ban-support{padding:12px 16px 15px}.auth-ban-emoji{width:43px;height:48px;font-size:27px;border-radius:14px}.auth-ban-heading{gap:10px}.auth-portal .auth-ban-heading h2{font-size:17px}.auth-ban-eyebrow{font-size:9px}.auth-ban-contacts>a{min-height:44px;padding:7px 9px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.auth-portal *{transition:none!important;animation:none!important}}
.auth-contact-link{margin:22px 0 0;text-align:center;font-size:13px}.auth-contact-link a{display:inline-flex;align-items:center;justify-content:center;gap:8px;color:#526780;text-decoration:none}.auth-contact-link a:hover{color:#b74308;text-decoration:underline}.auth-contact-link .icon{width:17px;height:17px}

/* One scale for login, registration, reset, verification and MFA, including CAPTCHA. */
body.auth-portal-page .auth-box{max-width:380px}
body.auth-portal-page .auth-box h1{font-size:26px;line-height:1.25}
body.auth-portal-page .auth-box .auth-contact-link{margin:12px 0 0;font-size:12px;line-height:1.5}
body.auth-portal-page .auth-box form .field{margin-bottom:10px;gap:6px}
body.auth-portal-page .auth-box .auth-field-label-row{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}
body.auth-portal-page .auth-box .auth-field-label-row label{font-size:13px;line-height:1.5}
body.auth-portal-page .auth-box .auth-field-label-row small{font-size:11px;line-height:1.5}
body.auth-portal-page .auth-switch{font-size:13px;line-height:1.5}
body.auth-portal-page .auth-box .auth-contact-link{display:flex;justify-content:center;margin-top:10px}
body.auth-portal-page .auth-box form .auth-session-hint{font-size:12px;line-height:1.5;margin-bottom:8px}
@media(min-width:961px){.auth-portal .language-picker summary{min-height:36px;padding-block:6px}}
body.auth-portal-page .auth-box .auth-create-account.button{min-height:32px!important;padding:4px 6px!important;font-size:12px!important}
body.auth-portal-page .captcha-block{margin:10px 0 14px}
@media(min-width:961px) and (max-height:720px){
 body.auth-portal-page{padding:16px 20px}
 .auth-portal .auth-brand-panel{padding:22px 26px}
 .auth-portal .auth-brand-panel .wordmark{margin-bottom:14px}
 .auth-portal .auth-service-area{margin-top:16px}
 .auth-portal .auth-main{padding:14px 28px 18px}
 .auth-portal .auth-toolbar{margin-bottom:8px}
 .auth-portal .auth-box>p{margin-top:6px;margin-bottom:12px}
 .auth-portal .auth-switch{margin-top:10px}
 .auth-portal .auth-switch-login{padding-top:8px}
}
@media(max-width:960px){
 .auth-page.auth-portal{max-width:460px;border-radius:20px}
 .auth-portal .auth-main{padding:22px 26px 24px}
 .auth-portal .auth-toolbar{margin-bottom:20px}
 .auth-portal .auth-box>p{margin-bottom:16px}
}
@media(max-width:540px){
 body.auth-portal-page{padding:16px 12px}
 .auth-portal .auth-main{padding:20px 20px 22px}
 body.auth-portal-page .auth-box h1{font-size:24px}
 .auth-portal .auth-toolbar{margin-bottom:18px}
 body.auth-portal-page .auth-box .auth-create-account.button{min-height:44px!important}
 body.auth-portal-page .auth-password-toggle{width:44px;height:44px;right:1px}
}
@media(max-width:360px){.auth-portal .auth-main{padding-inline:16px}}
