.forgot-password-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #f8fafc;
}

.forgot-password-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 48px 40px;
}

.forgot-password-header {
    text-align: center;
    margin-bottom: 32px;
}

.forgot-password-header h2 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
}

.forgot-password-header p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e5e7eb;
}

.step-dot.active {
    background: #6c63ff;
    width: 24px;
    border-radius: 4px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    color: #1a1a2e;
    outline: none;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: #6c63ff;
}

.form-group input.input-error {
    border-color: #f87171;
}

.form-hint {
    margin-top: 6px;
    font-size: 12px;
    color: #9ca3af;
}

.error-message {
    background: #FEE2E2;
    border: 1px solid #FCA5A5;
    color: #991B1B;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 20px;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: #6c63ff;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-primary:hover {
    background: #5b52e8;
}

.btn-text {
    background: none;
    border: none;
    color: #6c63ff;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.resend-row {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: #6b7280;
}

.email-readonly {
    font-weight: 600;
    color: #374151;
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #9ca3af;
    text-decoration: none;
}

.back-link:hover {
    color: #6c63ff;
}

.password-input-wrap {
    position: relative;
}

.password-input-wrap input {
    padding-right: 44px;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    padding: 0;
    display: flex;
    align-items: center;
}

@media (max-width: 480px) {
    .forgot-password-card {
        padding: 36px 24px;
    }
}
