.brand h1 span color: #2a9d8f;
@media (max-width: 480px) .login-card padding: 1.8rem; .options flex-direction: column; gap: 0.8rem; align-items: flex-start;
<form id="loginForm"> <div class="input-group"> <i class="fas fa-envelope"></i> <input type="email" id="email" placeholder="Employee / User ID (email)" required> </div> <div class="input-group"> <i class="fas fa-lock"></i> <input type="password" id="password" placeholder="Password" required> </div> <div class="options"> <label class="checkbox"> <input type="checkbox" id="remember"> Remember me </label> <a href="#" class="forgot-link">Forgot password?</a> </div> <button type="submit" class="login-btn"> <i class="fas fa-sign-in-alt" style="margin-right: 8px;"></i> Login </button> </form>
.login-btn width: 100%; background: #1e3c72; color: white; border: none; padding: 0.9rem; border-radius: 2rem; font-size: 1rem; font-weight: bold; cursor: pointer; transition: 0.2s; margin-bottom: 1.5rem; Mis Aldel Login
.forgot-link color: #2a9d8f; text-decoration: none; font-weight: 500;
.brand text-align: center; margin-bottom: 2rem;
.login-container width: 100%; max-width: 440px; .brand h1 span color: #2a9d8f
.input-group margin-bottom: 1.5rem; position: relative;
// Auto-fill remember me if exists const saved = localStorage.getItem("mis_aldel_user"); if (saved) document.getElementById('email').value = saved; document.getElementById('remember').checked = true;
function showError(msg) errorBox.innerText = msg; errorBox.style.display = 'block'; setTimeout(() => errorBox.style.display = 'none'; , 4000); @media (max-width: 480px) .login-card padding: 1.8rem
.options display: flex; justify-content: space-between; align-items: center; margin: 1rem 0 1.8rem; font-size: 0.85rem;
// Demo validation — Replace with API call form.addEventListener('submit', async (e) => e.preventDefault();
.forgot-link:hover text-decoration: underline;