/* forgot-password.css – Consistent with login.css */

.form-container {
    max-width: 450px;
    margin: 3rem auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.form-container h2 {
    margin-bottom: 1.5rem;
}

.instruction {
    background: var(--bg-secondary);
    padding: 0.75rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Step containers */
#step1, #step2, #step3 {
    transition: opacity 0.3s ease;
}

/* Back link styling (matches login.css .btn-text) */
.back-link {
    margin-top: 1.5rem;
    text-align: center;
}

.back-link .btn-text {
    background: none;
    border: none;
    color: var(--accent);
    padding: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
}

.back-link .btn-text:hover {
    background-color: rgba(37, 99, 235, 0.1);
    text-decoration: underline;
}

/* Questions container spacing */
#questions-container {
    margin: 1.5rem 0;
}

.security-answer {
    margin-top: 0.25rem;
}

/* Ensure form groups have consistent spacing */
.form-group {
    margin-bottom: 1.25rem;
}

/* Buttons */
.btn-primary {
    width: 100%;
    margin-top: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .form-container {
        margin: 1.5rem auto;
        padding: 1.5rem;
    }
}