/* Minimal CloudDE authentication, shared by both access steps. */
body.auth-pending{background:#f8fafc;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
body.auth-pending main{padding:64px 24px 100px!important}
body.auth-pending #loginPanel,body.auth-pending #mfaPanel{width:min(526px,100%);padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.auth-pending .cloudde-auth-logo{width:192px;height:120px;object-fit:contain;margin:0 auto 56px}
body.auth-pending #loginPanel h2,body.auth-pending .cloudde-auth-subtitle,body.auth-pending.portal-whm #loginPanel:before{display:none}
body.auth-pending #loginPanel form,body.auth-pending #mfaPanel form{gap:14px;margin:0}
body.auth-pending #loginPanel label,body.auth-pending #mfaPanel label{font-size:16px;font-weight:650;color:#15233c;margin:0 0 -6px}
body.auth-pending #loginPanel input,body.auth-pending #mfaPanel input{width:100%;height:64px;border:1px solid #c2cddd;border-radius:8px;background:#fff;font-size:17px;padding:0 18px}
body.auth-pending #email{padding-left:62px!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 24 24' fill='none' stroke='%2395a4b6' stroke-width='1.7'%3E%3Crect x='2' y='4' width='20' height='16' rx='3'/%3E%3Cpath d='m3 6 9 7 9-7'/%3E%3C/svg%3E") no-repeat 21px center!important}
body.auth-pending input::placeholder{color:#95a2b5;opacity:1}
body.auth-pending #loginPanel form button[type=submit],body.auth-pending #mfaPanel form button[type=submit]{height:64px;border-radius:8px;background:#087cff;box-shadow:none;font-size:18px;font-weight:650;justify-content:center;margin-top:8px}
body.auth-pending #loginPanel form button[type=submit]:hover,body.auth-pending #mfaPanel form button[type=submit]:hover{background:#006be3}
body.auth-pending #inviteToggle{margin:30px auto 0!important;font-size:16px;justify-content:center;height:auto;padding:8px}
body.auth-pending #changeLoginEmail{margin:0 0 20px;color:#087cff;background:transparent;justify-content:center;width:100%;height:32px}
body.auth-pending #codeForm{padding-top:0;border-top:0;margin-top:0}
body.auth-pending #code{font-size:23px;letter-spacing:.2em}
.auth-clean-footer{display:none}
body.auth-pending .auth-clean-footer{display:block;position:fixed;bottom:28px;left:0;right:0;text-align:center;color:#8d9aad;font-size:14px;pointer-events:none}
@media(max-height:760px){body.auth-pending .auth-clean-footer{position:static;padding:0 16px 24px}body.auth-pending main{padding-top:36px!important;padding-bottom:36px!important}}
@media(max-width:620px){body.auth-pending main{padding:40px 24px 80px!important}body.auth-pending .cloudde-auth-logo{width:154px;height:100px;margin-bottom:38px}body.auth-pending #loginPanel input,body.auth-pending #mfaPanel input,body.auth-pending #loginPanel form button[type=submit]{height:58px}body.auth-pending #loginPanel label{font-size:14px}body.auth-pending .auth-clean-footer{font-size:12px}}

/* Slate background and vertical CloudDE signature. */
body.auth-pending{background:#273e50;color:#fff}
body.auth-pending .cloudde-auth-brand{text-align:center;margin:0 auto 56px}
body.auth-pending .cloudde-auth-brand .cloudde-auth-logo{width:174px;height:108px;object-fit:contain;margin:0 auto 2px}
body.auth-pending .cloudde-auth-brand>span{display:block;color:#fff;font-size:46px;font-weight:850;line-height:1.05;letter-spacing:-2px}
body.auth-pending #loginPanel label,body.auth-pending #mfaPanel label{color:#f5f8fc}
body.auth-pending #loginPanel .hint{color:#bdcbd8}
body.auth-pending #inviteToggle,body.auth-pending #changeLoginEmail{color:#36a9ff!important}
body.auth-pending .auth-clean-footer{color:#bdcbd8}
body.auth-pending #codeForm{width:min(360px,100%);margin:0 auto!important}
body.auth-pending #codeForm input{width:100%;height:56px;text-align:center}
body.auth-pending #totp{font-size:21px;letter-spacing:.15em}
body.auth-pending #recoveryCode{font-size:16px;letter-spacing:.03em}
body.auth-pending #codeForm button[type=submit]{height:58px}
body.auth-pending #loginPanel:has(#codeForm:not([hidden])) #message{width:min(360px,100%);margin:0 auto 20px}
body.auth-pending #mfaPanel h2,body.auth-pending #mfaPanel>p{color:#f5f8fc}
@media(max-width:620px){body.auth-pending .cloudde-auth-brand{margin-bottom:38px}body.auth-pending .cloudde-auth-brand .cloudde-auth-logo{width:145px;height:92px}body.auth-pending .cloudde-auth-brand>span{font-size:38px;letter-spacing:-1.5px}body.auth-pending #codeForm{width:min(320px,100%)}}

body.auth-pending #emailForm{width:min(400px,100%);margin:0 auto}
body.auth-pending #emailForm input{height:52px;font-size:15px}
body.auth-pending #emailForm button[type=submit]{height:44px;font-size:16px}

/* Compact first-step action and centered authentication layout. */
body.auth-pending main{justify-items:center!important;align-content:center!important}
body.auth-pending #loginPanel{justify-self:center!important}
body.auth-pending #emailForm{justify-self:center;margin-left:auto!important;margin-right:auto!important}
body.auth-pending #emailForm button[type=submit]{height:38px!important;min-height:38px!important;padding:0 16px!important;justify-content:center!important;text-align:center;line-height:1.2}
body.auth-pending #inviteToggle{margin-left:auto!important;margin-right:auto!important;justify-content:center!important;text-align:center}
body.auth-pending .cloudde-auth-brand{margin-left:auto;margin-right:auto;text-align:center}

body.auth-pending #codeForm button[type=submit]{height:38px!important;min-height:38px!important;padding:0 16px!important;font-size:16px;justify-content:center!important;line-height:1.2}

body.auth-pending #changeLoginEmail{display:flex;width:max-content;max-width:100%;height:36px;min-height:36px;margin:0 auto 22px;padding:0 16px;border:1px solid #6a879c!important;border-radius:8px;background:#ffffff08!important;color:#e1eff9!important;font-size:13px;font-weight:600;align-items:center;justify-content:center;text-decoration:none;transition:background .15s,border-color .15s}
body.auth-pending #changeLoginEmail:hover{background:#ffffff12!important;border-color:#8eafc7!important;color:#fff!important;text-decoration:none}
body.auth-pending #changeLoginEmail:focus-visible{outline:3px solid #36a9ff;outline-offset:3px}

body.auth-pending .cloudde-auth-brand .cloudde-auth-logo-complete{width:210px;height:auto;margin:0 auto;object-fit:contain}
@media(max-width:620px){body.auth-pending .cloudde-auth-brand .cloudde-auth-logo-complete{width:178px;height:auto}}

/* Invitation uses the same compact access form. */
body.auth-pending #inviteForm{width:min(400px,100%);margin:0 auto!important;gap:14px}
body.auth-pending #inviteForm input{width:100%;height:52px;font-size:15px}
body.auth-pending #inviteCode{text-align:center;letter-spacing:.16em;font-size:20px!important}
body.auth-pending #inviteForm button[type=submit]{height:38px!important;min-height:38px!important;padding:0 16px!important;font-size:16px;justify-content:center!important;line-height:1.2}
body.auth-pending #inviteForm #backToLogin{width:max-content;max-width:100%;height:36px;min-height:36px;margin:8px auto 0;padding:0 16px;border:1px solid #6a879c;border-radius:8px;background:#ffffff08;color:#e1eff9;font-size:13px;font-weight:600;justify-content:center}
body.auth-pending #inviteForm #backToLogin:hover{background:#ffffff12;border-color:#8eafc7;color:#fff}
body.auth-pending #loginPanel:has(#inviteForm:not([hidden])) #message{width:min(400px,100%);margin:0 auto 20px}
