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

.task_sign_section {
  width: 712px;
  height: 323px;
  position: relative;

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

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

  .sign_btn {
    width: 202px;
    height: 72px;
    left: 478px;
    top: 22px;
    position: absolute;
    .sparkBg("taskPop/signBtn.png");
  }

  .signed_btn {
    width: 202px;
    height: 72px;
    left: 478px;
    top: 22px;
    position: absolute;
    .sparkBg("taskPop/signedBtn.png");
  }

  .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_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("taskPop/lockIcon.png");
      }

      &.signed .prize_bg {
        .sparkBg("taskPop/daiLingquIcon.png");
      }

      &.received .prize_bg {
        .sparkBg("taskPop/receivedIcon.png");
      }

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

      .prize_bg {
        width: 68px;
        height: 73px;
        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;
      }
    }
  }
}