.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;
    }
  }

  .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;
    }
  }
}

.eChartSection {
  background-color: #fff;
  box-shadow: 0px 2px 10px 0px rgba(229, 229, 229, 0.1);
  border-radius: 10px;
  padding: 12px;
  margin: 0 14px;
  .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;
      }
    }
  }

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

.popupContainer {
  // max-height: 504px;
  // overflow-x: hidden;
  // overflow-y: auto;
  .popupTitle {
    position: sticky;
    z-index: 1;
    top: 0;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    color: #333333;
    line-height: 24px;
    padding: 18px 0 12px;
  }

  // .popupSearchList {
  // min-height: 30vh;
  // max-height: 50vh;
  // overflow: hidden auto;
  // }

  .popupSection {
    padding: 0 16px 40px;
    .title {
      display: flex;
      justify-content: space-between;
      padding-bottom: 10px;
      span {
        display: flex;
        align-items: center;
        font-weight: 600;
        font-size: 15px;
        color: #333333;
        line-height: 18px;
        &::before {
          content: '';
          display: inline-block;
          width: 3px;
          height: 12px;
          background: linear-gradient(180deg, #59e5d4 0%, #2dc7aa 100%);
          border-radius: 2px;
          margin-right: 4px;
        }
      }
    }

    .timeCount {
      display: flex;
      align-items: center;

      p {
        margin-left: 10px;
        flex: 1;
        background: #f8f8f8;
        border: 1px solid #f8f8f8;
        border-radius: 4px;
        font-size: 13px;
        color: #999999;
        line-height: 18px;
        text-align: center;
        padding: 6px 0;
        &:first-child {
          margin-left: 0;
        }

        &.active {
          background: #e9fff8;
          border-radius: 4px;
          border: 1px solid #2dc7aa;
          color: #2dc7aa;
        }
      }
    }

    .timeSubject {
      flex-wrap: wrap;
      margin-left: -5px;
      margin-right: -5px;
      p {
        width: calc(33.333% - 10px);
        padding: 6px 3px;
        margin: 0 5px;
        flex: none;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        margin-bottom: 9px;
        box-sizing: border-box;
        &:first-child {
          margin-left: 5px;
        }
      }
    }

    .timeRang {
      margin-top: 10px;
      display: flex;
      align-items: center;
      justify-content: space-between;

      .timeInput {
        width: 159px;
        line-height: 32px;
        text-align: center;
        background: #f8f8f8;
        border: 1px solid #f8f8f8;
        border-radius: 4px;
        font-size: 13px;
        color: #999999;
        cursor: pointer;

        // &.active {
        //   border: 1px solid #2dc7aa;
        //   color: #2dc7aa;
        //   background: #e9fff8;
        // }
      }
      .hasValue {
        color: #333;
      }

      .timeUnit {
        width: 12px;
        height: 1px;
        background: #d0d0d0;
      }
    }
  }

  .popupBottom {
    position: sticky;
    z-index: 1;
    bottom: 0;
    border-top: 1px solid #f2f2f2;
    padding: 20px 13px 30px;
    display: flex;
    align-items: center;
    :global {
      .van-button {
        font-size: 16px;
      }
      .van-button + .van-button {
        margin-left: 15px;
      }
    }
  }
}


.searchPopup {
  :global {
    .van-popup__close-icon {
      top: 19px;
    }
  }
}