.edit-password-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #0A0A0A;
}

.edit-password-layout .site-header,
.edit-password-layout .footer-box {
    flex-shrink: 0;
}

.edit-password-page {
    width: 100%;
    flex: 1 1 auto;
    padding: 36px 0 48px;
    background: #0A0A0A;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    box-sizing: border-box;
}

.edit-password-pc {
    width: 964px;
    max-width: calc(100% - 32px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.edit-password-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.edit-password-breadcrumb-link {
    color: #FADC44;
    font-size: 14px;
    font-family: PingFang SC, "Noto Sans SC", sans-serif;
    font-weight: 400;
    line-height: 20px;
    text-decoration: none;
}

.edit-password-breadcrumb-sep {
    color: #666666;
    font-size: 14px;
    font-family: PingFang SC, "Noto Sans SC", sans-serif;
    font-weight: 400;
    line-height: 20px;
}

.edit-password-breadcrumb-current {
    color: #8A8A8A;
    font-size: 14px;
    font-family: PingFang SC, "Noto Sans SC", sans-serif;
    font-weight: 400;
    line-height: 20px;
}

.edit-password-pc-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.edit-password-pc-title {
    margin: 0;
    color: #F5F5F5;
    font-size: 30px;
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 36px;
}

.edit-password-pc-desc {
    color: rgba(255, 255, 255, 0.60);
    font-size: 14px;
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 400;
    line-height: 20px;
}

.edit-password-shell {
    width: 964px;
    max-width: calc(100% - 32px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.edit-password-nav {
    display: none;
}

.edit-password-form {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    overflow: hidden;
}

.edit-password-intro {
    width: 100%;
    height: 86px;
    min-height: 86px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    box-sizing: border-box;
}

.edit-password-intro-title {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 24px;
}

.edit-password-intro-desc {
    width: 100%;
    color: rgba(255, 255, 255, 0.60);
    font-size: 12px;
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 400;
    line-height: 18px;
}

.edit-password-field {
    width: 100%;
    height: 78px;
    min-height: 78px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    box-sizing: border-box;
}

.edit-password-field.is-error {
    height: auto;
    min-height: 78px;
    border-color: rgba(255, 107, 107, 0.65);
}

.edit-password-error {
    margin: 0;
    color: #FF6B6B;
    font-size: 12px;
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 400;
    line-height: 18px;
}

.edit-password-error[hidden] {
    display: none;
}

.edit-password-label {
    color: rgba(255, 255, 255, 0.60);
    font-size: 12px;
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 18px;
}

.edit-password-input-row {
    width: 100%;
    height: 30px;
    min-height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.edit-password-input {
    flex: 1 1 0;
    min-width: 0;
    height: 30px;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    outline: none;
    outline-color: transparent;
    -webkit-appearance: none;
    appearance: none;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 400;
    line-height: 20px;
}

.edit-password-input:focus,
.edit-password-input:focus-visible {
    border: none;
    outline: none;
    outline-color: transparent;
    box-shadow: none;
}

.edit-password-input::placeholder {
    color: rgba(255, 255, 255, 0.40);
}

.edit-password-toggle {
    flex-shrink: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: #FADC44;
    font-size: 12px;
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 400;
    line-height: 18px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.edit-password-submit {
    width: 100%;
    height: 50px;
    background: #FADC44;
    border: none;
    border-radius: 14px;
    color: #171717;
    font-size: 16px;
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 22px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-sizing: border-box;
    overflow: hidden;
}

.edit-password-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.edit-password-reset {
    width: 100%;
    min-height: 18px;
    padding: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
    color: #FADC44;
    font-size: 12px;
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 18px;
    text-decoration: none;
    overflow: hidden;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    body.is-edit-password-page {
        background: #0A0A0A;
        padding-bottom: 0;
    }

    body.is-edit-password-page .site-header,
    body.is-edit-password-page .footer-box,
    body.is-edit-password-page .floating-action,
    body.is-edit-password-page .download-fab {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }

    .edit-password-page {
        padding: 0;
        gap: 0;
        align-items: stretch;
        min-height: 100vh;
    }

    .edit-password-pc {
        display: none;
    }

    .edit-password-shell {
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
        align-items: center;
    }

    .edit-password-nav {
        position: sticky;
        top: 0;
        z-index: 40;
        width: 100%;
        height: 48px;
        padding: 0 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
        flex-shrink: 0;
        background: #181818;
        overflow: hidden;
    }

    .edit-password-back {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .edit-password-back img {
        width: 24px;
        height: 24px;
        display: block;
        opacity: 0.65;
        filter: brightness(0) invert(1);
    }

    .edit-password-nav-title {
        flex: 1 1 0;
        height: 24px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #F5F5F5;
        font-size: 18px;
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 700;
        line-height: 24px;
        overflow: hidden;
    }

    .edit-password-nav-spacer {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .edit-password-form {
        width: calc(100% - 32px);
        max-width: 343px;
        margin: 0 auto;
        padding: 16px 0;
        box-sizing: border-box;
    }
}
