.container {
  width: 663px;
  height: 350px;
  background: rgba(57, 122, 183, 0.2);
  border-radius: 20px;
  padding: 20px;

  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;

    .title {
      color: rgb(203, 237, 255);
      font-family: 'DingTalk JinBuTi';
      font-size: 22px;
      font-weight: 400;
      line-height: 26px;
    }

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

  .tabBtn {
    width: 109px;
    height: 39px;
    background: #062F5A;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'DingTalk JinBuTi';
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;

    &.active {
      background: rgb(0, 153, 247);
    }
  }

  .content {
   
    display: flex;
    justify-content: space-around;
    // flex-direction: row;
    align-items: center;
    
    .chart {
      // padding-left: 13px;
      // padding-top: 30px;
    }

    .legend {
        // flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 20px;
        // margin-top: -50px;
height: 260px;
overflow: auto;

        &.roadLegend {
          margin-top: -30px;
          gap: 13px;
        }
      
      .legendItem {
        width: 280px;
        height: 38px;
        padding: 0px 14px;
        border-radius: 7px;
        background: rgba(41, 181, 255, 0.12);
        // margin-bottom: 10px;
        
        .name {
          color: rgb(188, 206, 233);
          font-family: 微软雅黑;
          font-size: 16px;
          margin-left: 8px;
        }
        
        .value {
          color: rgb(188, 206, 233);
          font-family: 微软雅黑;
          font-size: 18px;
          font-weight: 700;
          margin-left: auto;
        }
        
        .unit {
          color: rgb(188, 206, 233);
          font-size: 16px;
          margin-left: 4px;
        }
        
        .percent {
          color: rgb(188, 206, 233);
          font-size: 16px;
          margin-left: 38px;
        }
      }
    }
  }
} 