body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  background-image: url('../Fondos/fondo_regalo.png');
  background-size: cover;        /* Ocupa toda la pantalla */
  background-repeat: no-repeat;  /* Evita repetición */
  background-position: top center; /* Ajusta mejor para imágenes verticales */
  background-attachment: fixed;  /* Opcional */
}


.logo-login {
  text-align: center;
}

.logo-login .img-user {
  width: 120px;
  height: 120px;
  object-fit: contain;
}



main {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: row;

}

.content {
  width: 100%;
  min-height: auto;

}



/*========= Estilos para contenido login ======*/
/*===== Inicio estilos para el logo ======= */
.logo_ESS {
  padding: 10px 5px 5px 10px;
}

.logo_ESS img {

  width: 150px;
  height: 120px;
}

.logo-content {
  position: fixed;
  bottom: 20px;
  /* distancia desde abajo */
  left: 20px;
  /* distancia desde la izquierda */
  z-index: 999;
  /* asegura que quede encima de todo */
}

.logo_ESS img {
  width: 120px;
  /* ajusta el tamaño */
  height: auto;
  opacity: 0.9;
  /* opcional, para que se vea más suave */
}


/* ====== Fin estilos para el logo ======= */

/* ====== Inicio estilos para el formulario ======= */
.content-form {
  margin-top: 160px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;

}

.content-form .form {
  box-sizing: border-box;
  width: 400px;
  height: auto;
}

.content-form .form form input[type="text"],
input[type="password"] {
  font-size: 17px;
  margin-bottom: 9px;
  padding: 6px;
  border: none;
}

.content-form .form form input[type="text"],
input[type="password"] {
  border-bottom: 1px solid #537895;
}

.content-form .form form input[type="text"],
input[type="password"]:focus {
  outline: 0 none;
}

.content-form .form form input[type="text"] {
  box-sizing: border-box;
  width: 100%;
}

.content-form .form form input[type="password"] {
  box-sizing: border-box;
  width: 100%;
}

.content-form .form form input[type="submit"] {
  width: 120px;
  padding: 11px;
  border: 1px solid #09203f;
  border-radius: 15px;
  background-color: #09203f;
  color: #fff;
  font-size: 15px;
  font-weight: 600;

}

.enviar-form {
  padding-top: 10px;
  text-align: center;

}

.content-form .form form input[type="submit"]:hover {
  cursor: pointer;
  background-color: #fff;
  color: #09203f;
  transition: all 0.4s;
}

.form .logo-login {
  text-align: center;
}

.form .logo-login .fa-user {
  font-size: 7rem;
  color: #09203f;
}

.form .logo-login p {
  font-size: 30px;
  font-weight: 700;
  color: #09203f;
}

.logo_ESS {
  padding: 10px 5px 5px 10px;
}

.logo_ESS img {

  width: 120px;
  height: 90px;
}

/*======== Fin de estilos de formulario ======= */

/*======== Estilos para contneido banner derecho ======= */

.content-banner {
  /* background-image: linear-gradient(to top, #09203f 0%, #537895 100%); */
  width: 100%;
  height: auto;
  /* border-left: 1px solid rgba(23, 10, 21, 23); */

  display: flex;
  justify-content: center;
  align-items: center;


}

.content-banner .logo-isupport img {
  filter: saturate(2);
}

/*======== fin Estilos para contneido banner derecho ======= */

/*============= Estilos para adaptar a diferentes dispositivos ========= */
@media(min-height: 1000px) {
  .content-form {

    height: auto;
  }
}

@media(max-width: 965px) {
  body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-image: url('../Fondos/fondo_navideño_1.png');
    background-size: auto;
    background-repeat: repeat;
    position: relative;
  }



  body::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    /* Ajusta la transparencia */
    pointer-events: none;
    z-index: -1;
  }

  .logo-content {
    position: static;
    /* vuelve a su estado normal */
    bottom: auto;
    left: auto;
  }

  main {
    display: flex;
    flex-direction: column-reverse;
  }

  .content-banner .logo-isupport img {
    width: 300px;
    display: none;
  }

  .content-banner {
    order: 1;
    background-image: none;
  }

  .content-form {
    margin-top: 34px;
    /* ajusta el margen superior de navidad */
    height: 500px;
  }

  .content {
    display: flex;
    flex-direction: column-reverse;
  }

  .logo-content {
    text-align: left;
  }

  .form .logo-login .fa-user {
    font-size: 5rem;
    color: #09203f;
  }

  .form .logo-login p {
    font-size: 23px;
    font-weight: 700;
  }

  .content-form .form {
    box-sizing: border-box;
    width: 200px;
    height: auto;
  }

  .content-form .form form input[type="submit"] {
    width: 100px;
    padding: 3;
  }

  .logo-login .img-user {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

}

@media(max-width: 200px) {
  .content-banner .logo-isupport img {
    width: 150px;

  }
}