.forgot_password_form,
.login_code_form {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 21;
    opacity: 0;
}

#password_reset:target~.login_wrapper .forgot_password_form,
#code:target~.login_wrapper .login_code_form {
    z-index: 22;
    opacity: 1;
    animation-name: fadeInLeft;
    animation-delay: .1s;
}

#password_reset:target~.login_wrapper .login_form,
#password_reset:target~.login_wrapper .registration_form,
#code:target~.login_wrapper .login_form,
#code:target~.login_wrapper .registration_form {
    z-index: 21;
    opacity: 0;
    animation-name: fadeOutLeft;
}

.login-method-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    font-weight: 600;
    margin-bottom: 1rem;
}

.login-method-divider:before,
.login-method-divider:after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background-color: #D8D8D8;
}

.login_code_form input[name="code"] {
    text-transform: uppercase;
}

/* Password set page tweaks */
h2.form-signin-heading {
    text-transform: none;
}

.form-signin .form-signin-heading {
    margin-bottom: 30px;
}

.form-group.form-md-line-input {
    margin: 5px 0 10px;
}