.login {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 107px;
  padding-left: 120px;
  padding-right: 120px;
  padding-bottom: 60px;
  padding-top: 30px;

  .linea {
    height: 1px;
    background-color: #DDDFDD;
    border: none;
    margin-top: 47px
  }

  .text_register {
    color: var(--primary-color);
    margin-bottom: 9px !important;
  }

  .form_abc {
    margin-bottom: 40px;
  }

  .heading-4 {
    margin-bottom: 10px;
    color: var(--primary-color);
  }

  .cont_img {
    /* flex-basis: 50%; */
    flex-basis: 658px;
    position: relative;

    /* este ajuste es temporal*/
    .text_image {
      width: 80%;
      position: absolute;
      bottom: 51px;
      color: white;
      left: 10%;
      text-align: center;
    }

    img {
      width: 100%;
    }
  }

  .cont_form {
    /* flex-basis: 50%; */
    flex-basis: 437px;

    h2 {
      margin-bottom: 21px;
      color: var(--primary-color);
      font-weight: 500;
    }

    p {
      color: var(--primary-color);
    }

    #mensajeError {
      display: block;
      color: var(--color-error);
      margin-bottom: 29px;
      font-weight: 600;
    }

    .cont_inner {
      /*border-bottom: 1px solid rgba(var(--rgb-main-3), 0.15);
      margin: 0 0 40px;
      padding: 0 0 40px;*/
    }

    p {
      margin: 0 0 26px;
    }

    .account__subscription {
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      gap: 16px;
      margin-bottom: 16px;
    }

    .account__form-submit {
      width: 100%;
    }

    ul {
      display: flex;
      width: 100%;
      flex-wrap: wrap;
      align-items: center;
      flex-direction: column;
      gap: 16px;
      margin: 0 0 24px;

      li {
        width: 100%;
        align-items: center;
        gap: 12px;
        list-style: none;
        display: flex;
      }
    }
  }
}

.change_password {
  width: 100%;

  .input-wrapper {
    margin-bottom: 10px;

    .container-input {
      display: flex;
      align-items: center;
      position: relative;

      button {
        position: absolute;
        right: 0;
        margin-top: 0 !important;

        img {
          position: static;
        }
      }
    }

    label {
      padding-bottom: 0px;
    }

    h3 {
      margin: 0;
      -webkit-transition: top 333ms ease-in-out;
      transition: top 333ms ease-in-out;
    }
  }
}

.text-input,
select,
.input input,
.input select,
.input textarea {
  background-color: #fff;
  border: 1px solid rgba(var(--rgb-main-3), 0.15);
  border-radius: 6px;
  color: var(--color-font-1);
  font-family: var(--font-family);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.0175rem;
  line-height: 1.5rem;
  padding: 12px 16px;
  width: 100%;
}

.text-input:autofill+label,
.input-wrapper--move .label,
.input-wrapper--move .product-details__markdown-container h3,
.product-details__markdown-container .input-wrapper--move h3 {
  font-size: 0.625rem;
  letter-spacing: 0.0125rem;
  line-height: 0.75rem;
  top: 6px;
}

.input-wrapper,
.hs-form-field {
  margin-bottom: 10px;
  position: relative;

  .clear-input {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 17px;
    cursor: pointer;
    margin-top: 0;
    display: flex;

    img {
      height: 16px;
    }
  }

  input::placeholder {
    color: var(--color-text-3) !important;
  }


  .account__input,
  input[type="text"] {
    border: 1px solid var(--grey-color-4);
    outline: none;
    border-radius: 8px;
    min-width: 220px;
    padding: 12px 16px;
    width: 100%;
    font-size: 16px;
    line-height: 20px;
    color: var(--primary-color);

    .account__password .recover-password {
      position: absolute;
      right: 16px;
      top: 10px;
    }
  }

  &.error_input {
    .account__input {
      border: 1px solid var(--grey-color-4);
      outline: none;
      border-radius: 8px;
      color: var(--primary-color);
    }

    .error {
      color: var(--color-error);
    }
  }

  .recover-password {
    position: absolute;
    right: 16px;
    top: 0px;
    display: flex;
    align-items: center;

    span {
      display: block;
      stroke: var(--terciary);

      svg {
        height: 24px;
        fill: none;
      }
    }
  }

  button {
    margin-top: 16px;
  }
}

.checkout .forms button {
  width: 100%;
}

