body.login {
    background: linear-gradient(145deg, #f5f2e8 0%, #edf5f7 52%, #f7fafb 100%);
}

body.login #login {
    width: min(440px, calc(100% - 32px));
    padding-top: 5vh;
}

body.login h1 a {
    background-image: none;
    width: auto;
    height: auto;
}

.jc-mfa-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 0 0 18px;
    color: #10364b;
}

.jc-mfa-brand strong {
    font-family: Georgia, serif;
    font-size: 30px;
}

.jc-mfa-brand span {
    color: #697784;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

#jc-mfa-form {
    border: 1px solid #d7e1e6;
    border-top: 5px solid #d9aa2c;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(16, 54, 75, .13);
    padding: 28px;
}

#jc-mfa-form .input {
    border-radius: 10px;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: .12em;
    min-height: 54px;
    text-align: center;
}

#jc-mfa-form .button-primary {
    background: #164c68;
    border-color: #164c68;
    border-radius: 10px;
    min-height: 46px;
    width: 100%;
}

.jc-mfa-intro,
.jc-mfa-expiry {
    color: #556674;
    line-height: 1.55;
}

.jc-mfa-expiry {
    background: #f4f7f8;
    border-radius: 10px;
    font-size: 12px;
    padding: 12px;
}

.jc-mfa-actions {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0;
}

.jc-mfa-actions .button {
    border-radius: 8px;
}

.jc-resetpass-intro {
    color: #556674;
    line-height: 1.55;
    margin: 0 0 18px;
    text-align: center;
}

.jc-password-field {
    align-items: center;
    display: flex;
    gap: 8px;
}

.jc-password-field .input {
    flex: 1;
}

.jc-password-toggle {
    background: none;
    border: 1px solid #d7e1e6;
    border-radius: 8px;
    color: #164c68;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    padding: 0 12px;
    white-space: nowrap;
}

.jc-resetpass-hint {
    background: #f4f7f8;
    border-radius: 10px;
    color: #556674;
    font-size: 12px;
    line-height: 1.5;
    padding: 12px;
}

.jc-lostpassword-link {
    margin: 14px 0 0;
    text-align: center;
}

.jc-lostpassword-link a {
    color: #164c68;
    font-size: 13px;
    font-weight: 600;
}
