@import 'press-ui/common/style/smoba/layout.scss';
@import 'press-ui/common/style/smoba/mixin.scss';

.press-act:not(.press-act--hidden-tip) {
  .press__title-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: tovmin(24);
    padding-bottom: tovmin(24);
    box-sizing: border-box;

    &::after {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      margin: 0 auto;
      content: '';
      width: tovmin(686);
      height: tovmin(24);
      background: url(https://image-1251917893.file.myqcloud.com/Esports/new/user/popup-line.png) no-repeat center;
      background-size: contain;
    }

    .press__title {
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .32rem;
      color: #09134e;
      line-height: .48rem;
      margin-bottom: .16rem;


      .icon-question-mark {
        line-height: .24rem;
        margin-left: .08rem;
        height: .24rem;
        color: #9299c6;
        font-size: .24rem;
      }
    }

    .press__title-left {
      position: absolute;
      left: .32rem;
      display: flex;
      align-items: center;
      justify-content: center;
      height: .48rem;
      font-size: .4rem;
      margin-bottom: .16rem;

    }
  }

  .press__content {
    padding: .4rem .32rem 0;
    display: flex;
    flex-direction: column;
    max-height: 8.84rem;
  }

  // 兑换信息展示可滑动容器
  .press__exchange-wrap {
    flex: 1;
    overflow-y: auto;
  }

  // 转账信息展示
  .press__transfer-info {
    margin-bottom: .24rem;
  }

  .press__transfer-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .24rem;
  }

  .press__transfer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
  }

  .press__transfer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
  }

  .press__transfer-wallet-icon {
    width: .96rem;
    height: .96rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .press__redpack-icon-wrap {
    width: 1.2rem;
    height: 1.2rem;
    background: #eef0f6;
    border-radius: .08rem;
  }

  .press__redpack-icon-img {
    width: 1.2rem;
    height: 1.2rem;
  }

  .press__transfer-amount {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: .16rem;
  }

  .press__amount-value {
    font-size: .24rem;
    color: #09134e;
    font-weight: 600;
    line-height: .4rem;
  }

  .press__amount-label {
    font-size: .24rem;
    // 文案渐变
    background: linear-gradient(135deg, #c25742 0%, #e58845 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: .4rem;
    white-space: nowrap;
  }

  .press__transfer-middle-container {
    height: 2.16rem;
    display: flex;
    justify-content: center;
  }

  .press__transfer-arrow-wrap {
    height: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .press__transfer-arrow {
    transform: rotate(90deg);
    font-size: .48rem;
    color: #9299c6;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .press__transfer-wallet-wrap {
    width: 1.2rem;
    height: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .16rem;
  }

  .press__wechat-logo {
    font-size: .832rem;
    color: #2aae67;
  }

  .press__qq-logo {
    font-size: 1.04rem;
    color: #5bbdfa;
  }

  .press__transfer-channel {
    font-size: .24rem;
    color: #09134e;
    line-height: .4rem;
    font-weight: 600;
  }

  .press__transfer-channel-placeholder {
    height: .4rem;
  }

  // 收款人详情
  .press__receive-info {
    padding: .32rem;
    display: flex;
    flex-direction: column;
    gap: .16rem;
    background-color: #f5f6fa;
    border-radius: .08rem;
    margin-bottom: .24rem;
    position: relative;
    overflow: hidden;
  }

  .press__receive-info-background {
    font-size: 3.18rem;
    color: #eef0f6;
    position: absolute;
    top: -1.36rem;
    right: -.74rem;
    z-index: 0;
  }

  .press__receive-item-wrap {
    gap: .08rem;
    display: flex;
    flex-direction: column;
    z-index: 1;
  }

  .press__receive-item {
    font-size: .28rem;
    line-height: .44rem;
  }

  .press__receive-label {
    color: #09134e;
    font-weight: 600;
  }

  .press__receive-value {
    color: #09134e;
    font-weight: 600;
  }

  .press__receive-tips {
    font-size: .28rem;
    line-height: .44rem;
    color: #9299c6;
  }

  // 输入字段
  .press__input-section {
    margin-bottom: .24rem;
    display: flex;
    flex-direction: column;
    gap: .24rem;
  }

  .press__input-item {
    gap: .16rem;
    display: flex;
    flex-direction: column;
  }

  .press__input-label {
    font-size: .28rem;
    color: #9299c6;
    line-height: .44rem;
  }

  .press__input-field {
    font-size: .32rem;
    line-height: .48rem;
    height: .48rem;

    &::placeholder {
      line-height: .48rem;
      color: #bfc3e1;
      font-size: .32rem;
    }

  }

  .press__input-item-divider {
    height: 1px;
    background-color: #eef0f6;
  }

  // 提示信息
  .press__disclaimer {
    font-size: .24rem;
    color: #9299c6;
    line-height: .4rem;
    text-align: center;
  }

  .press__btn-wrap {
    padding-bottom: .16rem;
    padding-top: .32rem;
  }

  &.press__btn {
    position: relative;
  }

  &.press__btn--long-primary,
  &.press__btn--maxlarge-primary {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: .88rem;
    font-size: $font-l;
    color: $color-white;
    margin: 0 .2rem;
    border-radius: .08rem;
    background-image: $color-primary-btn;

    &::after {
      position: absolute;
      top: .08rem;
      right: 0;
      content: '';
      width: 1.86rem;
      height: .3rem;
      background: url(https://image-1251917893.file.myqcloud.com/Esports/new/user/large-btn-bg-r.png) no-repeat center;
      background-size: contain;
      pointer-events: none;
    }

    &::before {
      position: absolute;
      bottom: 0;
      left: 0;
      content: '';
      width: 1.86rem;
      height: .3rem;
      background: url(https://image-1251917893.file.myqcloud.com/Esports/new/user/large-btn-bg-l.png) no-repeat center;
      background-size: contain;
      pointer-events: none;
    }

    &:active {
      background: $color-blue;
    }
  }

}
