.container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.title {
  font-size: 18px;
  color: #ffffff;
  // margin-bottom: 15px;
}

.content {
  flex: 1;
}

.chart {
  display: flex;
  align-items: center;
  // justify-content: flex-start;
  // margin-left: -30px;
  margin-left: -18px;
}
.chart-thin{
  margin-left: -24px;
  margin-right: -10px;
}
.chart-thin-short-legend{
  margin-left: -14px;
  margin-right: -10px;
}

.legend {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  // padding-left: 20px;
  // margin-left: -8px;
  // align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  // margin-top: 12px;
  
  /* Hide scrollbar for Chrome, Safari and Opera */
  &::-webkit-scrollbar {
    display: none;
  }
}

.legendItem {
  width: 329px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(41, 181, 255, 0.12);
  border-radius: 7px;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 0 12px;
  
  &:last-child {
    margin-bottom: 0;
  }
}
.shortLegendItem{
  width: 286px;
  margin-left: 20px;
}

.legendItemContent {
  display: flex;
  align-items: center;
  width: 100%;
  
  .ant-badge-status-dot {
    width: 8px;
    height: 8px;
    // margin-right: 8px;
  }
}

.name {
  color: rgb(188, 206, 233);
  font-family: 微软雅黑;
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
  margin-left: 8px;
  margin-right: auto;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 100px;
  max-width: 103px;
}
.shortName{
  min-width: 80px;
  max-width: 103px;
}

.valueSection {
  display: flex;
  // flex: 1;
  min-width: 103px;
  // margin-right: 10px;
  justify-content: flex-end;
  align-items: center;
}

.value {
  color: rgb(188, 206, 233);
  font-family: DIN;
  font-size: 20px;
  font-weight: 700;
  margin-left:8px;
}
.shortValue{
  margin-left: 2px;
}

.unit {
  color: rgb(188, 206, 233);
  font-family: 微软雅黑;
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
  margin-left: 4px;
  margin-right: 8px;
} 

