@import "../../res.less";

.sign_section {
  width: 713px;
  height: 433px;
  left: 19px;
  // top: 1521px;
  position: relative;
  margin-top: 21px;

  .sign_section_bg {
    width: 712px;
    height: 433px;
    left: 0px;
    top: 0px;
    position: absolute;
    .sparkBg("homePage/sign_section_bg.png");
  }

  .sign_tips {
    width: 434px;
    height: 24px;
    left: 180px;
    top: 50px;
    position: absolute;
    font-size: 24px;
    line-height: 24px;
    color: rgb(145, 99, 38);
  }

  .sign_btn {
    width: 204px;
    height: 73px;
    left: 490px;
    top: 20px;
    position: absolute;
    .sparkBg("homePage/sign_btn_bg.png");
    font-size: 26px;
    line-height: 25px;
    color: rgba(220, 80, 63, 1);
    font-weight: bold;
    .flex_center();
    // .breathAnimation();
  }

  .signed_btn {
    width: 211px;
    height: 75px;
    left: 490px;
    top: 20px;
    position: absolute;
    .sparkBg("homePage/signed_btn_bg.png");
    font-size: 26px;
    line-height: 25px;
    color: rgba(108, 108, 108, 1);
    font-weight: bold;
    .flex_center();
  }

  .sign_total_tips {
    display: inline-block;
    width: 172px;
    height: 30px;
    left: 27px;
    top: 110px;
    position: absolute;
    font-size: 20px;
    color: rgb(145, 99, 38);
    line-height: 30px;
    text-align: center;
    // background-color: #ff3333;
  }

  .sign_big_btn {
    width: 425px;
    text-align: center;
    height: 98px;
    line-height: 98px;
    color: #ffffff;
    font-weight: bold;
    left: 143px;
    bottom: 20px;
    position: absolute;
    font-size: 32px;
    .sparkBg("homePage/signBigBtn.png");
  }

  .sign_progress {
    width: 591px;
    height: 109px;
    left: 60px;
    top: 158px;
    position: absolute;

    .progress_bg {
      width: 576px;
      height: 20px;
      left: 0px;
      top: 35px;
      position: absolute;
      background-color: #f8cec6;
      border-radius: 10px;
    }

    .progress_bar_box {
      width: 576px;
      height: 20px;
      left: 0px;
      top: 35px;
      position: absolute;

      .progress_bar {
        width: 0%;
        height: 20px;
        left: 0px;
        top: 0px;
        position: absolute;
        background-image: linear-gradient(90deg, rgb(253, 118, 95) 8%, #ff3333 100%);
        border-radius: 10px 10px 10px 10px;
      }
    }

    .step_item {
      width: 71px;
      height: 109px;
      left: 72px;
      top: 0px;
      position: absolute;

      &.step_item2 {
        left: 216px;
      }

      &.step_item3 {
        left: 359px;
      }

      &.step_item4 {
        left: 510px;
      }

      &.locked .prize_bg {
        .sparkBg("homePage/prize_locked.png");
      }

      &.signed .prize_bg {
        .sparkBg("homePage/prize_to_receive.png");
      }

      &.received .prize_bg {
        .sparkBg("homePage/prize_received.png");
      }

      &.locked,
      &.received {
        .prize_amount {
          opacity: 0.7;
        }
      }

      .prize_bg {
        width: 71px;
        height: 77px;
        left: 0px;
        top: 0px;
        position: absolute;
      }

      .prize_amount {
        width: 100%;
        height: 21px;
        left: 0px;
        top: 12px;
        position: absolute;
        font-size: 28px;
        color: rgba(238, 78, 50, 1);
        font-weight: bold;
        .flex_center();

        .unit {
          height: 30px;
          font-size: 18px;
          line-height: 34px;
        }
      }

      .prize_day {
        width: 91px;
        height: 19px;
        left: -10px;
        top: 90px;
        position: absolute;
        opacity: 0.6;
        font-size: 20px;
        line-height: 19px;
        color: rgba(0, 0, 0, 1);
        text-align: center;
      }
    }
  }
}