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

.awardPopup {
  :global(.el-dialog) {
    border-radius: var(--component-border-radius);
    overflow: hidden;
    margin-top: 5vh !important;
  }
  :global(.el-dialog__body) {
    padding: 0;
  }
  :global(.el-dialog__header) {
    padding: 0;
  }

  :global(.el-dialog__headerbtn) {
    font-size: 30px;
    top: 11px;
    right: 14px;
  }
  :global(.el-dialog__headerbtn:focus .el-dialog__close), 
  :global(.el-dialog__headerbtn:hover .el-dialog__close) {
    color: var(--primary-color);
  }
  @media (--md-and-down) {
    :global(.el-dialog) {
      width: 90% !important;
    }
    :global(.el-dialog__headerbtn .el-dialog__close) {
      color: var(--primary-color);
    }
  }
}

.loading {
  margin-top: 30px;
}

.content {
  display: flex;
  align-items: center;
  @media (--sm-and-down) {
    flex-direction: column;
  }
}

.left {
  width: 49%;
  min-height: 590px;
  height: 100%;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #F8F9FC;
  /* object-fit: contain; */
  @media (--sm-and-down) {
    width: 100%;
    min-height: 300px;
  }
}

.right {
  width: 51%;
  min-height: 590px;
  height: 100%;
  padding: 30px 60px 30px 50px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  @media (--sm-and-down) {
    padding: 30px 60px 50px 50px;
    width: 100%;
    min-height: 300px;
  }
  @media (--xs-only) {
    padding: 30px 15px 40px 15px;
  }

  &.disableForm {
    pointer-events: none;
    .sendBtn {
      opacity: 0.5;
    }
  }
}

.title {
  width: 100%;
  font-size: rem(28px);
  font-weight: 700;
  line-height: rem(34px);
  letter-spacing: -0.4px;
  color: #282828;
  word-break: break-word;
  @media (--sm-and-down) {
    font-size: rem(23px);
    width: 100%;
  }
}

.sendBtn {
  margin-top: 30px;
  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(15px);
  font-weight: 600;
  line-height: rem(19px);
  letter-spacing: 0.38px;
  color: #ffffff;
  padding: 15px 19px;
  cursor: pointer;
  .success .disable & {
    background-color: #00bb6f !important;
  }

  &.envStyle {
    background: var(--button-gradient);
    border-radius: var(--button-border-radius);
  }
}

.group {
  width: 100%;
  margin-top: 25px;
  position: relative;
}

.input {
  width: 100%;
  border-radius: 8px;
  background-color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0);
  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;
  outline: 0 !important;
}

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

.warning {
  border: 1px solid red;
}

.error {
  color: red;
  font-size: rem(12px);
  position: absolute;
  bottom: -20px;
  left: 0;
}


