.auth-page { min-height:100vh; display:grid; place-items:center; padding:32px 20px; background:#f3f6fb; background-image:radial-gradient(circle at 18% 10%,rgb(219 234 254 / .75),transparent 31%),radial-gradient(circle at 88% 88%,rgb(224 231 255 / .7),transparent 30%); }
.auth-shell { width:min(440px,100%); }.auth-card { padding:30px; background:rgb(255 255 255 / .97); border:1px solid #e2e8f0; border-radius:14px; box-shadow:0 18px 45px rgb(15 23 42 / .09),0 2px 8px rgb(15 23 42 / .04); }
.auth-header { display:flex;align-items:center;gap:11px;margin-bottom:30px }.auth-logo { display:block;width:38px;height:38px;border-radius:10px;box-shadow:0 7px 18px rgb(23 32 51 / .2) }.auth-product,.auth-header small { display:block }.auth-product { font-size:.92rem;font-weight:780;letter-spacing:-.015em }.auth-header small { margin-top:1px;color:#8490a3;font-size:.68rem;letter-spacing:.02em }
.auth-intro { margin-bottom:25px }.auth-intro .eyebrow { margin-bottom:7px!important }.auth-intro h1 { margin-bottom:8px;font-size:1.65rem;letter-spacing:-.035em }.auth-intro>p:last-child { margin:0;color:#64748b;font-size:.88rem }.auth-card .form-group { margin-bottom:18px }.auth-card .form-group label { color:#344054;font-size:.78rem }.label-row { display:flex;align-items:center;justify-content:space-between;gap:12px }.label-row a { font-size:.72rem;font-weight:650 }
.input-with-icon,.password-field { position:relative }.input-with-icon>span { position:absolute;z-index:1;left:13px;top:10px;color:#94a3b8;font-size:.85rem }.input-with-icon .form-control { padding-left:36px }.auth-card .form-control { min-height:44px;border-color:#d5dce7;border-radius:8px;font-size:.86rem;box-shadow:0 1px 2px rgb(15 23 42 / .02) }.auth-card .form-control::placeholder { color:#a3adbc }.password-field .form-control { padding-right:66px }.password-toggle { position:absolute;right:5px;top:5px;height:34px;padding:0 8px;color:#64748b;background:#fff;border:0;border-radius:6px;cursor:pointer;font-size:.69rem;font-weight:650 }.password-toggle:hover { color:#2563eb;background:#f8fafc }.check-row { color:#475569;font-size:.78rem }.check-row input { width:15px;height:15px;accent-color:#2563eb }
.login-button { min-height:44px;border-radius:8px;box-shadow:0 5px 12px rgb(37 99 235 / .16) }.htmx-indicator { display:none }.htmx-request .htmx-indicator,.htmx-request.htmx-indicator { display:inline }.htmx-request .login-button>span:first-child { display:none }.auth-divider { display:flex;align-items:center;gap:12px;margin:22px 0 14px;color:#94a3b8;font-size:.7rem }.auth-divider::before,.auth-divider::after { content:"";height:1px;flex:1;background:#e8ecf2 }.auth-card>.btn-secondary { min-height:42px;background:#fff }
.resend { margin-top:22px;padding-top:17px;border-top:1px solid #edf0f4 }.resend summary { color:#64748b;cursor:pointer;font-size:.74rem;text-align:center }.resend form { margin-top:16px }.auth-footer { margin:16px 0 0;color:#94a3b8;font-size:.66rem;text-align:center }.auth-links { margin:20px 0 0;text-align:center;font-size:.8rem }
@media(max-width:520px){.auth-page{display:block;padding:0;background:#fff}.auth-shell{width:100%;min-height:100vh}.auth-card{min-height:calc(100vh - 38px);padding:26px 22px;border:0;border-radius:0;box-shadow:none}.auth-header{margin-bottom:38px}.auth-intro h1{font-size:1.5rem}.auth-footer{margin:10px 0 14px}}
.totp-login-input { font-size:1.15rem!important;letter-spacing:.18em;text-align:center }
.captcha-wrap { min-height:78px;margin:4px 0 16px;overflow:hidden }
