/*
 * ============================================================
 * BLOODMOON GRID
 * Account - Password Reset
 * ============================================================
 *
 * Version : 2026-09-09 12:03
 */

.password-reset-page {
    min-height: calc(100vh - 150px);
    padding: 72px 20px;
    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(179, 35, 53, 0.07),
            transparent 30%
        ),
        #f6f7f9;
}

.password-reset-card {
    position: relative;
    width: min(100%, 610px);
    margin: 0 auto;
    padding: 42px;
    border: 1px solid #e0e4ea;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 20px 55px rgba(28, 35, 46, 0.08);
}

.password-reset-language {
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    gap: 6px;
}

.password-reset-language a {
    min-width: 40px;
    padding: 7px 10px;
    border: 1px solid #dce1e7;
    border-radius: 9px;
    color: #697383;
    background: #ffffff;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.82rem;
}

.password-reset-language a.is-active {
    border-color: #b32335;
    background: #b32335;
    color: #ffffff;
}

.password-reset-heading {
    text-align: center;
    margin-bottom: 28px;
}

.password-reset-kicker {
    display: block;
    margin-bottom: 10px;
    color: #b32335;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.password-reset-heading h1 {
    margin: 0 0 10px;
    color: #222a37;
    font-size: clamp(1.9rem, 5vw, 2.6rem);
    line-height: 1.1;
}

.password-reset-heading p {
    margin: 0 auto;
    max-width: 500px;
    color: #6b7585;
    line-height: 1.6;
}

.password-reset-subnote {
    margin-top: 10px !important;
    font-size: 0.9rem;
}

.password-reset-form {
    display: grid;
    gap: 18px;
}

.password-reset-field label {
    display: block;
    margin-bottom: 7px;
    color: #2b3340;
    font-weight: 800;
}

.password-reset-field input {
    width: 100%;
    box-sizing: border-box;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid #ccd3dc;
    border-radius: 11px;
    background: #ffffff;
    color: #222a37;
    font: inherit;
}

.password-reset-field input:focus {
    outline: none;
    border-color: #b32335;
    box-shadow: 0 0 0 3px rgba(179, 35, 53, 0.10);
}

.password-reset-submit,
.password-reset-primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    min-height: 50px;
    padding: 12px 18px;
    border: 0;
    border-radius: 11px;
    background: #b32335;
    color: #ffffff;
    font: inherit;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.password-reset-submit:hover,
.password-reset-primary-link:hover {
    background: #971b2b;
}

.password-reset-secondary-link {
    display: block;
    margin-top: 20px;
    color: #707a89;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
}

.password-reset-secondary-link:hover {
    color: #b32335;
}

.password-reset-error {
    margin-bottom: 20px;
    padding: 13px 15px;
    border: 1px solid #f0bcc3;
    border-radius: 11px;
    background: #fff1f3;
    color: #ad1f31;
    font-weight: 800;
}

.password-reset-email-summary {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 11px;
    background: #f4f6f8;
    text-align: center;
}

.password-reset-email-summary span {
    display: block;
    margin-bottom: 3px;
    color: #7c8593;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.password-reset-email-summary strong {
    color: #2a323f;
    overflow-wrap: anywhere;
}

.password-reset-avatar-list {
    display: grid;
    gap: 10px;
}

.password-reset-avatar-choice {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 16px;
    border: 1px solid #dfe4e9;
    border-radius: 12px;
    background: #fafbfc;
    cursor: pointer;
}

.password-reset-avatar-choice:hover {
    border-color: #d09aa2;
    background: #fffafb;
}

.password-reset-avatar-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.password-reset-avatar-radio {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    border: 2px solid #c7cdd5;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: inset 0 0 0 4px #ffffff;
}

.password-reset-avatar-choice input:checked
+ .password-reset-avatar-radio {
    border-color: #b32335;
    background: #b32335;
}

.password-reset-avatar-choice:has(input:checked) {
    border-color: #b32335;
    background: #fff6f7;
}

.password-reset-avatar-name {
    color: #252d39;
    font-weight: 900;
}

.password-reset-avatar-confirmation {
    margin: -6px 0 22px;
    padding: 13px 15px;
    border: 1px solid #e1e5ea;
    border-radius: 11px;
    background: #f7f8fa;
    color: #252d39;
    text-align: center;
    font-weight: 900;
}

.password-reset-success-icon,
.password-reset-invalid-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;
    border-radius: 50%;
    font-size: 1.65rem;
    font-weight: 900;
}

.password-reset-success-icon {
    background: #e4f6ea;
    color: #238548;
}

.password-reset-invalid-icon {
    background: #fde8eb;
    color: #b32335;
}

@media (max-width: 640px) {
    .password-reset-page {
        padding: 38px 14px;
    }

    .password-reset-card {
        padding: 34px 20px 28px;
        border-radius: 17px;
    }

    .password-reset-language {
        position: static;
        justify-content: flex-end;
        margin-bottom: 18px;
    }
}
