.homeStatistics {
  background: #ffffff;
  box-shadow: 0px 2px 10px 0px rgba(229, 229, 229, 0.1);
  border-radius: 10px;
  padding: 12px;
  // margin: 0 14px;
}

.homeHead {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;

  .title {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
    color: #333333;
    line-height: 20px;

    img {
      width: 18px;
      height: 18px;
      margin-right: 6px;
    }
  }

  .more {
    display: flex;
    align-items: center;
    font-weight: 400;
    font-size: 12px;
    color: rgba(45, 199, 170, 1);
    line-height: 17px;
    cursor: pointer;
    background: rgba(45, 199, 170, 0.1);
    border-radius: 9px;
    padding: 0 6px;

    img {
      width: 5px;
      height: 8px;
      margin-left: 5px;
    }
  }
}

.eChartSection {
  .eChartTitle {
    display: flex;
    justify-content: space-between;
    background: #f8f8f8;
    border-radius: 4px;
    padding: 6px 12px;
    .time {
      font-size: 12px;
      color: #777777;
      line-height: 16px;
      padding-right: 30px;
    }

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

    .twoItem {
      display: flex;
      align-items: center;
    }

    .item {
      display: flex;
      align-items: center;
      margin-right: 12px;
      --color: #2dc7aa;

      &:last-child {
        margin-right: 0;
      }

      .line {
        display: inline-block;
        width: 10px;
        height: 3px;
        background: var(--color);
        border-radius: 3px;
      }

      .text {
        font-size: 12px;
        color: #333333;
        line-height: 16px;
        padding: 0 4px 0 6px;
      }

      .num {
        font-weight: 600;
        font-size: 12px;
        color: var(--color);
        line-height: 16px;
      }
    }
  }

  .unit {
    padding-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    .unitText {
      font-size: 12px;
      color: #777777;
      line-height: 14px;
    }

    .right {
      display: flex;
      align-items: center;
    }

    .showItem {
      display: flex;
      align-items: center;
      font-size: 13px;
      color: #131415;
      line-height: 18px;

      img {
        margin-left: 4px;
        width: 9px;
        height: 5px;
      }

      &.showItemActive {
        color: #2dc7aa;
      }
    }
  }

  .eChart {
    height: 240px;
    padding: 0;
  }
}

:global {
  .select-time {
    width: 81px;
    background: #ffffff;
    box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 6px;

    span {
      display: block;
      font-size: 13px;
      color: #323233;
      line-height: 20px;
      text-align: center;
      line-height: 28px;
      margin-bottom: 6px;

      &:last-child {
        margin-bottom: 0;
      }
    }

    .active {
      background: rgba(45, 199, 170, 0.1);
      border-radius: 4px;
      color: #2dc7aa;
      font-weight: 500;
    }
  }
}
