.report {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: #f5f5f5;
  font-family: Source Han Sans CN;

  .main {
    height: calc(100vh - 200px);
    overflow: scroll;
    background-color: #fff;
    padding: 0 20px;
    padding-top: 100px;
    .periodNav {
      display: flex;
      justify-content: space-around;
      align-items: center;
      .periodItem {
        width: 48%;
        font-size: 28px;
        color: black;
        text-align: center;
        padding: 12px;
        border-radius: 30px;
        background: #e6e6e6;
        &.active {
          color: white;
          background: #179b3b;
        }
      }
      .minPeriodItem {
        width: 32%;
        padding: 8px;
      }
    }
    .line {
      height: 22px;
      background-color: $lineGray;
    }

    .overall-rating {
      padding: 46px 15px;
      margin-bottom: 18px;
      .con {
        padding: 34px 20px;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
        font-size: 28px;
        background: #ffffff;
        border: 1px solid #cdf348;
        border-radius: 40px;

        p {
          font-size: 36px;
          font-family: Source Han Sans CN;
          color: #666666;

          .bold {
            color: #282828;
            font-weight: bold;
          }
        }

        .space-between {
          width: 100%;
          display: flex;
          justify-content: space-between;
          align-items: center;

          .time {
            font-size: 24px;
          }
        }

        .normal {
          font-size: 26px;
          line-height: 42px;
          text-align: left;
          color: #666666;
        }

        .bold-pro {
          color: #282828;
          font-size: 48px;
          font-weight: bold;
          padding: 24px 0;
        }
      }
    }

    .pie-chart-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      padding: 46px 30px 32px 30px;

      p {
        font-size: 24px;
        font-family: Source Han Sans CN;
        line-height: 42px;
      }

      .bold {
        font-size: 36px;
        font-weight: bold;
        color: #282828;
        line-height: 36px;
      }
    }

    .count {
      padding: 0 30px 10px 30px;
      text-align: left;

      p {
        font-size: 24px;
        font-family: Source Han Sans CN;
        font-weight: 400;
        color: #8b8b8b;
        line-height: 36px;
      }
    }

    .pie-chart-con {
      flex: 1;
      padding: 10px 0 20px 0;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      background-color: #fff;

      .pie-chart-left {
        position: relative;
        height: 300px;
        padding-left: 30px;
        width: 35%;
        @include center();

        #pieChart {
          height: 212px;
          width: 212px;
        }
      }

      .pie-chart-right {
        height: 300px;
        width: 65%;
        @include center();

        .list {
          display: flex;
          justify-content: center;
          flex-direction: column;
          .item {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 24px;
            padding: 18px 0;
            .item-left {
              display: flex;
              justify-content: flex-start;
              align-items: center;
              padding-right: 20px;

              .circle {
                height: 24px;
                width: 24px;
                margin: 0 8px;
              }

              span {
                font-size: 24px;
              }

              .text {
                color: #000;
                font-size: 24px;
              }
            }

            .item-right {
              @include center();
              span {
                font-size: 24px;
              }
            }
            .status {
              padding: 0 10px;
              @include center();
              img {
                height: 30px;
                width: 18px;
                padding: 0 6px;
              }
            }
          }
        }
      }
    }

    .statistics {
      position: relative;
      padding: 10px 28px 10px 28px;
      .list {
        flex: 1;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 32px;

        .item {
          display: flex;
          justify-content: flex-start;
          align-items: flex-start;
          width: 136px;
          padding: 30px;
          /* height: px2rem(136); */
          flex-direction: column;
          border: 1px solid $border_color;
          border-radius: 30px;
          color: #fff;
          .top {
            font-size: 24px;
          }

          .middle {
            font-size: 48px;
          }

          .bottom {
            font-size: 18px;
          }
        }
      }
    }
    .chart-title {
      padding: 30px;
      font-size: 36px;
      font-weight: bold;
      color: #282828;
    }
    .bar-chart {
      position: relative;
      height: 600px;
      background-color: #fff;
      padding: 0 10px;
      .echart {
        height: 600px;
        padding: 0 10px;
      }
    }
    .scatter {
      border: none;
      height: 600px;
      .custom-bot {
        .list {
          height: 40px;
          padding: 0 20px;
          display: flex;
          justify-content: space-around;
          align-items: flex-start;
          font-size: 28px;
        }
      }
    }
    .advice {
      padding: 52px 20px 60px 20px;
      .content {
        background: #f2f6ff;
        border-radius: 20px;
        padding: 0px 10px;
        text-align: left;

        p {
          font-size: 24px;
          color: #707070;
          line-height: 46px;
        }
        .title {
          font-size: 26px;
          font-weight: bold;
          /* color: $green; */
          line-height: 36px;
        }
      }
    }

    .overview {
      padding: 0 30px 32px 30px;

      .content {
        .title {
          text-align: left;

          .title-text {
            font-size: 36px;
            font-weight: bold;
            color: #282828;
            line-height: 36px;
          }

          .mood-list {
            display: grid;
            grid-template-columns: repeat(2, 1fr); //定义了一个 2x2 的网格布
            grid-template-rows: repeat(2, 1fr);
            gap: 42px;
            padding: 42px 42px 44px 40px;

            .item {
              width: 214px;
              height: 250px;
              display: flex;
              justify-content: center;
              align-items: flex-start;
              flex-direction: column;
              padding-left: 60px;
              color: #fff;
              border: 1px solid #cdf348;
              border-radius: 40px;
              p {
                font-size: 28px;
                padding: 0;
                @include center();
                .day {
                  /* padding: 5px; */
                  font-size: 56px;
                }

                .day-text {
                  font-size: 24px;
                  padding: 0 10px;
                }
                img {
                  height: 30px;
                  width: 18px;
                }
              }
            }
          }
        }
      }
    }
    &.no-data {
      @include center();
      flex-direction: column;
      p {
        font-size: 32px;
      }
    }
  }
}