form {
  input[type="submit"] {
    width: 100%;
  }

  .mensajeError {
    color: var(--color-error);
    margin-bottom: 10px;
  }
}

button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none;
  appearance: none;
  background: #0000;
  color: inherit;
  font: inherit;
  line-height: inherit;
  -webkit-font-smoothing: inherit;
}

select {
  &::after {
    content: "\25BC";
    position: absolute;
    right: 1rem;
    top: 1rem;
    transition: 0.25s all ease;
    pointer-events: none; // IMPORTANT to click on arrow
  }
}

.form-columns-2 {
  display: flex;
  flex-wrap: wrap;

  .hs-form-field {
    width: 100% !important;

    legend,
    label {
      display: none !important;
    }

    .hs-error-msgs {
      color: red;
      margin: 0;

      label {
        display: block !important;
        color: red;
        font-size: 0.6rem;
      }
    }
  }
}

.form-columns-1 {
  .hs-fieldtype-booleancheckbox {
    margin-bottom: 3px;
  }

  .hs-form-field {
    .input {
      .inputs-list {
        margin: 0;
        list-style-type: none;
        padding: 0;

        li {
          &::marker {
            display: none;
          }

          label {
            display: flex;
          }

          input {
            padding: 5px;
            height: 5px;
            width: 5px;
          }

          span {
            color: #ffffff;
            font-size: 0.6rem;
          }
        }
      }
    }

    span,
    legend {
      color: #ffffff;
    }
  }
}

#form_fake {
  fieldset {
    border: 0;
    padding: 0;
    margin: 0;
    max-width: 500px;
  }
}

.img-ojo,
.img-ojoLogin {
  width: auto;
  height: 1.5rem;
  position: absolute;
  right: 0.5rem;
  cursor: pointer;
}

.img-ojoLogin {
  position: relative;
  top: auto;
}

.input-phone {
  display: flex;
  align-items: flex-start;
  gap: 20px;

  input[type="text"] {
    min-width: auto;
  }

  .bg {
    background-color: white;
  }

  input {
    border-radius: 6px;
  }

  .input-wrapper {
    width: 100%;
  }

  .con-bandera {
    border: 1px solid rgba(var(--rgb-main-3), 0.15);
    width: 30%;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    background-color: white;

    select {
      border-radius: 0;
      border: 0;
      outline: none;
      color: var(--primary-color);
    }
  }
}

.mensaje-exito {
  color: var(--color-main-1);
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.input-date {
  height: 0;
  width: 0;
  opacity: 0;
}

input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #a3a3a3;
  border-radius: 50%;
  position: relative;
  outline: none;
  cursor: pointer;
}

input[type="radio"]:checked {
  border-color: #a3a3a3;
}

