@import '../../common/style/act/button/_button-pc-game-life.scss';

.press-act:not(.press-act--hidden-tip) {
  &.press__cover {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, .7);
    z-index: 99;
  }

  .press__dialog {
    width: 425px;
    height: 365px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    background: linear-gradient(180deg, rgb(219, 211, 255) 0%, rgb(250, 238, 255) 20.41%, rgb(255, 255, 255) 100%);
    box-shadow: 0px .5px 0px rgb(0 0 0 / 25%);
    z-index: 99;
  }

  .press__close {
    width: 40px;
    height: 40px;
    background: url(https://image-1251917893.file.myqcloud.com/TIP_component_style/pc-game-life-img/pop_close.png) no-repeat center;
    background-size: 14px 14px;
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 10;
    cursor: pointer;
  }

  .press__title {
    margin: 15px 0 0 20px;
    font-size: $font-l;
    color: $color-gray-1;
    text-align: left;
    line-height: 22px;
  }

  // 2填写手机号[

  .press__content {
    margin-top: 38px;
    position: relative;
    height: 260px;
  }

  .press__code-wrap {
    width: 345px;
    margin: 0 auto;
    position: relative;
  }

  .press__box input {
    display: block;
    width: 345px;
    height: 40px;
    box-sizing: border-box;
    padding: 0 10px;
    margin-bottom: 15px;
    color: $color-gray-1;
    font-size: $font-s;
    line-height: 40px;
    border-radius: 4px;
    background: #fff;
  }

  .press__message {
    width: 345px;
    margin: 20px auto 0;
    color: $color-gray-2;
    font-size: $font-s;
    line-height: 22px;
    text-align: center;
  }

  .press__button-wrap {
    margin-top: 20px;
    display: flex;
    justify-content: center;
  }

  .press__dialog-phone {
    .press__button-wrap {
      .press__btn--cancel {
        display: none;
      }

      .press__btn--sure {
        width: 130px;
        height: 40px;
        display: block;
        font-size: $font-m;
        line-height: 40px;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        background: linear-gradient(90deg, #6c8fb0 0%, #6e61ff 50%, #925fff 100%);
      }
    }
  }

  // 2填写手机号]

  /* 验证码 */
  .press__code-number {
    input {
      width: 235px;
    }
  }

  .press__code-btn {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 40px;
    text-align: center;
    border-radius: 6px;
    background: linear-gradient(90deg, #50abff 0%, #6e61ff 50%, #925fff 100%);
    color: #fff;
    font-size: $font-s;
    line-height: 40px;
  }

  /* 协议 */
  .press__treaty-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 345px;
    margin: 5px auto 0;
    font-size: $font-s;
    line-height: 22px;
    color: $color-gray-2;
  }

  .press__act-checkbox {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: block;
    background: url(https://image-1251917893.file.myqcloud.com/TIP_component_style/pc-game-life-img/no-checked.png) no-repeat;
    background-size: 100% 100%;

    &.press__act-checkbox--checked {
      background: url(https://image-1251917893.file.myqcloud.com/TIP_component_style/pc-game-life-img/checked.png) no-repeat;
      background-size: 100% 100%;
    }
  }

  .press__treaty-terms {
    color: $color-gray-2;
    font-size: $font-s;
    line-height: 22px;
  }

  .press__treaty-desc {
    font-size: $font-s;
    color: $color-gray-2;
  }
}