setFirstName(e.target.value)}
- />
+ {showForgotPassword ? (
+ /* Forgot password screen - replaces login/register */
+ forgotPasswordSent ? (
+
+
+
+ {t('auth.checkEmail', 'Check your email')}
+
+
+ {t(
+ 'auth.passwordResetSent',
+ 'If an account exists with this email, we sent password reset instructions.',
+ )}
+
+
-
- {/* Confirm password - only for registration */}
- {authMode === 'register' && (
-
-
-
setConfirmPassword(e.target.value)}
- />
+ ) : (
+
+
+ {t(
+ 'auth.forgotPasswordHint',
+ 'Enter your email and we will send you instructions to reset your password.',
+ )}
+
+
+
+
+
+
+ )
+ ) : (
+ /* Normal login / register */
+ <>
+
+
+
- )}
-
-
- {/* Verification notice for registration */}
- {authMode === 'register' && (
-
- {t(
- 'auth.verificationEmailNotice',
- 'After registration, a verification email will be sent to your address',
+ {authMode === 'login' && (
+
+
+
)}
-
- )}
-
- {/* Forgot password link - only for login */}
- {authMode === 'login' && (
-
-
-
+ >
)}