diff --git a/frontend/src/components/login/Login.jsx b/frontend/src/components/login/Login.jsx
index cf089b3..d4a2ea2 100644
--- a/frontend/src/components/login/Login.jsx
+++ b/frontend/src/components/login/Login.jsx
@@ -21,7 +21,7 @@ function StyledInput({ ...props }) {
return (
+ type="button"
+ onClick={() => setShowPassword(!showPassword)}
+ className="absolute right-3 top-[2.65rem] inline-flex h-8 w-8 items-center justify-center rounded-lg border border-white/10 bg-white/10 text-white transition-colors hover:bg-white/15 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-violet-400/70"
+ aria-label={showPassword ? "Hide password" : "Show password"}
+ title={showPassword ? "Hide password" : "Show password"}
+ >
+ {showPassword ? : }
+
diff --git a/frontend/src/components/register/Register.jsx b/frontend/src/components/register/Register.jsx
index 3ad6632..aeb7f32 100644
--- a/frontend/src/components/register/Register.jsx
+++ b/frontend/src/components/register/Register.jsx
@@ -28,7 +28,7 @@ function StyledInput({ ...props }) {
return (
diff --git a/frontend/src/index.css b/frontend/src/index.css
index 8298c45..3cd9a84 100644
--- a/frontend/src/index.css
+++ b/frontend/src/index.css
@@ -75,6 +75,17 @@
display: none;
}
+.auth-input:-webkit-autofill,
+.auth-input:-webkit-autofill:hover,
+.auth-input:-webkit-autofill:focus,
+.auth-input:-webkit-autofill:active {
+ -webkit-text-fill-color: #f0f0f5;
+ caret-color: #a855f7;
+ -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.05) inset;
+ box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.05) inset;
+ transition: background-color 9999s ease-out 0s;
+}
+
.forestDark {
--bg-primary: #3f5a46;
--text-primary: white;