+ {!isVerified ? (
+ <>
+ {/* OTP Input Fields */}
+
+
+
+ {otp.map((digit, index) => (
+ handleOtpChange(index, e.target.value)}
+ onKeyDown={(e) => handleKeyDown(e, index)}
+ className={`w-14 h-14 text-center text-2xl font-bold border-2 rounded-lg transition-all duration-300 focus:outline-none ${
+ digit
+ ? "bg-accent/10 border-primary-cta text-foreground"
+ : "bg-transparent border-accent/30 text-foreground/50"
+ } focus:border-primary-cta focus:ring-2 focus:ring-primary-cta/20`}
+ />
+ ))}
+
+
+
+ {/* Verify Button */}
+
+
+ {/* Resend Link */}
+
+ Didn't receive the code?{" "}
+
+
+ >
+ ) : (
+
+
+
Authentication Successful
+
Your account is now secured with two-factor authentication.
+
+ )}
+