@import '../../common/style/act/mixin/mixin.scss';
@import '../../common/style/act/layout/_layout-hlddz.scss';
@import '../../common/style/act/button/_button-hlddz.scss';

.press-act:not(.press-act--hidden-tip) {
  .press__full-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    width: 100%;
    height: 100%;
    height: 6.18rem;
    margin: auto;
    background: url(https://image-1251917893.file.myqcloud.com/tip-privilege-Merchant/hlddz/version3D/img/pop-bg3.png) no-repeat top center;
    background-size: 14.08rem 6.18rem;
    font-size: .24rem;
    animation-name: scaleDraw;

    /*关键帧名称*/
    animation-timing-function: ease-in-out;

    /*动画的速度曲线*/
    animation-duration: 1s;

    /*动画所花费的时间*/

    &.press__full-page--task {
      background-image: url(https://image-1251917893.file.myqcloud.com/tip-privilege-Merchant/get-coupon/dz/bg-get-award.png);
    }
  }

  /* 放大出现 */
  @keyframes scaleDraw {
    /*定义关键帧、scaleDrew是需要绑定到选择器的关键帧名称*/
    0% {
      transform: scale(0);
      opacity: 0;

      /*开始为原始大小*/
    }

    50% {
      transform: scale(1.1);
      opacity: 1;
    }

    100% {
      transform: scale(1);
      opacity: 1;
    }
  }

  .press__content {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 4.2rem;
    // padding: 6% 0rem 2%;
    margin: 0rem;
    position: relative;
    z-index: 100;

    align-items: center;
    display: flex;
  }

  .press__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: safe center;
    flex-wrap: nowrap;
    text-align: center;
    margin: auto;
    width: 9rem;
    overflow-x: auto;
  }

  .press__center-layout {
    flex-direction: row;

    .press__center-item {
      &:first-child {
        margin-left: auto;
      }

      &:last-child {
        margin-right: auto;
      }
    }


    .press__goods-name {
      width: 1.8rem;
      height: .76rem;
      line-height: .38rem;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      overflow: hidden;
      word-break: break-all;
    }

    .press__goods-desc {
      width: 1.8rem;
      height: .66rem;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      overflow: hidden;
      word-break: break-all;
    }
  }

  .press__center-item {
    flex-shrink: 0;
    margin-left: .1rem;

    &:first-child {
      margin-left: 0;
    }

    img {
      display: block;
      width: 1.28rem;
      height: 1.28rem;
      border-radius: .08rem;
      margin: 0 auto;
    }
  }

  .press__base-info {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    color: #9597b9;
    text-align: center;
  }

  .press__goods-name {
    font-weight: bold;
    color: #465278;
    margin: 0;
    text-align: center;
    font-size: .28rem;
  }

  .press__goods-desc {
    font-size: .24rem;
    color: #465278;
    margin-top: .08rem;
  }

  .tip-comp-dialog--fullpage-waiting-issue {
    height: .35rem;
    line-height: .35rem;
    position: relative;
    margin: .1rem 0 .2rem;
    text-align: center;
    color: #465278;
    font-size: .24rem;


    &::after,
    &::before {
      position: absolute;
      content: '';
      display: block;
      width: 2rem;
      height: 1px;
      background: #9597b9;
      top: .16rem;
    }

    &::before {
      left: .4rem;
    }

    &::after {
      right: .4rem;
    }
  }

  .press__tips {
    color: #5e6a8e;

    span {
      color: #f55e2f;
    }
  }

  .press__button-wrap {
    display: flex;
    justify-content: space-around;
    font-weight: bold;
    width: 6.4rem;
    height: .72rem;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1rem;
  }

  // 已领取弹窗
  .press__received-box {
    width: 7.94rem;
    overflow: hidden;
    position: fixed;
    left: 0;
    right: 0;
    top: 50%;
    font-size: .24rem;
    color: #3b437f;
    z-index: 100;
    transform: translateY(-50%);
    margin: auto;
    text-align: center;
    min-height: 5.2rem;
    padding: 0 .34rem .34rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://image-1251917893.file.myqcloud.com/2020/a20200331dz/full-page/pop-bg1.png) no-repeat top center;
    background-size: contain;
    -webkit-transform: translateY(-50%);
  }

  .press__received-title {
    background: url(https://image-1251917893.file.myqcloud.com/2020/a20200331dz/20200701/css_sprites.png) no-repeat;
    background-size: 2.84rem 5.58rem;
    background-position: 50% -1.95rem;
    text-indent: -1000rem;
    height: .42rem;
    line-height: .42rem;
    position: relative;
    margin: .45rem auto .25rem;
  }

  .press__received-content {
    width: 85%;
    margin: auto;
    min-height: 4rem;
  }

  .press__received-name {
    align-items: center;
  }

  .press__received-status {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: left;
  }

  .press__received-img {
    width: 1.28rem;
    height: 1.28rem;
    margin-right: .1rem;
    border-radius: .08rem;
  }

  .press__tip-wrap {
    width: auto;
    font-size: .24rem;
    overflow: hidden;
    letter-spacing: 0;
  }

  .press__tip-name {
    font-size: .28rem;
    line-height: .4rem;
    color: #427edc;
    font-weight: bold;
  }

  .press__button-box {
    position: relative;
    padding: 0 0rem;
    margin: .5rem auto .1rem;
    display: flex;
    justify-content: space-around;
    left: 0;
    right: 0;
    bottom: .2rem;
    z-index: 2;
  }

  .press__sub-wrap {
    display: none;
  }

  .press__stay-out {
    height: .35rem;
    line-height: .35rem;
    position: relative;
    text-align: center;
    margin: .1rem 0 .2rem;
  }

  .press__stay-out::after,
  .press__stay-out::before {
    position: absolute;
    content: '';
    display: block;
    width: 2rem;
    height: 1px;
    background: rgba(181, 72, 17, .6);
    background: #c0dbff;
    top: .16rem;
  }

  .press__stay-out::before {
    left: .4rem;
  }

  .press__stay-out::after {
    right: .4rem;
  }

  .press__height-line {
    color: #5e6a8e;
  }

  .press__stay-out-new {
    width: 6.18rem;
    height: .35rem;
    line-height: .35rem;
    position: relative;
    margin: .1rem auto .1rem;
    color: #5e6a8e;
  }

  .press__stay-out-new::after,
  .press__stay-out-new::before {
    background: #5e6a8e;
    position: absolute;
    content: '';
    display: block;
    width: 2rem;
    height: 1px;
    top: .16rem;
  }

  .press__stay-out-new::before {
    left: .4rem;
  }

  .press__stay-out-new::after {
    right: .4rem;
  }

  .press__btn--large-primary {
    display: block;
    width: 2.14rem;
    height: .74rem;
    line-height: .64rem;
    font-size: .28rem;
    color: #8c5337;
    text-align: center;
    background: url(https://image-1251917893.file.myqcloud.com/tip-privilege-Merchant/hlddz/version3D/img/btn-m-214.png) no-repeat center center;
    background-size: contain;
  }

  .press__btn--large-secondary {
    width: 2.14rem;
    height: .74rem;
    line-height: .64rem;
    color: #3e53bb;
    font-size: .28rem;
    text-align: center;
    background: url(https://image-1251917893.file.myqcloud.com/tip-privilege-Merchant/hlddz/version3D/img/btn-b-214.png) no-repeat center center;
    background-size: contain;
  }

  .press__waters-desc {
    position: absolute;
    left: 0;
    right: 0;
    bottom: .34rem;
    color: #5e6a8e;
    font-size: .2rem;
    text-align: center;
  }
}
