
.#{$prefix}-step-report{
  text-align: center;

  &.step-report-1 {
    .card-container {
      max-width: 600px;
      margin: 0 auto 40px;

      .period-result-nums {
        .result-item {
          p:nth-child(1) {
            font-size: 20px;
            span {
              font-size: 50px;
            }
          }
        }
      }
    }
  }

  // &.step-report-2 {
  //   .card-container {
  //     margin: 0 12px;
  //   }
  // }

  .pic-text-container {
    .pic {
      width: 107px;
      height: 107px;
    }
    .text {
      font-size: 18px;
      color: #2A333A;
      margin: 20px ;
      font-weight: 600;
    }
  }

  .card-container {
    background: #FBF9F2;
    border: 1px solid #C3964E;
    padding: 2px;
    position: relative;

    .top-left-square,
    .top-right-square,
    .bottom-right-square,
    .bottom-left-square {
      position: absolute;
      width: 20px;
      height: 20px;

      &::before,
      &::after {
        content: " ";
      }

      .square,
      &::before,
      &::after {
        border-width: 1px;
        border-style: solid;
        width: 8px;
        height: 8px;
        background: #FBF9F2;
        position: absolute;
      }
      .square {
        border-color: #C3964E;
        z-index: 3;
      }
    }

    .top-left-square {
      left: 0;
      top: 0;
      .square {
        left: 1px;
        top: 1px;
      }
      &::before,
      &::after {
        border-top-color: #FBF9F2;
        border-right-color: #C3964E;
        border-bottom-color: #C3964E;
        border-left-color: #FBF9F2;
      }
      &::before {
        top: 2px;
        left: 8px;
      }
      &::after {
        top: 8px;
        left: 2px;
      }
    }

    .top-right-square {
      right: 0;
      top: 0;
      .square {
        right: 2px;
        top: 1px;
      }
      &::before,
      &::after {
        border-top-color: #FBF9F2;
        border-right-color: #FBF9F2;
        border-bottom-color: #C3964E;
        border-left-color: #C3964E;
      }
      &::before {
        top: 2px;
        right: 8px;
      }
      &::after {
        top: 8px;
        right: 2px;
      }
    }

    .bottom-right-square {
      right: 0;
      bottom: 0;
      .square {
        right: 2px;
        bottom: 2px;
      }
      &::before {
        border-top-color: #C3964E;
        border-right-color: #FBF9F2;
        border-bottom-color: #FBF9F2;
        border-left-color: #C3964E;
        bottom: 9px;
        right: 2px;
      }
      &::after {
        border-top-color: #C3964E;
        border-right-color: #FBF9F2;
        border-bottom-color: #FBF9F2;
        border-left-color: #C3964E;
        bottom: 2px;
        right: 9px;
      }
    }

    .bottom-left-square {
      left: 0;
      bottom: 0;
      .square {
        left: 2px;
        bottom: 2px;
      }

      &::before,
      &::after {
        border-top-color: #C3964E;
        border-right-color: #C3964E;
        border-bottom-color: #FBF9F2;
        border-left-color: #FBF9F2;
      }
      &::before {
        bottom: 9px;
        left: 2px;
      }
      &::after {
        bottom: 2px;
        left: 9px;
      }
    }

    .card-inner {
      border: 1px solid #C3964E;
      padding: 10px;
    }


    .period-title {
      font-size: 24px;
      font-weight: 500;
      text-align: center;
      color: #2a333a;
      line-height: 33px;
      margin-top: 20px;
    }

    .period-tips {
      font-size: 16px;
      font-weight: 400;
      text-align: center;
      color: #2a333a;
      line-height: 22px;
      margin-top: 4px;

      span {
        color: rgba(255, 127, 33, 1)
      }
    }
    .period-result-nums {
      // padding: 15px 0;
      border-radius: 4px;
      display: flex;
      justify-content: space-around;
      align-items: center;
      margin-bottom: 15px;

      .result-item {
        width: 33%;
        position: relative;

        p {
          margin: 0;
        }

        &:nth-child(2)::before,
        &:nth-child(2)::after {
          position: absolute;
          top: 50%;
          content: " ";
          height: 30px;
          width: 0;
          margin-top: -15px;
        }
        &:nth-child(2)::before {
          border-left: 1px solid #F1D2A1;
          left: 0;
        }
        &:nth-child(2)::after {
          border-right: 1px solid #F1D2A1;
          right: 0;
        }

        p:nth-child(1) {
          font-size: 12px;
          font-weight: 500;
          text-align: center;
          color: #2a333a;
          line-height: 28px;

          span {
            font-size: 28px;
            font-weight: 500;
            text-align: center;
            color: #2a333a;
            line-height: 70px;
          }
        }

        p.active {
          color: #926B31;
          span {
            color: #926B31;
          }
        }

        p:nth-child(2) {
          font-size: 16px;
          font-weight: 400;
          text-align: center;
          color: #2a333a;
          line-height: 22px;
          // margin-top: 12px;
        }
      }
    }
  }

  .wait-tips {
    font-size: 14px;
    color: #FF7F21;
    text-align: center;
    margin-bottom: 12px;
  }
  .report-button-group {
    .button {
      height: 48px;
      background: #AB844B;
      border-radius: 24px;
      // border: 0 none;
      font-size: 16px;
      color: #FFFFFF;
      text-align: center;
      cursor: pointer;
      border: 1px solid #AB844B;

      &.continue {
        background: #fff;
        color: #926B31;
        // border: 1px solid #AB844B;
      }

      &.disabled {
        background: #F0EADE;
        color: #D4C2AB;
        cursor:not-allowed;
      }
    }
    &.report-status {
      .continue {
        background: #AB844B;
        color: #FFFFFF;
      }
    }
    &.platform-1 {
      text-align: center;
      padding-top: 20px;

      .button {
        width: 290px;
      }
      .button + .button {
        margin-left: 30px;
      }
    }
    &.platform-2 {
      background-color: #fff;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 12px;

      &.report-status {
        .continue {
          width: 100%;
        }
      }

      .button {
        width: 49%;
      }
      .button + .button {
        margin-left: 2%;
      }
    }
  }
}

