:root {
    --reset-blue: #1687f8;
    --reset-panel: rgba(22, 23, 25, 0.96);
    --reset-border: rgba(255, 255, 255, 0.14);
    --reset-muted: #b9c0ca;
}

html.password-recovery-active,
body.password-recovery-page {
    min-height: 100%;
}

body.password-recovery-page {
    margin: 0;
    overflow: hidden;
    color: #fff;
    background: #08090b;
}

body.password-recovery-page > header,
body.password-recovery-page > nav,
body.password-recovery-page .public-nav,
body.password-recovery-page .member-nav,
body.password-recovery-page .main-nav,
body.password-recovery-page .navbar {
    position: relative;
    z-index: 1002;
}

.password-reset-shell {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    overflow-y: auto;
    padding: 112px 24px 48px;
    box-sizing: border-box;
    background:
        linear-gradient(90deg, rgba(3, 5, 8, 0.94), rgba(3, 5, 8, 0.78)),
        rgba(3, 5, 8, 0.76);
    backdrop-filter: blur(2px);
}

.password-reset-card {
    width: min(900px, 100%);
    display: grid;
    grid-template-columns: minmax(240px, 0.82fr) minmax(340px, 1.18fr);
    overflow: hidden;
    border: 1px solid var(--reset-border);
    border-radius: 8px;
    background: var(--reset-panel);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.password-reset-intro,
.password-reset-form-panel {
    padding: clamp(32px, 5vw, 54px);
}

.password-reset-intro {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 42px;
    border-right: 1px solid var(--reset-border);
    background: linear-gradient(145deg, rgba(31, 50, 72, 0.72), rgba(17, 19, 22, 0.2));
}

.password-reset-eyebrow {
    margin: 0 0 22px;
    color: #71afff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.password-reset-title {
    margin: 0;
    max-width: 390px;
    color: #fff;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.02;
    letter-spacing: 0;
}

.password-reset-copy {
    margin: 0;
    max-width: 360px;
    color: var(--reset-muted);
    font-size: 17px;
    line-height: 1.55;
}

.password-reset-form-panel {
    align-self: center;
}

.password-reset-form-heading {
    margin: 0 0 8px;
    color: #fff;
    font-size: 25px;
    line-height: 1.2;
}

.password-reset-form-note {
    margin: 0 0 26px;
    color: var(--reset-muted);
    font-size: 15px;
    line-height: 1.5;
}

.password-reset-form {
    width: 100%;
    margin: 0;
    padding: 0;
    color: #fff;
    background: transparent;
}

.password-reset-form label {
    display: block;
    margin: 0 0 8px;
    color: #dfe4eb;
    font-size: 14px;
    font-weight: 700;
}

.password-reset-form input[type="email"],
.password-reset-form input[type="text"],
.password-reset-form input[type="password"] {
    width: 100%;
    min-height: 48px;
    margin: 0 0 18px;
    padding: 12px 14px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    outline: none;
    color: #fff;
    background: #101113;
    font: inherit;
}

.password-reset-form input:focus {
    border-color: #5ca8ff;
    box-shadow: 0 0 0 3px rgba(22, 135, 248, 0.18);
}

.password-reset-form button[type="submit"],
.password-reset-form input[type="submit"] {
    width: 100%;
    min-height: 50px;
    margin: 8px 0 0;
    padding: 12px 18px;
    border: 0;
    border-radius: 5px;
    color: #fff;
    background: var(--reset-blue);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.password-reset-form button[type="submit"]:hover,
.password-reset-form input[type="submit"]:hover {
    background: #2b94ff;
}

.password-reset-status {
    margin: 18px 0 0;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 5px;
    color: #e4e8ed;
    background: rgba(255, 255, 255, 0.06);
    font-size: 14px;
    line-height: 1.45;
}

.password-reset-status:empty {
    display: none;
}

.password-reset-back {
    display: inline-flex;
    margin-top: 24px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.password-reset-back:hover {
    color: #71afff;
}

@media (max-width: 760px) {
    body.password-recovery-page {
        overflow: auto;
    }

    .password-reset-shell {
        position: relative;
        min-height: 100vh;
        padding: 118px 16px 36px;
    }

    .password-reset-card {
        grid-template-columns: 1fr;
    }

    .password-reset-intro {
        gap: 24px;
        border-right: 0;
        border-bottom: 1px solid var(--reset-border);
    }

    .password-reset-intro,
    .password-reset-form-panel {
        padding: 28px 24px;
    }

    .password-reset-title {
        font-size: 38px;
    }
}
.reset-status {
    position: fixed;
    top: 96px;
    left: 50%;
    z-index: 100;
    width: min(620px, calc(100% - 32px));
    padding: 14px 18px;
    transform: translateX(-50%);
    border: 1px solid rgba(74, 151, 232, 0.72);
    border-radius: 6px;
    background: rgba(12, 29, 44, 0.97);
    color: #f5f9ff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.48);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
}

.reset-status p {
    margin: 0;
    color: inherit;
}

@media (max-width: 640px) {
    .reset-status {
        top: 86px;
        font-size: 14px;
    }
}
form [type="submit"]:disabled {
    cursor: wait;
    opacity: 0.72;
    filter: saturate(0.65);
    pointer-events: none;
}
