@import '../../common/style/act/mixin/mixin.scss';
@import '../../common/style/act/layout/_layout-smoba.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__content {
    width: 100%;
  }

  .press__dialog--prompt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 5.6rem;
    padding: .48rem;
    border-radius: .16rem;
    background-color: $color-white;
    z-index: 99;
  }

  .press__title--prompt {
    font-size: .32rem;
    font-weight: 600;
    color: $color-black;
    text-align: center;
    margin-top: 0;
    padding-top: .16rem;
  }

  .press__box {
    position: relative;
    color: $color-black;
    font-size: .32rem;
    line-height: .44rem;
    text-align: center;
    font-weight: bold;
  }

  .press__notice {
    font-size: $font-xm;
    color: $color-gray-5;
    line-height: .44rem;
    margin-top: .24rem;
  }

  .press__text {
    font-size: $font-xm;
    color: $color-gray-5;
    font-weight: 600;
    line-height: .44rem;
    margin-top: .24rem;
    word-break: break-all;
  }

  .press__button-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: .48rem;
  }

  .press__button-wrap {
    .press__btn--medium-primary,
    .press__btn--medium-secondary,
    .press__btn--cancel {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 2rem;
      height: .72rem;
      text-align: center;
      font-size: $font-l;
      color: $color-white;
      padding: 0 .16rem;
      border-radius: .08rem;
      background-image: $color-primary-btn;
  
      &:active {
        background: $color-blue;
      }
    }
  }

  .press__button-wrap .press__btn--cancel,
  .press__button-wrap .press__btn--medium-secondary {
    color: $color-black;
    background: $color-secondary-btn;
    margin-right: .32rem;

    &:active {
      background: $color-gray-3;
    }
  }

  .press__button-wrap .press__btn--sure,
  .press__button-wrap .press__btn--medium-primary {
    position: relative;

    &::after {
      position: absolute;
      top: .08rem;
      right: 0;
      content: '';
      width: 1.52rem;
      height: .3rem;
      background: url(https://image-1251917893.file.myqcloud.com/Esports/new/user/btn-bg-r.png) no-repeat center;
      background-size: contain;
      pointer-events: none;
    }

    &::before {
      position: absolute;
      bottom: 0;
      left: 0;
      content: '';
      width: 1.26rem;
      height: .3rem;
      background: url(https://image-1251917893.file.myqcloud.com/Esports/new/user/btn-bg-r.png) no-repeat center;
      background-size: contain;
      pointer-events: none;
    }

    &:active {
      background: $color-blue;
    }
  }

  .press__btn-text {
    z-index: 1;
  }

  .press__pic-wrap {
    .press__store-pic {
      display: block;
      width: 1rem;
      height: 1rem;
      border-radius: .08rem;
      margin: 0 auto;
    }

    .press__store-name {
      font-size: .24rem;
      color: $color-black;
      padding: .08rem 0 .16rem;
    }
  }
}
