body.forgot_password {
    background:
        radial-gradient(circle at top left, rgba(136, 179, 255, 0.18), transparent 24%),
        linear-gradient(180deg, rgba(6, 11, 20, 0.76), rgba(6, 11, 20, 0.9)),
        var(--bg-forgot-pw) center/cover fixed;
}

.wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 16px 20px;
}

.form-container {
    width: min(100%, 500px);
    padding: 32px;
    border-radius: 24px;
    border: 1px solid var(--line-strong);
    background: rgba(14, 22, 40, 0.9);
    box-shadow: var(--shadow);
}

.form-section {
    display: flex;
    flex-direction: column;
}

.form-section h2 {
    margin: 0 0 18px;
    text-align: center;
    font-family: "Fraunces", serif;
    font-size: 2.3rem;
}

.form-section form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-section input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font: inherit;
}

.form-section input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(136, 179, 255, 0.14);
}

.form-section input::placeholder {
    color: var(--text-soft);
}

.form-section button {
    min-height: 48px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #07111f;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.form-section .error {
    color: #ff9e9e;
    text-align: center;
}

.form-section .success {
    color: #9ef0d1;
    text-align: center;
}

.form-section .login-link {
    margin-top: 10px;
    text-align: center;
    color: var(--text-soft);
}

.form-section .login-link a {
    color: var(--accent);
    text-decoration: none;
}

@media (max-width: 767px) {
    .wrapper {
        align-items: flex-start;
        padding-top: 24px;
    }

    .form-container {
        padding: 24px 18px;
    }
}
