:host {
  display: block;
  margin-top: 20px;
}

.legend-item {
  background: rgba(145, 185, 255, 0.06);
  height: 32px;
  width: 98px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  &.active {
    cursor: default;
    border: 1px solid #5593ff;
    background: radial-gradient(100% 100% at 24% 0%, rgba(25, 108, 251, 0.2) 20%, rgba(25, 108, 251, 0) 100%);
    box-shadow: inset 0px 0px 16px 0px rgba(25, 108, 251, 0.5);
  }
}
.square {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--start-color) 0%, var(--end-color) 100%);
}
.legend-font {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 20px;
  margin-left: 12px;
}
.legend-value {
  font-weight: 600;
  font-size: 18px;
  color: #ffffff;
  line-height: 25px;
  margin-left: 10px;
}

.right-triangle {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid var(--triangle-color);

  &.active {
    --triangle-color: #5593ff;
  }
}
.separate-border {
  border-right: 1px solid;
  border-image: linear-gradient(
      270deg,
      rgba(145, 185, 255, 0.06),
      rgba(145, 185, 255, 0.18),
      rgba(145, 185, 255, 0.18),
      rgba(145, 185, 255, 0.06)
    )
    1 1;
}
