html { min-height: 100%; }
body.login-page {
    margin: 0;
    border-top: none !important;
    min-height: 100vh;
    height: auto !important;
    display: flex;
    flex-direction: column;
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.5)), url(/static/css/landing/landing/imgs/header.jpg) no-repeat center;
    background-size: cover;
    color: #253347;
    font-family: BRoya, Tahoma, sans-serif;
}
.login-shell { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 48px 16px; }
.login-card { width: 100%; max-width: 460px; background: white; padding: 32px; border: 1px solid #e1e6ed; border-radius: 18px; box-shadow: 0 12px 40px #2533470d; text-align: right; }
.login-brand { color: #b14f08; font-size: 25px; font-weight: bold; }
.login-step, .login-hint { color: #596879; font-size: 15px; }
.login-step { margin-top: 24px; }
.login-card h1 { font-size: 28px; line-height: 1.6; margin: 8px 0; }
.login-card p { line-height: 1.9; }
.login-form { margin-top: 22px; }
.login-form label { display: block; margin-bottom: 8px; font-size: 18px; }
.login-form input:not([type=hidden]) { box-sizing: border-box; width: 100%; border: 1px solid #a6b2c0; border-radius: 9px; background: #fbfcfe; padding: 13px 16px; font: 20px Tahoma, sans-serif; min-height: 50px; }
.login-form input:focus { outline: 3px solid #ffd7b5; border-color: #b14f08; }
#token { letter-spacing: .45em; text-align: center; }
.login-form button { width: 100%; border-radius: 9px; min-height: 48px; padding: 10px; font: inherit; cursor: pointer; }
.login-primary { border: 1px solid #a44807; background: #a44807; color: white; }
.login-secondary { border: 1px solid #a44807; background: white; color: #a44807; margin-top: 12px; }
.login-form button:disabled { background: #e8ecf1; color: #606b78; border-color: #d6dce4; cursor: not-allowed; }
.login-change { text-align: center; margin: 18px 0; }
.login-change button { border: 0; background: none; color: #85400d; text-decoration: underline; cursor: pointer; font: inherit; }
.login-alert { border: 1px solid #ecccb0; padding: 12px; border-radius: 8px; background: #fff4e9; color: #813c09; }
.login-support { border-top: 1px solid #e1e6ed; padding-top: 18px; margin-top: 24px; }
.login-card a { color: #85400d; }
/* Center the widget's fixed-width container, including the shared iframe scale. */
.login-form .g-recaptcha {
    display: flex;
    justify-content: center;
    direction: ltr;
    margin: 12px 0;
    min-height: 78px;
}
.login-form .g-recaptcha > div { flex: 0 0 auto; }
/* Keep the shared header/menu styling and the original login background. */
.login-page > #header3 { flex-shrink: 0; }
.login-page > footer {
    position: static !important;
    flex-shrink: 0;
    margin-top: auto;
    padding: 20px 24px;
    color: #f1f3f7;
    text-align: center;
}
.login-page .simple-footer-content { width: 100%; max-width: 1100px; margin: 0 auto; }
.login-page .simple-footer-note { font-size: 14px; line-height: 2.1; overflow-wrap: break-word; }
.login-page .simple-footer-note + .simple-footer-note { margin-top: 8px; }
.login-page .simple-footer-note[lang="en"] { font-family: Arial, sans-serif; font-size: 13px; }
@media (max-width: 420px) { .login-card { padding: 20px 12px; } .login-shell { padding: 24px 8px; } }
