.recovery-page {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    padding: 0;
}

.recovery-page [hidden] {
    display: none;
}

/* 자간은 각 요소의 글자 크기를 기준으로 Figma의 -4%를 적용합니다. */
.recovery-page * {
    letter-spacing: -.04em;
}

.recovery-page h1[tabindex="-1"]:focus {
    outline: none;
}

.recovery-topbar {
    position: relative;
    display: grid;
    place-items: center;
    height: 64px;
    flex: none;
    font-size: 16px;
    font-weight: 700;
    line-height: 19px;
}

.recovery-topbar button {
    position: absolute;
    top: 10px;
    left: 7px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
    background: transparent;
}

.recovery-content {
    padding: 20px 24px 40px;
}

.recovery-intro {
    margin-bottom: 30px;
    padding-bottom: 32px;
    border-bottom: 2px solid #482421;
}

.recovery-intro > img {
    display: block;
}

.recovery-intro h1 {
    margin: 12px 0 8px;
    font-size: 24px;
    font-weight: 800;
    line-height: 29px;
}

.recovery-intro p {
    margin: 0;
    font-size: 12px;
    line-height: 14px;
}

.recovery-fields {
    display: grid;
    gap: 16px;
}

.recovery-step {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 14px;
    color: #1b21d7;
}

.recovery-page .input-row .account-button-secondary {
    width: 94px;
    padding: 0 8px;
    color: #482421;
    font-weight: 800;
}

#recovery-mobile,
#recovery-code,
#recovery-user-id {
    font-weight: 500;
}

.recovery-page .input-row .account-input {
    width: 0;
}

.recovery-page .password-field .password-toggle {
    right: 10px;
}

.recovery-page .account-input::placeholder {
    color: #6b4a46;
    opacity: 1;
}

.recovery-page .account-button {
    width: 100%;
    line-height: 19px;
}

.recovery-page .account-button:disabled {
    cursor: default;
    color: #929292;
    background: #e1e1e1;
}

.recovery-page .account-button-secondary:disabled {
    border-color: #e1e1e1;
    background: transparent;
}

.recovery-secondary {
    border: 2px solid #482421;
    background: transparent;
    color: #482421;
}

.recovery-actions {
    display: grid;
    gap: 16px;
    margin-top: 32px;
}

.recovery-text-link {
    text-align: center;
    color: #5f5f5f;
    font-size: 14px;
    font-weight: 700;
    line-height: 17px;
    text-underline-offset: 2px;
}

.recovery-page .account-state-card {
    padding-right: 19px;
    padding-left: 19px;
}

.recovery-id-card {
    display: grid;
    gap: 12px;
    padding: 20px;
    border-radius: 24px;
    background: #ecedf4;
    text-align: center;
    font-weight: 700;
}

#recovery-id-results {
    display: grid;
    gap: 16px;
}

.recovery-id-card p {
    margin: 0;
    line-height: 17px;
}

.recovery-id-card strong {
    color: #1b21d7;
    font-size: 32px;
    font-weight: 800;
    line-height: 38px;
    overflow-wrap: anywhere;
}

.recovery-id-card p:last-child {
    color: #5f5f5f;
    font-size: 12px;
    line-height: 14px;
}

.recovery-complete {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    padding: 131px 24px 40px;
    text-align: center;
    color: #482421;
}

.recovery-complete > div {
    width: min(100%, 302px);
}

.recovery-complete img {
    display: block;
    margin: 0 auto 20px;
}

.recovery-complete h1 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 24px;
}

.recovery-complete p {
    margin: 0 0 32px;
    color: #6b4a46;
    line-height: 20px;
}

.recovery-complete > .account-button {
    margin-top: auto;
}
