body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: flex-start !important; /* Mantenemos esto para las tablas largas */
    height: auto !important;
    margin: 0;
    padding-bottom: 40px; /* Un poco de aire abajo */
}

.login-container {
    background: white;
    padding: 2.5rem; /* Un poco más de espacio interno */
    border-radius: 12px; /* Bordes más suaves */
    box-shadow: 0 10px 25px rgba(0,0,0,0.05); /* Sombra más moderna y suave */
    width: 90%; /* Para móviles */
    max-width: 450px;
    text-align: center;
    margin-top: 50px; /* Separación de arriba */
}

.login-container h2 { 
    color: #2c3e50; 
    margin-bottom: 1.5rem; 
    font-weight: 600;
}

/* --- AQUÍ ESTABA EL ERROR: AGREGAMOS TODOS LOS TIPOS DE INPUT --- */
input[type="email"], 
input[type="password"], 
input[type="text"], 
input[type="number"], 
input[type="tel"], 
select, 
textarea {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0;
    border: 1px solid #dfe6e9; /* Borde sutil */
    border-radius: 8px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 1rem;
    color: #2d3436;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #fcfcfc;
}

/* Efecto al hacer clic en un campo */
input:focus, select:focus, textarea:focus {
    border-color: #27ae60;
    outline: none;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1); /* Resplandor verde suave */
}

button {
    width: 100%;
    padding: 14px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    transition: background 0.3s, transform 0.2s;
}

button:hover { 
    background-color: #219150; 
    transform: translateY(-2px); /* Pequeño efecto de elevación */
}

.error { 
    background-color: #ffeaea;
    color: #d63031; 
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9em; 
    margin-bottom: 15px;
    border: 1px solid #fab1a0;
}

/* Link de cancelar más bonito */
a.cancel-link {
    display: block; 
    margin-top: 20px; 
    color: #b2bec3; 
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}
a.cancel-link:hover { color: #636e72; }