/* =========================================================
   Password Reset
   ========================================================= */

.password-reset-section {
    padding: 44px 0 80px;
}

.password-reset-container {
    max-width: 560px;
}

.password-reset-card {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.reset-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0 0 28px;
}

.reset-step {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding: 9px;
    border-radius: 10px;
    background: var(--surface-2);
    color: var(--muted);
    font-size: 12px;
}

.reset-step strong {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface);
    font-size: 12px;
}

.reset-step.is-active {
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 800;
}

.reset-step.is-done {
    color: var(--text);
}

.reset-step.is-done strong {
    background: var(--brand);
    color: #fff;
}

.reset-stage {
    display: none;
}

.reset-stage.is-active {
    display: block;
}

.reset-main-button {
    width: 100%;
    min-height: 49px;
    margin-top: 18px;
}

.reset-email-summary {
    display: grid;
    gap: 3px;
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--surface-2);
}

.reset-email-summary span {
    color: var(--muted);
    font-size: 12px;
}

.reset-email-summary strong {
    font-size: 15px;
    word-break: break-all;
}

.reset-code-input {
    text-align: center;
    letter-spacing: .22em;
    font-size: 19px;
    font-weight: 850;
}

.reset-code-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 28px;
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

.reset-code-meta button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--brand);
    cursor: pointer;
    font-weight: 750;
}

.reset-code-meta button:disabled {
    opacity: .5;
    cursor: default;
}

.reset-bottom-link {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.reset-bottom-link a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.reset-bottom-link a:hover {
    color: var(--brand);
}

.reset-complete-card {
    text-align: center;
}

.reset-complete-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: color-mix(in srgb, #10b981 14%, var(--surface));
    color: #10b981;
    font-size: 29px;
    font-weight: 900;
}

.reset-complete-card h1 {
    margin: 8px 0 12px;
    font-size: 30px;
    letter-spacing: -.035em;
}

.reset-complete-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.reset-complete-actions {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 28px;
}

@media (max-width: 560px) {
    .password-reset-section {
        padding: 22px 0 54px;
    }

    .password-reset-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .reset-step {
        justify-content: center;
        padding: 8px 5px;
    }

    .reset-step span {
        display: none;
    }
}


/* =========================================================
   넓게 보기 (1500px) - 비밀번호 찾기 / 재설정
   ========================================================= */
@media (min-width: 901px) {
    html[data-layout="wide"] .password-reset-container {
        max-width: 640px;
    }

    html[data-layout="wide"] .password-reset-card {
        padding: 40px;
    }

    html[data-layout="wide"] .reset-step,
    html[data-layout="wide"] .reset-step strong,
    html[data-layout="wide"] .reset-email-summary span {
        font-size: 13px;
    }

    html[data-layout="wide"] .reset-email-summary strong {
        font-size: 16px;
    }

    html[data-layout="wide"] .reset-code-input {
        font-size: 21px;
    }

    html[data-layout="wide"] .reset-code-meta,
    html[data-layout="wide"] .reset-bottom-link a {
        font-size: 15px;
    }

    html[data-layout="wide"] .reset-main-button {
        min-height: 53px;
        font-size: 16px;
    }
}
