*,
*::before,
*::after {
    box-sizing: border-box;
}

.password-page {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: #16233a;
    background: radial-gradient(circle at 12% 12%, rgb(112 169 255 / 22%), transparent 32rem),
        radial-gradient(circle at 88% 88%, rgb(92 211 190 / 18%), transparent 28rem), #f4f7fb;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

.password-main {
    display: grid;
    min-height: 100vh;
    padding: 48px 24px;
    place-items: center;
}

.password-card {
    width: min(100%, 460px);
    padding: 48px;
    border: 1px solid rgb(213 222 235 / 90%);
    border-radius: 24px;
    background: rgb(255 255 255 / 94%);
    box-shadow: 0 24px 70px rgb(38 62 99 / 12%);
}

.password-title {
    margin: 0;
    font-size: 28px;
    text-align: center;
}

.password-description {
    margin: 12px 0 28px;
    color: #66758d;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
}

.password-form,
.password-field {
    display: grid;
    gap: 10px;
}

.password-form {
    gap: 22px;
}

.password-label {
    font-size: 14px;
    font-weight: 600;
}

.password-input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    outline: none;
    font: inherit;
}

.password-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgb(37 99 235 / 12%);
}

.password-error,
.password-status {
    margin: 0;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.password-error {
    color: #991b1b;
    background: #fef2f2;
}

.password-status {
    margin-bottom: 22px;
    color: #166534;
    background: #f0fdf4;
}

.password-button,
.password-link {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.password-button {
    border: 1px solid #2563eb;
    color: #fff;
    background: #2563eb;
    cursor: pointer;
}

.password-button:hover {
    background: #1d4ed8;
}

.password-link {
    border: 1px solid #cbd5e1;
    color: #334155;
    background: #fff;
}

.password-link:hover {
    background: #f8fafc;
}

@media (max-width: 540px) {
    .password-main {
        padding: 24px 16px;
    }

    .password-card {
        padding: 32px 24px;
    }
}
