/* 找回/重置密码页面：与登录页保持相同的认证视觉语言。 */
.recovery-page,
.recovery-page * {
    box-sizing: border-box;
}

html:has(.recovery-page) {
    min-height: 100%;
    background: #f4f7fb;
}

body.recovery-page {
    min-height: 100vh;
    margin: 0;
    color: #172b4d;
    background: #f4f7fb;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.recovery-page button,
.recovery-page input {
    font: inherit;
}

.recovery-page button {
    border: 0;
}

.recovery-page .recovery-layout {
    display: flex;
    min-height: 100vh;
    overflow: hidden;
}

.recovery-page .recovery-hero {
    position: relative;
    display: flex;
    flex: 1 1 52%;
    min-width: 420px;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 52px 8vw 36px;
    color: #fff;
    background: radial-gradient(circle at 88% 10%, rgba(71, 210, 186, .28), transparent 34%), linear-gradient(140deg, #1454b9 0%, #1b70d7 48%, #159b93 100%);
}

.recovery-page .hero-glow {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    pointer-events: none;
    opacity: .38;
}

.recovery-page .hero-glow-one {
    top: 22%;
    right: -120px;
    width: 440px;
    height: 440px;
}

.recovery-page .hero-glow-two {
    right: 90px;
    bottom: -230px;
    width: 480px;
    height: 480px;
    background: rgba(255, 255, 255, .05);
}

.recovery-page .hero-content,
.recovery-page .hero-foot {
    position: relative;
    z-index: 1;
}

.recovery-page .brand-mark,
.recovery-page .mobile-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.recovery-page .brand-logo {
    display: inline-block;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, .95);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 75%;
    box-shadow: 0 8px 22px rgba(5, 47, 116, .2);
}

.recovery-page .brand-name {
    max-width: 220px;
    overflow: hidden;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recovery-page .hero-kicker {
    margin-top: 112px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .23em;
}

.recovery-page .recovery-hero h1 {
    margin: 18px 0 20px;
    color: #fff;
    font-size: clamp(38px, 4.2vw, 64px);
    font-weight: 300;
    line-height: 1.13;
    letter-spacing: -.04em;
}

.recovery-page .recovery-hero h1 em {
    color: #bff5e7;
    font-style: normal;
    font-weight: 700;
}

.recovery-page .recovery-hero p {
    max-width: 400px;
    margin: 0;
    color: rgba(255, 255, 255, .8);
    font-size: 15px;
    line-height: 1.9;
}

.recovery-page .hero-points {
    display: grid;
    gap: 12px;
    margin-top: 36px;
    color: rgba(255, 255, 255, .92);
    font-size: 13px;
}

.recovery-page .hero-points span {
    display: flex;
    align-items: center;
    gap: 9px;
}

.recovery-page .hero-points i {
    display: inline-flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    color: #c5f8eb;
    font-size: 12px;
    font-style: normal;
}

.recovery-page .hero-foot {
    color: rgba(255, 255, 255, .56);
    font-size: 12px;
    line-height: 1.7;
}

.recovery-page .hero-legal {
    color: rgba(255, 255, 255, .46);
    font-size: 11px;
}

.recovery-page .recovery-main {
    display: flex;
    flex: 1 1 48%;
    align-items: center;
    justify-content: center;
    min-width: 450px;
    padding: 46px 34px 56px;
    background: #f4f7fb;
}

.recovery-page .recovery-card {
    width: min(100%, 440px);
    padding: 34px 38px 30px;
    border: 1px solid rgba(224, 232, 242, .9);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(38, 72, 119, .12);
}

.recovery-page .mobile-brand {
    display: none;
    margin-bottom: 22px;
    color: #172b4d;
}

.recovery-page .mobile-brand .brand-logo {
    width: 32px;
    height: 32px;
    border: 1px solid #e7edf5;
    box-shadow: none;
}

.recovery-page .mobile-brand .brand-name {
    font-size: 16px;
}

.recovery-page .recovery-mark {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 13px;
    color: #2878e8;
    background: #edf5ff;
}

.recovery-page .recovery-mark svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.recovery-page .recovery-eyebrow {
    margin-bottom: 8px;
    color: #2878e8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
}

.recovery-page .recovery-card h1,
.recovery-page .recovery-success h2 {
    margin: 0;
    color: #172b4d;
    font-size: 28px;
    font-weight: 750;
    letter-spacing: -.035em;
}

.recovery-page .recovery-intro {
    margin: 9px 0 22px;
    color: #7b8aa5;
    font-size: 13px;
    line-height: 1.65;
}

.recovery-page .recovery-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 18px;
    padding: 10px 11px;
    border-radius: 10px;
    color: #5c7190;
    background: #f3f7ff;
    font-size: 11px;
    line-height: 1.6;
}

.recovery-page .note-icon {
    flex: 0 0 auto;
    color: #2878e8;
    font-size: 14px;
    line-height: 1.1;
}

.recovery-page .field-group {
    margin-bottom: 16px;
}

.recovery-page .field-group label {
    display: block;
    margin-bottom: 7px;
    color: #53627a;
    font-size: 12px;
    font-weight: 650;
}

.recovery-page .recovery-input {
    display: block;
    width: 100%;
    height: 46px;
    padding: 0 13px;
    border: 1px solid #dfe7f1;
    border-radius: 10px;
    outline: 0;
    color: #172b4d;
    background: #fbfcfe;
    font-size: 14px;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.recovery-page .recovery-input::placeholder {
    color: #b4bfce;
}

.recovery-page .recovery-input:focus {
    border-color: #79aaf1;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(40, 120, 232, .1);
}

.recovery-page .field-help {
    margin-top: 7px;
    color: #9aa8bb;
    font-size: 11px;
    line-height: 1.55;
}

.recovery-page .form-message {
    display: none;
    min-height: 18px;
    margin: -2px 0 11px;
    color: #df5b62;
    font-size: 12px;
    line-height: 1.5;
}

.recovery-page .form-message.is-visible {
    display: block;
}

.recovery-page .primary-button {
    display: inline-flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    padding: 0 18px;
    cursor: pointer;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(100deg, #2878e8 0%, #3d8af0 100%);
    box-shadow: 0 9px 18px rgba(40, 120, 232, .2);
    font-size: 14px;
    font-weight: 750;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.recovery-page .primary-button:hover,
.recovery-page .primary-button:focus {
    box-shadow: 0 12px 24px rgba(40, 120, 232, .26);
    transform: translateY(-1px);
}

.recovery-page .primary-button:focus-visible,
.recovery-page .text-link:focus-visible {
    outline: 3px solid rgba(40, 120, 232, .22);
    outline-offset: 2px;
}

.recovery-page .primary-button:disabled,
.recovery-page .primary-button.is-loading {
    cursor: not-allowed;
    opacity: .65;
    transform: none;
}

.recovery-page .recovery-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    color: #9aa8bb;
    font-size: 12px;
    line-height: 1.5;
}

.recovery-page .text-link {
    color: #2878e8;
    font-weight: 650;
    text-decoration: none;
}

.recovery-page .recovery-success {
    display: none;
    text-align: center;
}

.recovery-page .recovery-success-icon {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    margin: 3px 0 18px;
    border-radius: 50%;
    color: #18a889;
    background: #ebfaf6;
    box-shadow: inset 0 0 0 1px rgba(24, 168, 137, .12);
    font-size: 26px;
    font-weight: 750;
}

.recovery-page .recovery-success h2 {
    font-size: 24px;
}

.recovery-page .recovery-success p {
    margin: 10px 0 0;
    color: #7b8aa5;
    font-size: 13px;
    line-height: 1.7;
}

.recovery-page .recovery-success .text-link {
    display: inline-block;
    margin-top: 22px;
}

.recovery-page .recovery-mobile-foot {
    display: none;
}

@media (max-width: 900px) {
    .recovery-page .recovery-hero {
        min-width: 360px;
        padding-right: 5vw;
        padding-left: 5vw;
    }

    .recovery-page .recovery-main {
        min-width: 410px;
        padding-right: 22px;
        padding-left: 22px;
    }
}

@media (max-width: 700px) {
    .recovery-page .recovery-layout {
        display: block;
        overflow: visible;
    }

    .recovery-page .recovery-hero {
        display: none;
    }

    .recovery-page .recovery-main {
        display: block;
        min-width: 0;
        min-height: 100vh;
        padding: 25px 16px 40px;
    }

    .recovery-page .recovery-card {
        width: min(100%, 430px);
        margin: 0 auto;
        padding: 27px 22px 24px;
        border-radius: 18px;
    }

    .recovery-page .mobile-brand {
        display: inline-flex;
    }

    .recovery-page .recovery-mobile-foot {
        display: block;
        max-width: 430px;
        margin: 22px auto 0;
        color: #9aa8bb;
        font-size: 11px;
        line-height: 1.75;
        text-align: center;
    }
}

@media (max-width: 380px) {
    .recovery-page .recovery-main {
        padding-right: 10px;
        padding-left: 10px;
    }

    .recovery-page .recovery-card {
        padding-right: 16px;
        padding-left: 16px;
    }

    .recovery-page .recovery-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}
