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

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

  // 竖版h5
  &.press__cover {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .7);
    z-index: 999;
  }

  .press__dialog-update {
    width: 5.6rem;
    padding-bottom: .4rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99;
    background: #fff;
    border-radius: .12rem;
  }

  .press__close {
    display: none;
  }

  .press__title {
    padding: .36rem 0 .24rem;
    color: $color-gray-1;
    font-size: $font-xl;
    line-height: .44rem;
    text-align: center;
    font-weight: bold;
  }

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

    input {
      display: block;
      width: 4.64rem;
      height: .72rem;
      padding: 0 .24rem;
      margin: 0 auto;
      color: #303030;
      font-size: $font-m;
      line-height: .72rem;
      background: #f5f6f7;
      border-radius: .08rem;

      &::placeholder {
        color: #999;
      }
    }

    .press__phone-number {
      width: 4.64rem;
      margin: 0 auto .16rem;
    }

    .press__code-wrap {
      position: relative;
      margin: 0 auto;
      margin-bottom: .44rem;
    }

    .press__code-number {
      padding-right: 1.8rem;
    }

    .press__code-btn {
      display: inline-block;
      position: absolute;
      top: 0;
      right: .54rem;
      width: 1.8rem;
      text-align: center;
      line-height: .72rem;
      font-size: $font-m;
      color: $color-blue-1;
    }

    .press__code-btn--disabled {
      color: #999;
    }
  }

  .press__button-wrap {
    display: flex;
    justify-content: center;

    .press__btn--cancel,
    .press__btn--sure {
      display: block;
    }

    .press__btn--cancel {
      width: .96rem;
      height: .96rem;
      display: block;
      position: absolute;
      bottom: -1.6rem;
      left: 50%;
      margin-left: -.48rem;
      background: url(https://image-1251917893.file.myqcloud.com/igame/common/image/close-dialog-icon.png) no-repeat;
      background-size: 100% 100%;
      font-size: 0;
      line-height: 0;
    }

    .press__btn--sure {
      width: 2.92rem;
      height: .68rem;
      line-height: .68rem;
      box-sizing: border-box;
      display: block;
      text-align: center;
      font-size: $font-l;
      color: #fff;
      border-radius: .08rem;
      background-image: linear-gradient(90deg, #50abff 0%, #6e61ff 50%, #925fff 100%);
    }
  }

  .tip-comp-dialog--input-info-tips {
    font-size: $font-s;
    line-height: .34rem;
    padding: 0 .48rem;
    color: $color-gray-3;
  }
}