form {
  position: absolute;
  z-index: 2;
  background: white;
  top: 68.5%;
  left: 7.6%;
  width: 43.9%;
  height: 27%;
  padding: 0.5dvw 0.35dvw;

  & div {
    width: 100%;

    & input {
      width: 100%;
      height: 2.9dvw;
      padding-left: 3%;
      font-size: 1.23vw;
      letter-spacing: 0.13rem;
      color: #595858;
      font-weight: 600;
      border-color: rgb(213, 213, 213);
      border-style: solid;
      outline: none;
      transition: border 200ms, box-shadow 300ms;

      &::placeholder {
        color: #9e9e9d;
      }

      &:focus {
        border-color: #1266f1;
        border-width: 3px;
        box-shadow: 2px 2px 2px #1266f1;
      }
    }
  }

  & .user {
    margin-bottom: 1.32dvw;
  }

  & .show-pass {
    margin-top: 0.5dvw;
    & p {
      text-align: center;
      letter-spacing: 0.16dvw;
      font-weight: 700;
      font-size: 1.2vw;
      text-decoration: underline;
      color: #1266f1;
      cursor: pointer;
      user-select: none;
      margin-left: -1.3dvw;
    }
  }

  & .ingresar {
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-align: center;
    margin-top: -0.1dvw;

    &:hover {
      transform: scale(1.05);
    }

    & button {
      width: 11.5dvw;
      height: 3.5dvw;
      margin-left: -1dvw;
      outline: none;
      border: none;
      cursor: pointer;
      background: transparent;
      background: url("../img/desktop/login/siguiente\ boton.webp") no-repeat
        center center;
      background-size: 164%;

      &:active {
        background-image: url("../img/desktop/login/siguiente\ seleccion.webp");
      }
    }
  }
}

@media (orientation: portrait) {
  form {
    top: 38%;
    left: 6.2%;
    width: 90%;
    height: 13%;
    padding: 0.9dvw 0.7dvw;

    & div {
      & input {
        height: 5.9dvw;
        font-size: 2.1dvw;
      }
    }

    & .user {
      margin-bottom: 2.4dvw;
    }

    & .show-pass {
      margin-top: 0.9dvw;
      & p {
        font-size: 2.7dvw;
        margin-left: -2.3dvw;
      }
    }

    & .ingresar {
      margin-top: 0dvw;

      & button {
        width: 22.7dvw;
        height: 5.8dvw;
        margin-left: -1.8dvw;
      }
    }
  }
}
