@import '../../../../styles/vars/breakpoints.css';

.gift {
  width: 100%;
  height: 796px;
  display: flex;
  @media (--sm-and-down) {
    flex-direction: column;
    height: auto;
  }
}
.content {
  width: 500px;
  @media (--md-and-down) {
    width: 100%;
  }
}
.imageGift {
  background-image: url('/images/demo/gift.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 50%;
  height: 100%;
  @media (--sm-and-down) {
    width: 100%;
    height: 400px;
  }
  @media (--ms-and-down) {
    height: 200px;
  }
}
.rightForm {
  width: 50%;
  padding: 54px 44px 50px;
  background-color: rgba(230, 229, 229, 0.4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: opacity 1s ease;
  .success & {
    pointer-events: none;
    opacity: 0.8;
  }

  @media (--sm-and-down) {
    width: 100%;
    padding: 24px 15px 20px;
  }
}

.title {
  width: 100%;
  font-size: rem(24px);
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.6px;
  color: #282828;
  word-break: break-word;
  @media (--sm-and-down) {
    width: 100%;
  }
}

.description {
  margin-top: 21px;
  width: 100%;
  font-size: rem(16px);
  line-height: 1.5;
  letter-spacing: 0.4px;
  color: #989898;
  margin-bottom: 20px;
  word-break: break-word;
  @media (--sm-and-down) {
    width: 100%;
  }
}

.review,
.inputText {
  width: 100%;
  border-radius: 8px;
  background-color: #ffffff;
  border: none;
  resize: none;
  box-shadow: 0 2px 15px 0 rgba(152, 15, 221, 0.1);
  padding: 20px 24px;
  font-size: rem(15px);
  line-height: normal;
  letter-spacing: 0.4px;
  color: #9c9c9c;
  /* font-family: Montserrat; */
  margin-top: 20px;
  outline: 0 !important;

  @media (--sm-and-down) {
    width: 100%;
  }
}

.review {
  height: 180px;
  margin-top: 24px;
}

.inputText {
  height: 60px;
}

.subscribe {
  margin: 10px 0;
  display: flex;
  align-items: center;
  @media (--sm-and-down) {
    min-height: 38px;
    margin-top: 7px;
  }
}

.switch {
  cursor: pointer;
  min-width: 46px;
  height: 28px;
  background-color: grey;
  border-radius: 30px;
  position: relative;
  margin-right: 10px;
  transition: background-color 0.5s ease;
}

.circle {
  cursor: pointer;
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
  position: absolute;
  top: 4px;
  right: 20px;
  transition: right 0.5s ease;
}

.switch.checked .circle {
  right: 5px;
}
.switch.checked {
  background-color: #00bb6f;
}

.text {
  /* font-family: Montserrat; */
  font-size: rem(15px);
  line-height: normal;
  letter-spacing: 0.4px;
  color: #595959;
}

.sendBtn {
  margin: 30px 0 34px;
  border-radius: 35px;
  background-color: #8513e8;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: rem(17px);
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.4px;
  color: #ffffff;
  padding: 25px 40px;
  cursor: pointer;

  .success .disable & {
    background-color: #00bb6f !important;
  }

  @media (--sm-and-down) {
    font-size: rem(15px);
    padding: 15px 20px;
    margin: 15px 0 40px;
  }
  @media (--ms-and-up) {
    display: inline-flex;
  }
}



.disable {
  background-color: #8080804d !important;
}

.warning {
  border: 1px solid red;
}

.error {
  color: red;
  font-size: rem(12px);
}
