/* ==========================================
 * LOGIN PAGE (login.html)
 * ==========================================
 */
:root {
    --primary: #1F4FFF;        
    --primary-dark: #1636b0;   
    --text-dark: #0f172a;      
    --text-gray: #64748b;      
    --bg-light: #f8fafc;       
    --white: #ffffff;
    --border: #e2e8f0;         
    --radius: 12px;
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body { background-color: var(--bg-light); display: flex; justify-content: center; align-items: center;
    min-height: 100vh; flex-direction: column; padding: 20px; font-family: 'Inter', sans-serif; }

/* Contenedor tipo tarjeta */
body > form, 
.login-container, .auth-container { background: var(--white); padding: 2.5rem; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); width: 100%; max-width: 400px; border: 1px solid var(--border); text-align: center; }

h2 { color: var(--primary); margin-bottom: 1.5rem;
    font-size: 1.8rem; font-weight: 700; }

form input, .input-control { width: 100%; padding: 0.9rem 1rem; margin-bottom: 1rem; border: 1px solid var(--border);
    border-radius: 8px; font-size: 0.95rem; font-family: 'Inter', sans-serif; transition: all 0.3s ease;
    background-color: #f8fafc; box-sizing: border-box; }

form input:focus, .input-control:focus { outline: none; border-color: var(--primary);
    background-color: var(--white); box-shadow: 0 0 0 3px rgba(31, 79, 255, 0.1); }

form button, .btn-primary { width: 100%; padding: 0.9rem; background-color: var(--primary); color: white;
    border: none; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer;
    transition: background 0.3s ease, transform 0.2s; margin-top: 0.5rem; }

form button:hover, .btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-2px); }

p { margin-top: 1.5rem; font-size: 0.9rem; color: var(--text-gray); }
p a { color: var(--primary); font-weight: 600; text-decoration: none; }
p a:hover { text-decoration: underline; color: var(--primary-dark); }


/* ==========================================
 * ESTILOS PARA ENLACES ADICIONALES
 * ==========================================
 */
.forgot-password-container {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.forgot-password-link {
    font-size: 0.9rem;
    color: var(--text-gray); /* Usa tu variable gris para que no resalte más que el botón */
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: var(--primary); /* Se ilumina con tu azul al pasar el mouse */
    text-decoration: underline;
}

/* Ajuste del párrafo final para que no quede tan despegado */
.register-prompt {
    margin-top: 1.5rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}