Add multi-mode support for authentication: login, register, and forgot password

Refactored login component to support three modes: login, registration, and password recovery. Introduced new UI and validation for each mode. Updated styles to accommodate mode-specific layouts.
This commit is contained in:
2025-11-20 18:37:02 -04:00
parent 2164aeee33
commit 113245c76f
2 changed files with 217 additions and 34 deletions

View File

@@ -716,3 +716,30 @@ textarea {
max-width: 100%;
}
}
/* Auth helpers: links below forms */
.auth-links {
margin-top: 12px;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
flex-wrap: wrap;
}
.auth-links .divider {
color: var(--gray);
}
.link {
background: none;
border: none;
padding: 0;
color: var(--primary);
cursor: pointer;
font-weight: 600;
}
.link:hover {
text-decoration: underline;
}