body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
}

.container {
    display: flex;
    height: 100vh;
}

.left,
.right {
    flex: 1;
}

.left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.left img {
    max-width: 100%;
    height: 100vh;
    width: 100vw;
}

.right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-wrapper {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
}

h2 {
    margin-top: 0;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    color: #555;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.containe2 {
    display: flex;
    justify-content: center;
}

.logo {
    width: 200px;
    height: 100px;
}

button {
    background-color: #007bff;
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

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

.alert {
    display: flex;
    /* Cambiar a flexbox */
    align-items: center;
    padding: 0.5rem;
    border-radius: 0.25rem;
    color: white;
    font-weight: bold;
    position: relative;
    /* Para que el botón de cierre se pueda posicionar correctamente */
    background-color: #dc3545;
    /* Mover el color de fondo aquí */
    margin-bottom: 30px;
}

.alert-danger {
    background-color: #dc3545;
    margin-bottom: 30px;
}

.btn-close {
    cursor: pointer;
    margin-left: auto;
    /* Mover el botón de cierre al final */
    padding: 0.5rem;
}