/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background-color: white;
    padding: 30px; /* Aumenta el padding para más espacio interno */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width:350px;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px; /* Añade margen inferior para separación */
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
    color: #555;
    text-align: left; /* Alinear etiquetas a la izquierda */
}

input[type="text"],
input[type="password"] {
    padding: 12px; /* Aumenta el padding para más comodidad */
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 95%; /* Asegura que el input ocupe el 100% del contenedor */
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #007bff;
    outline: none;
}

button {
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    align-self: center; /* Centra el botón horizontalmente */
    
}


button:hover {
    background-color: #0056b3;
}

.error {
    color: red;
    text-align: center;
    margin-bottom: 15px; /* Margen para separar errores del formulario */
}

/* Estilos responsivos */
@media (max-width: 480px) {
    .container {
        width: 80%;
        padding: 15px;
        max-width: 300px;
    }
}




