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

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

  &.press__main {
    display: flex;
    flex-direction: column;
    flex: 1;
    box-sizing: border-box;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }

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

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

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

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

  .press__btn--long-primary,
  .press__btn--maxlarge-primary {
    flex: 1;
    width: 100%;
    height: .8rem;
    margin: 0 .2rem;
    color: #fff;
    font-size: .28rem;
    line-height: .8rem;
    text-align: center;
    background: linear-gradient(180deg, #88cefc, #6ea5f9);
    background-size: 100% auto;
    border-radius: .8rem;
    -webkit-box-flex: 1;
  }

  .press__btn--large-secondary {
    flex: 1 1 0;
    width: 100%;
    height: .8rem;
    padding: 0 .2rem;
    color: #fff;
    font-size: .28rem;
    line-height: .8rem;
    text-align: center;
    background: none;
    background: linear-gradient(180deg, #88cefc, #6ea5f9);
    background-size: 100% auto;
    border-radius: .8rem;
  }
}
