body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 900px; /* Ajustar el ancho del contenedor del formulario de login */
    text-align: center;
    display: flex;
    flex-direction: column;
}

h2 {
    margin-bottom: 20px;
}

.form-group-flex {
    display: flex;
    justify-content: center; /* Centrar horizontalmente */
    width: 100%;
    margin-bottom: 20px; /* Agregar margen inferior para separación */
}

label {
    margin-right: 10px;
    width: 150px;
    text-align: right;
    padding-top: 5px;
}

input[type="text"], input[type="password"] {
    flex: 1;
    width: calc(600px - 50px); /* Ajustar el ancho de los campos restando el margen derecho */
    margin-right: 50px; /* Agregar margen derecho de 50px */
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center; /* Asegurar que los botones estén alineados verticalmente */
    margin-top: 20px; /* Añadir margen superior para separación */
}

button {
    width: 300px; /* Ajustar el ancho de los botones */
    padding: 10px;
    background-color: #28a745;
    border: none;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    box-sizing: border-box;
}

button:hover {
    background-color: #218838;
}

.error {
    color: red;
    margin-top: 20px;
}
