diff --git a/frontend/register.html b/frontend/register.html index 64c69e1..d89501c 100644 --- a/frontend/register.html +++ b/frontend/register.html @@ -65,6 +65,41 @@ border-right: none !important; color: rgba(255, 255, 255, 0.5) !important; } + .password-strength { + margin-top: 0.7rem; + } + .password-strength-bar { + height: 0.42rem; + border-radius: 999px; + background: rgba(255, 255, 255, 0.12); + overflow: hidden; + } + .password-strength-bar-fill { + width: 0%; + height: 100%; + border-radius: inherit; + transition: width 0.2s ease, background-color 0.2s ease; + background: #ef4444; + } + .password-strength-label { + margin-top: 0.35rem; + font-size: 0.78rem; + font-weight: 700; + color: rgba(255, 255, 255, 0.58); + letter-spacing: 0; + } + .password-strength[data-strength='weak'] .password-strength-bar-fill { + width: 33%; + background: #ef4444; + } + .password-strength[data-strength='medium'] .password-strength-bar-fill { + width: 66%; + background: #f59e0b; + } + .password-strength[data-strength='strong'] .password-strength-bar-fill { + width: 100%; + background: #22c55e; + } @@ -148,6 +183,12 @@