/* Loaded only by the login and recovery pages. */
header #logo::before { background-image: url("../Images/logobg.png"); }
#main > form {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
#main > form > header, #topnav, #footer { flex-shrink: 0; }
#content {
    float: none;
    clear: both;
    display: flex;
    flex: 1 0 auto;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 64px 24px;
    background: #f5f7fa;
}
#loginbox.account-access, .account-access.recovery-form {
    position: static;
    width: 100%;
    max-width: 480px;
    margin: 0;
    padding: 32px;
    background: #fff;
    border: 1px solid #d6dee8;
    border-top: 4px solid #385b88;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(30, 50, 75, .07);
    color: #26364a;
    font-size: 16px;
    line-height: 1.5;
}
.account-access { overflow-wrap: anywhere; }
.login-heading { margin-bottom: 28px; text-align: center; }
#content .login-eyebrow {
    margin: 0 0 8px;
    color: #536277;
    font-size: 13px;
    line-height: 1.5;
}
#content .login-heading h1 {
    margin: 0;
    color: #284775;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}
.login-field + .login-field { margin-top: 22px; }
.login-field label { display: block; margin: 0 0 8px; font-weight: 700; }
.login-field input[type=text], .login-field input[type=password] {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #8493a6;
    border-radius: 4px;
    color: #26364a;
    background: #fff;
    font: inherit;
}
#content .login-field-help { margin: 8px 0 0; color: #536277; font-size: 13px; line-height: 1.5; }
.login-card .field-error, .recovery-form .field-error, .login-error { display: block; margin: 8px 0; color: #a21b1b; font-size: 14px; }
.login-error { padding: 10px 12px; background: #fff3f3; border-radius: 4px; }
.login-error:empty { display: none; }
#content .login-submit { width: 100%; min-height: 48px; margin: 24px 0 0; border-radius: 4px; font-weight: 700; }
#content .login-recovery { margin: 12px 0 0; text-align: center; }
.login-submit:hover { background: #284775; }
#content .account-access a:focus, #content .account-access input:focus,
#content .account-access [tabindex="-1"]:focus {
    outline: 3px solid #385b88;
    outline-offset: 3px;
}
#content .account-access a { color: #284775; text-decoration: underline; }
.account-access .reset-link { display: inline-block; padding: .75rem .25rem; }
#content .recovery-intro { margin: 0 0 24px; color: #536277; font-size: 14px; line-height: 1.6; }
#content .recovery-support {
    margin: 24px 0 0;
    padding-top: 20px;
    border-top: 1px solid #d6dee8;
    color: #536277;
    font-size: 13px;
    line-height: 1.6;
}
.recovery-support a { white-space: nowrap; }
.recovery-options { margin-top: 16px; font-size: 14px; }
.recovery-form > .field-error { margin: 16px 0 0; padding: 12px; background: #fff3f3; border-radius: 4px; }
.recovery-form .account-status {
    padding: 16px;
    border-left: 4px solid #385b88;
    border-radius: 4px;
    background: #f1f5fb;
    font-size: 14px;
    line-height: 1.6;
}
.account-status p + p { margin-top: 12px; }
.account-status .status-title { color: #284775; font-weight: 700; }
.account-access .account-button {
    display: block;
    min-height: 44px;
    margin: 1rem 0;
    padding: .5rem 1rem;
    background: #385b88;
    color: #fff;
    border: 1px solid #284775;
    font-size: 1rem;
    cursor: pointer;
}
@media (max-width: 600px) {
    #content { padding: 40px 16px; }
    #loginbox.account-access, .account-access.recovery-form { padding: 24px 20px; }
    #content .login-heading h1 { font-size: 25px; }
}
