.order {
  min-height: 480px;
  background: url('../../img/form-popup.svg'), linear-gradient(217.33deg, #EB2027 28.28%, #F87579 81.86%);
  background-repeat: no-repeat;
  background-position: bottom left;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}

.order--free-access {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #FF6066;

  .order__form {
    display: flex;
    align-items: center;

    /* MEDIA */
    @media (max-width: 535px) {
      position: relative;
      flex-direction: column;
      /* padding-bottom: 245px; */
      margin: 0;
      
      .order__form-invite {
        width: auto;
      }

      .order__form-pic {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 270px;
        display: none;
      }

      .order__form-wrapper {
        width: auto;
        margin-top: 20px;
        padding: 20px 10px;

        .permission {
          font-size: 10px;
        }
      }
    }
  }

  .crmresult {
    margin: 0;
    transform: none;
  }
}

.order--free-access-bg-white {
  min-height: max-content;
  padding: 0;
  background-color: #ffffff;

  .order__form {
    margin: 0;
  }

  .order__form-wrapper {
    padding: 0;
  }

  .crmresult {
    color: #000000;
  }
}

.order__form-invite {
  width: 218px;

  .order__title {
    font-size: 21px;
    line-height: 28px;
  }

  .order__desc {
    font-size: 17px;
    line-height: 21px;
  }

  .order__form-pic {
    margin-top: 35px;
  }
}

.order--free-access .order__form-wrapper {
  width: 362px;
  margin: 0 0 0 auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 20px;


  h3 {
    margin: 0;
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    color: #000000;
  }

  .form__label {
    border: 1px solid #7F7F7F;
    border-radius: 5px;
  }

  .form__button {
    color: #ffffff;
    background-color: #EB2027;

    &:disabled {
      background-color: #222222;
      cursor: no-drop;
    }
  }
}

.order__title {
  font-size: 30px;
  font-weight: 700;
}

.order__desc {
  margin-top: 10px;
  font-size: 18px;
  line-height: 25px;
}


.order__form-wrapper {
  display: flex;
  flex-direction: column;
  width: 303px;
  margin-top: 40px;
  margin-left: auto;
}

.form__label {
  margin-bottom: 12px;
}

.form__label:last-of-type {
  margin-bottom: 0;
}

.permission {
  position: relative;
  margin-top: 10px;
  padding-left: 34px;
  font-size: 12px;
  line-height: 0;
  color: #8F8F8F;
  user-select: none;
}

.permission__label {
  cursor: pointer;
  line-height: 1.4;
}

.permission__rules {
  display: inline;
  color: #8F8F8F;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  color: #8F8F8F;
}

.permission__checkmark {
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  min-width: 24px;
  min-height: 24px;
  margin-right: 15px;
  border: 1px solid #8F8F8F;
  border-radius: 3px;
}
.permission__checkmark::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 0;
  display: none;
}

input[type=checkbox]:checked + .permission__checkmark:before {
  display: block;
  background: url("../../img/icon/icon-checked.svg") no-repeat center;
  background-size: 50%;
}

.form__button {
  margin-top: 24px;
  font-size: 13px;
}

.order__footnote {
  align-self: flex-end;
  width: 280px;
  margin-top: 0;
  margin-right: 25px;
  text-align: left;
  font-size: 15px;
  line-height: 25px;
}

.crmresult {
  width: 380px;
  margin: 106px 0 0 auto;
  transform: translateY(50%);
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  -webkit-transform: translateY(50%);
  -moz-transform: translateY(50%);
  -ms-transform: translateY(50%);
  -o-transform: translateY(50%);
}

.crmresult span {
  display: block;
  width: 300px;
  margin: 0 auto;
  font-size: 22px;
  font-weight: 400;
  line-height: 32px;
}

@media (max-width: 430px) {
  .order--free-access {
    padding: 0 10px;
  }

  .crmresult {
    width: auto;
    margin: 60% 0 0 0;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
  }
}
