/* Email Form Styles */
.password-reset-page {
    background-color: #f9f9f9;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.password-reset-wrap {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.password-reset-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #FC6203;
    text-align: center;
    line-height: 1.5;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
}

.password-reset-title .sp-only-break {
    display: none;
}

.password-reset-icon-wrap {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-reset-icon {
    width: 70px;
    height: 97px;
    object-fit: contain;
}

.password-reset-alert {
    width: 100%;
    text-align: center;
    font-size: 1.4rem;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    line-height: 1.75;
}

.password-reset-alert a {
    color: #CA4F02;
    text-decoration: underline;
}

.password-reset-alert hr {
    margin: 1rem 0 0;
}

.password-reset-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.password-reset-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.password-reset-label {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2F1B00;
    font-family: 'Noto Sans JP', sans-serif;
}

.password-reset-input {
    background: #fff;
    border: 1.2px solid rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    padding: 15px 20px;
    font-size: 1.6rem;
    color: #2F1B00;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    font-family: 'Noto Sans JP', sans-serif;
    height: 40px;
}

.password-reset-error {
    color: #e53e3e;
    font-size: 1.2rem;
    margin: 4px 0 0;
}

.password-reset-submit-wrap {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.password-reset-submit {
    position: relative;
    background: #FC6203;
    border: 2.5px solid #fff;
    border-radius: 50px;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.1);
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    padding: 0 60px 0 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    cursor: pointer;
    white-space: nowrap;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    line-height: 1;
    min-width: 300px;
    height: 53px;
    box-sizing: border-box;
}

.password-reset-submit-text {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.password-reset-submit-icon {
    position: absolute;
    right: 15px;
    width: 25px;
    height: 25px;
    object-fit: contain;
    flex-shrink: 0;
    margin-left: 0;
    display: block;
    align-self: center;
}

.password-reset-back {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.password-reset-back-link {
    font-size: 1.6rem;
    font-weight: 500;
    color: #2F1B00;
    text-decoration: none;
    font-family: 'Noto Sans JP', sans-serif;
}

/* Reset Form Styles */
.password-reset-screen {
    background: #f9f9f9;
    padding: 104px 20px 140px;
}

.password-reset-screen__inner {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.password-reset-screen__title {
    margin: 0;
    color: #fc6203;
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.5;
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
}

.password-reset-screen__form {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    padding: 39px 60px 0;
    box-sizing: border-box;
}

.password-reset-screen__field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.password-reset-screen__label {
    color: #2f1b00;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
    font-family: 'Noto Sans JP', sans-serif;
}

.password-reset-screen__input {
    width: 100%;
    height: 37px;
    padding: 0 15px;
    border: 1.2px solid rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    background: #fff;
    color: #2f1b00;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.5;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
}

.password-reset-screen__input::placeholder {
    color: rgba(47, 27, 0, 0.4);
}

.password-reset-screen__input:focus {
    border-color: #fc6203;
    box-shadow: 0 0 0 2px rgba(252, 98, 3, 0.12);
    outline: none;
}

.password-reset-screen__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.password-reset-screen__help {
    margin: 0;
    color: #ca4f02;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 20px;
    font-family: 'Noto Sans JP', sans-serif;
}

.password-reset-screen__counter {
    flex-shrink: 0;
    color: rgba(47, 27, 0, 0.8);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.5;
    font-family: 'Noto Sans JP', sans-serif;
}

.password-reset-screen__error {
    margin: 0;
    color: #d64221;
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.6;
    font-family: 'Noto Sans JP', sans-serif;
}

.password-reset-screen__submit-wrap {
    display: flex;
    justify-content: center;
    padding-top: 18px;
}

.password-reset-screen__submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 30rem;
    min-height: 4.8rem;
    padding: 1rem 3.4rem;
    border: 0.25rem solid #fff;
    border-radius: 5rem;
    background: #fc6203;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.password-reset-screen__submit:hover {
    background: #ca4f02;
    transform: translateY(-1px);
}

.password-reset-screen__submit:focus-visible {
    outline: 3px solid rgba(252, 98, 3, 0.3);
    outline-offset: 2px;
}

.password-reset-screen__submit-icon {
    position: absolute;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #fff;
    flex-shrink: 0;
}

.password-reset-screen__submit-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 52%;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #fc6203;
    transform: translate(-50%, -50%);
}

/* Media Queries */
@media (max-width: 767px) {
    .password-reset-page {
        padding: 36px 20px 50px;
        min-height: auto;
    }

    .password-reset-wrap {
        max-width: 335px;
        gap: 24px;
    }

    .password-reset-title {
        font-size: 1.8rem;
        line-height: 32px;
    }

    .password-reset-title .sp-only-break {
        display: inline;
    }

    .password-reset-icon-wrap {
        width: 80px;
        height: 80px;
    }

    .password-reset-icon {
        width: 56px;
        height: 78px;
    }

    .password-reset-field {
        gap: 10px;
    }

    .password-reset-label {
        font-size: 1.4rem;
        line-height: 20px;
    }

    .password-reset-input {
        height: 40px;
        padding: 10px 14px;
        font-size: 1.6rem;
        border-radius: 5px;
    }

    .password-reset-submit-wrap {
        margin-top: 6px;
    }

    .password-reset-submit {
        width: 100%;
        max-width: 39rem;
        height: 5.3rem;
        justify-content: center;
        padding: 0 4.5rem;
        gap: 0.2rem;
        font-size: 1.8rem;
        line-height: 1;
    }

    .password-reset-submit-icon {
        width: 2.5rem;
        height: 2.5rem;
        margin-left: 0;
    }

    .password-reset-back {
        margin-top: 0;
    }

    .password-reset-back-link {
        font-size: 1.6rem;
        line-height: 2.4rem;
    }

    .password-reset-alert {
        text-align: left;
    }

    .password-reset-screen {
        padding: 56px 20px 88px;
    }

    .password-reset-screen__title {
        font-size: 2.2rem;
    }

    .password-reset-screen__form {
        gap: 28px;
        padding: 32px 0 0;
    }

    .password-reset-screen__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .password-reset-screen__counter {
        align-self: flex-end;
    }

    .password-reset-screen__submit-wrap {
        padding-top: 12px;
    }

    .password-reset-screen__submit {
        width: 100%;
        max-width: 320px;
        min-width: 0;
        font-size: 1.8rem;
    }
}
