@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__dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5.8rem;
    background-color: $color-white;
    border-radius: .16rem;
    z-index: 99;
  }

  .press__close {
    display: none;
  }

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

  .press__content {
    margin: auto;
    padding: 0 .48rem;
  }

  .press__box input {
    display: block;
    width: 4.84rem;
    height: .72rem;
    color: $color-black;
    font-size: .28rem;
    line-height: .72rem;
    padding: 0 .24rem;
    margin-top: .32rem;
    border-radius: 4px;
    border: 0;
    background-color: $color-bg;

    &::placeholder {
      color: $color-gray;
    }
  }


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

  .press__button-wrap {
    a {
      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;
      }

      p {
        position: relative;
        z-index: 1;
      }
    }

    .press__btn--cancel {
      color: $color-black;
      background: $color-secondary-btn;
      margin-right: .48rem;

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

    .press__btn--sure {
      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;
      }
    }
  }
}