body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f0f4f8; /* Un color de fondo suave y claro */
    color: #333;
}

.login-container {
    background-color: #ffffff; /* Blanco para el contenedor principal */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 400px;
}

h2 {
    color: #6a82fb; /* Un tono de azul suave */
    margin-bottom: 30px;
    font-size: 1.8em;
    font-weight: 600;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

input[type="text"],
input[type="password"] {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #cdd4da; /* Borde suave */
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #6a82fb; /* Resalta con el color principal al enfocar */
    outline: none;
}

button {
    background-color: #6a82fb; /* Color principal para el botón */
    color: white;
    padding: 14px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    margin-top: 15px;
}

button:hover {
    background-color: #566edb; /* Un tono más oscuro al pasar el mouse */
    transform: translateY(-2px);
}

.error-message {
    color: #e74c3c; /* Rojo para mensajes de error */
    margin-top: 15px;
    font-size: 0.9em;
    display: none; /* Oculto por defecto */
}