input[type="radio"]:checked::before {
  content: "";
  width: 13px;
  height: 13px;
  background-color: var(--color-enlace);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.input_abc {
  margin-top: 10px;
}

.recuperar-password {
  display: flex;
  justify-content: end;
  font-size: 12px;
  color: #757575;
  position: relative;
  margin-top: 16px;

  .link::after {
    background-color: #757575;
    bottom: 0px;
  }

  .link {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 400;
  }
}

.no-cuentaText {
  text-align: start;
  color: var(--primary-color);
  margin-top: 27px !important;
  margin-bottom: 28px !important;
  font-size: 20px;
}

.btnRegister {
  margin-top: 39px;
}

.list_register {
  gap: 0 !important;
  margin: 0px !important;
  list-style-type: circle !important;

  li::before {
    content: "";
    margin-right: 0px;
    background-color: #D9D9D9;
    width: 20px;
    height: 20px;
    border-radius: 100%;
  }

  li {
    margin-bottom: 14px;
    gap: 16px !important;
    font-size: 14px;
    color: var(--primary-color);
    align-items: end !important;
  }
}

.custom-checkbox {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #757575;

  input[type="checkbox"] {
    display: none;
  }

  .checkmark {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    margin-right: 1vw;
    position: relative;
    transition: background-color 0.3s ease;
    margin-top: 2.5vw;
    margin-bottom: 2.5vw;
    border: 1px solid #a3a3a3;
  }

  .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
}

.custom-checkbox input[type="checkbox"]:checked+.checkmark {
  background-color: var(--tertiary-color);
}

.custom-checkbox input[type="checkbox"]:checked+.checkmark::after {
  display: block;
}

.link-tyc {
  color: #741900;
  margin-left: 0.5vw;
  border-bottom: 1px solid #741900;
}

.info-pass {
  color: #757575;
  font-size: 12px;
  line-height: 100%;
}

.container_checkbox_registro {
  margin: 1vw 0;

  .checkmark {
    margin-top: 0vw !important;
    margin-bottom: 0vw !important;
  }
}

.label_pass {
  display: flex;
  justify-content: space-between;
  align-items: center;

  .c_pass {
    color: #34a853;
  }
}

.alert-danger {
  color: var(--warning-color);
}

.alert-success {
  color: #155724;
}

.spinner {
  justify-content: center;
  align-items: center;

  &::before {
    content: "";
    display: block;
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 30%;
    animation: loaderSpin 2s linear infinite;
  }

  &::before {
    background-color: var(--secondary-color);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*only tablet portrait*/
@media only screen and (min-width: 768px) and (max-width: 1200px) and (orientation: portrait) {
  .account__submit {
    width: 100%;
  }

  .login {
    display: flex;
    flex-direction: column;
    align-items: stretch;

    .cont_form {
      /*padding: 30px 120px;*/
    }

    .cont_img {
      flex-basis: 100%;
    }
  }

  .no-cuentaText {
    margin-top: 1.719rem !important;
    margin-bottom: 0.573rem !important;
  }

  .custom-checkbox {
    .checkmark {
      margin-right: 1rem;
      margin-top: 2.5rem;
      margin-bottom: 2.5rem;
    }
  }

  .link-tyc {
    margin-left: 0.5rem;
  }

  .container_checkbox_registro {
    margin: 1rem 0;
  }

  .info-pass {
    font-size: 1.1rem;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1200px) and (orientation: landscape) {
  .input-phone {
    .input-wrapper {
      width: 100%;
    }

    .con-bandera {
      width: 30%;
    }
  }

  .no-cuentaText {
    margin-top: 1.719rem !important;
    margin-bottom: 0.573rem !important;
  }

  .link-tyc {
    margin-left: 0.5rem;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .login {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
}

@media screen and (max-width: 767px) {
  .account__submit {
    width: 100%;
  }

  .login {
    gap: 40px;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 60px;
    padding-top: 78px;
  }

  .input-phone {
    .input-wrapper {
      width: 100%;
    }

    .con-bandera {
      width: 30%;
    }
  }

  .login {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 30px;

    .cont_form {
      /*padding: 30px 120px;*/
    }

    .cont_img {
      flex-basis: 100%;
      margin-top: 30px;
    }
  }

  .no-cuentaText {
    margin-top: 1.719rem !important;
    margin-bottom: 0.573rem !important;
  }

  .custom-checkbox {
    .checkmark {
      margin-right: 1rem;
      margin-top: 2.5rem;
      margin-bottom: 2.5rem;
    }
  }

  .link-tyc {
    margin-left: 0.5rem;
  }

  .info-pass {
    font-size: 0.9rem;
  }

  .container_checkbox_registro {
    margin: 1rem 0;
  }
}

/*only phone*/
@media screen and (max-width: 576px) {
  .input-phone {
    gap: 10px;

    .input-wrapper {
      width: 100%;
    }

    .con-bandera {
      width: 45%;
    }
  }

  .login {
    .cont_form {
      /*padding: 20px 40px;*/
    }
  }
}

.login {
  &.abccomco {
    min-height: 93vh;

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

      img {
        /* width: 80%;
        max-width: 700px;
        margin: 0 auto;*/
      }
    }

    .cont_form {
      .cont_inner {
        /* padding: 40px 20px;
        background: #f7f6f5;
        border-radius: 20px;*/
      }

      h2 {
        color: var(--primary-color);
        font-weight: 500;

        .active {
          font-weight: bold !important;
        }

        a {
          color: #e12927;
        }

        .hr {
          font-weight: 300;
        }
      }
    }
  }
}

.container-password {
  position: relative;
  display: flex;
  align-items: center;

  .view-password {
    position: absolute;
    /*width: 20px;
    height: 25px;*/
    /*margin-top: 10px;*/
    top: 50%;
    transform: translateY(-50%);
    right: 17px;
    display: flex;
    cursor: pointer;

    .icon-view {
      display: block;
    }

    .icon-hidden {
      display: none;
    }

    svg {
      width: 20px;
      height: 20px;
      fill: var(--primary-color);
    }
  }
}