@import '../../common/style/act/mixin/mixin.scss';

.press-act:not(.press-act--hidden-tip) {

  //  关闭X按钮的图片
  &.press__cover {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .7);

    ::v-deep .uni-textarea-textarea,
    ::v-deep .uni-input-placeholder {
      padding-right: .08rem;
      padding-left: .08rem;
      color: #afb0b1;
      text-align: left;
    }

    ::v-deep .uni-input-input {
      padding-right: .08rem;
      padding-left: .08rem;
      color: #000;
      font-size: .28rem;
      text-align: left;
    }
  }

  .press__dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 99;
    width: 5.68rem;
    background: #fff;
    border-radius: .24rem;
    transform: translate(-50%, -50%);
  }

  .press__close {
    display: none;
  }

  .press__title {
    margin-top: .64rem;
    color: #000;
    font-size: .36rem;
    font-weight: bold;
    line-height: .44rem;
    text-align: center;
  }

  // 2填写手机号[

  .press__content {
    margin: auto;
    text-align: center;
  }

  .press__box input {
    display: block;
    width: 4.64rem;
    height: .72rem;
    padding: 0 .2rem;
    margin: .32rem auto .2rem;
    color: #afb0b1;
    font-size: .28rem;
    line-height: .72rem;
    border: .02rem solid #afb0b1;
    border-radius: .72rem;
  }

  .press__message {
    width: 100%;
    padding: 0 .8rem;
    color: #b2b2b2;
    font-size: .24rem;
    line-height: 1.2;
    text-align: center;
  }

  // 2填写手机号]

  /* 协议 */
  .press__treaty-wrap {
    display: flex;
    align-items: flex-start;
    padding: 0 .8rem;
    margin-top: .1rem;
    color: #999;
    font-size: .24rem;
    line-height: .34rem;
  }

  .press__act-checkbox {
    display: inline-block;
    width: .3rem;
    height: .3rem;
    margin: 0 .12rem;
    background: url(https://image-1251917893.file.myqcloud.com/igame/merchant/igame-peng/peng-check.png) center/100% 100% no-repeat;
    cursor: pointer;

    &.press__act-checkbox--checked {
      background: url(https://image-1251917893.file.myqcloud.com/igame/merchant/igame-peng/peng-checked.png) center/100% 100% no-repeat;
    }
  }

  .press__treaty-terms {
    color: #313131;
    font-size: .24rem;
    line-height: 1.4;
  }

  .press__treaty-desc {
    color: #73bfff;
    font-size: .24rem;
  }

  .press__box {
    margin-top: .32rem;

    .press__code-wrap {
      position: relative;

      input {
        padding-right: 1.8rem;
      }
    }

    .press__code-btn {
      position: absolute;
      top: 0;
      right: .84rem;
      display: inline-block;
      width: 1.8rem;
      color: #73bfff;
      font-size: .28rem;
      line-height: .72rem;
      text-align: right;
    }
  }

  .press__button-wrap {
    display: flex;
    border-top: 0;
  }

  .press__button-wrap .press__btn--medium-secondary {
    position: absolute;
    bottom: -2rem;
    left: 50%;
    width: 1.7rem;
    height: 1.7rem;
    color: rgba(255, 255, 255, .75);
    text-indent: -1000rem;
    background: url(https://image-1251917893.file.myqcloud.com/igame/merchant/igame-peng/icon-close.png) no-repeat;
    background-size: 100% 100%;
    transform: translateX(-50%);
  }

  .press__button-wrap .press__btn--medium-primary {
    display: inline-block;
    width: 2.8rem;
    height: .76rem;
    margin: .32rem auto .64rem;
    color: #fff;
    font-size: .36rem;
    line-height: .76rem;
    text-align: center;
    background: linear-gradient(180deg, #88cefc, #6ea5f9);
    background-size: 100% auto;
    border-radius: .76rem;
  }

  .press__btn--medium-primary.press__btn--disabled {
    color: #fff;
    background: linear-gradient(180deg, #c2c2c2, #b2b2b2);
  }
}