/* Contenedor principal: lado a lado */
body{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    box-sizing: border-box;
    width: 800px;
    height: 450px;
    top: 70px;
    
    

}

/* Formulario: lado izquierdo */
.login-container {
    margin-right: 50px;
    flex: 1;
    max-width: 250px;
    background-color: rgb(39, 116, 77);
    height: auto;
    border-radius: 12%;
    padding: 10px;
}
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 14px;
    flex-direction: row; /* ← Asegura que estén en una fila */
    align-items: center; /* ← Alinea verticalmente */
    margin-bottom: 10px;
}
.checkbox-group input[type="checkbox"] {
    margin-right: 5px; /* Espacio entre checkbox y texto */
    border: 3px solid rgb(236, 214, 8);
}
.rembemberpss{
    margin-top: 5px;
}
h2 {
    position: relative;
    left: 60px;
    color: white;
    margin-bottom: 30px;
}
.formulario .form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
  
}

.formulario label {
    margin-bottom: 5px;
    color: white;
    font-weight: bold;
}
.formulario input[type="text"],
.formulario input[type="password"] {
    padding: 10px;
    border: none;
    border-radius: 5px;
    outline: none;
    border: 2px solid rgb(135, 138, 3);
}
.button-group {
    text-align: center;
}
.formulario button {
    background-color: rgb(160, 138, 17);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}



/* Contenedor de imágenes: lado derecho, en columna */
.images {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Tamaño y espaciado de las imágenes */
.logo-encabezado {
    max-width: 80%;
    height: auto;
    margin-bottom: 20px;
}

.logo-login {
    max-width: 100%;
    height: auto;
}
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Ahora uno debajo del otro */
        padding: 20px;
    }

    .login-container,
    .images {
        width: 100%;
        max-width: none;
    }

    .logo-encabezado, .logo-login {
        max-width: 60%;
    }
}