/* Password reset flow (PasswordResetController).

   Everything is scoped under #password-reset. The broad element selectors in
   2021.css and legacy.css centre paragraphs and let .container run the full
   width of the viewport, so these rules need the ID to reliably win. */

#password-reset {
    display: flex;
    justify-content: center;
    padding: 55px 20px 90px;
}

#password-reset .pr-card {
    max-width: 440px;
    text-align: left;
    width: 100%;
}

#password-reset .pr-card h1 {
    color: #19385b;
    font-size: 26px;
    letter-spacing: .01em;
    line-height: 1.25;
    margin: 0 0 14px;
    text-align: left;
}

#password-reset .pr-card p {
    color: #33475b;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 18px;
    text-align: left;
}

#password-reset .pr-card p.pr-note {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.55;
}

/* Fields */

#password-reset .pr-field {
    margin-bottom: 20px;
}

#password-reset .pr-field label {
    color: #19385b;
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    margin-bottom: 7px;
    text-transform: uppercase;
}

#password-reset .pr-field input[type="text"],
#password-reset .pr-field input[type="email"],
#password-reset .pr-field input[type="password"] {
    background-color: #fff;
    border: 1px solid #c9ced6;
    border-radius: 3px;
    color: #212529;
    display: block;
    font-size: 15px;
    padding: 11px 12px;
    transition: border-color .15s ease-in-out;
    width: 100%;
}

#password-reset .pr-field input[type="text"]:focus,
#password-reset .pr-field input[type="email"]:focus,
#password-reset .pr-field input[type="password"]:focus {
    border-color: #19385b;
    box-shadow: 0 0 0 3px rgba(25, 56, 91, .12);
    outline: none;
}

#password-reset .pr-field input.input-validation-error {
    border-color: #b3261e;
}

/* Actions */

#password-reset .pr-submit {
    margin-top: 6px;
    padding-bottom: 11px;
    padding-top: 11px;
    width: 100%;
}

#password-reset .pr-links {
    border-top: 1px solid #e6e8ec;
    margin-top: 30px;
    padding-top: 18px;
}

#password-reset .pr-links p {
    font-size: 14px;
    margin: 0;
}

#password-reset .pr-links a {
    color: #19385b;
    text-decoration: underline;
}

/* Validation */

#password-reset .field-validation-error {
    color: #b3261e;
    display: block;
    font-size: 13px;
    margin-top: 7px;
}

#password-reset .validation-summary-errors {
    background-color: #fdecea;
    border-left: 3px solid #b3261e;
    margin-bottom: 22px;
    padding: 12px 14px;
}

#password-reset .validation-summary-errors ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#password-reset .validation-summary-errors li {
    color: #b3261e;
    font-size: 14px;
    line-height: 1.5;
}

/* Status pages (link sent, link expired, password updated) */

#password-reset .pr-status-icon {
    align-items: center;
    border-radius: 50%;
    display: flex;
    height: 46px;
    justify-content: center;
    margin-bottom: 18px;
    width: 46px;
}

#password-reset .pr-status-icon svg {
    height: 22px;
    width: 22px;
}

#password-reset .pr-status-icon.pr-good {
    background-color: #e8f3ec;
    color: #1c7a45;
}

#password-reset .pr-status-icon.pr-warn {
    background-color: #fdf3e3;
    color: #9a6412;
}

@media (max-width: 575px) {
    #password-reset {
        padding: 35px 18px 60px;
    }

    #password-reset .pr-card h1 {
        font-size: 22px;
    }
}
