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

.press-act:not(.press-act--hidden-tip) {
  .press__buttons {
    justify-content: space-around;
  }

  &.press__main {
    flex: 1;
    width: 100%;
    box-sizing: border-box;
    // #ifndef APP-PLUS
    -webkit-overflow-scrolling: touch;
    // #endif
    display: flex;
    flex-direction: column;
  }

  .press__info {
    flex: 1;
    overflow-y: scroll;
  }

  // 额外信息+声明
  .press__extra {
    padding: .3rem .4rem;
    color: #999;
    font-size: .24rem;
    line-height: .34rem;
    background-color: white;
  }

  .press__button-wrap {
    position: relative;
    padding: .32rem .48rem;
    z-index: 10;
    background: #fff;
    border-top: 1px solid rgba(246, 246, 246, .5);
  }

  .press__btn {
    position: relative;
    display: block;
  }

  .press__btn--long-primary,
  .press__btn--maxlarge-primary {
    text-align: center;
    font-size: .28rem;
    color: #fff;
    border-radius: 4px;
    width: 100%;
    height: .8rem;
    line-height: .8rem;
    flex: 1;
    margin: 0 auto;
    background: linear-gradient(90deg, #daa23a 1.16%, #ae6e2f 100%);
  }

  .press__btn--large-secondary {
    flex: 1 1 0%;
    color: #fff;
    width: 1.92rem;
    height: .8rem;
    line-height: .8rem;
    text-align: center;
    font-size: .28rem;
    border-radius: 4px;
    padding: 0 .48rem;
    margin-left: .32rem;
    background: linear-gradient(90deg, #daa23a 1.16%, #ae6e2f 100%);
  }

  .van-popover__content,
  .press-popover__content {
    border-radius: 4px !important;
    background: #1a1b30 !important;
  }

  .van-popover__arrow,
  .press-popover__arrow {
    color: #1a1b30 !important;
  }
}