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

.sign {
  margin-left: 5px;
  margin-top: 0;
  width: 741px;
  height: 455px;
  .webpBg("HomePage/sign/signBg.png");
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  .title {
    font-size: 40px;
    font-family: "zzgfyht";
    color: #68152b;
    position: absolute;
    left: 86px;
    top: 14px;

    span {
      font-size: 54px;
      color: #f3314b;
      font-family: AlibabaPuHuiT;
      font-weight: bold;
    }

  }

  .itemRoot {
    position: absolute;
    left: 32px;
    right: 32px;
    top: 112px;
    height: 185px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    .item {
      height: 185px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-direction: column;
      position: relative;

      .credits {
        width: 80px;
        height: 93px;
        .webpBg("HomePage/sign/没签.png");


        &.creditsSigned {
          .webpBg("HomePage/sign/签了.png");
        }

        .creditTxt {
          width: 100%;
          text-align: center;
          position: absolute;
          top: 60px;
          font-size: 18px;
          color: #9a9a9a;

          span {
            font-size: 20px;
          }

        }

      }

      .day {
        color: #9a9a9a;
        font-size: 28px;

        &.daySigned {
          color: #a21845;
        }
      }

    }
  }

  .progressBar {
    position: absolute;
    border-radius: 5px;
    background-color: rgb(255, 221, 227);
    top: 227px;
    width: 600px;
    height: 5px;

    .progressFill {
      border-radius: 5px;
      background-color: #f4364b;
      height: 100%;
    }
  }


  .progressPoint {
    border-radius: 50%;
    background-color: rgb(244, 54, 75);
    position: absolute;
    left: 64px;
    top: 222px;
    width: 16px;
    height: 16px;
  }

  .tip {
    font-size: 24px;
    color: rgb(111, 36, 61);
    text-align: right;
    position: absolute;
    right: 35px;
    top: 49px;
  }

  .btn {
    position: absolute;
    top: 339px;
    width: 335px;
    height: 69px;
    .webpBg("HomePage/sign/签到.png");

    &.btnSigned {
      .webpBg("HomePage/sign/已签到.png");
    }

  }
}
