@lineColor: #eb5648;
@distanceLineColor: var(--easyv-primary-color);
.support_line {
  position: absolute;
  border-color: @lineColor;
  border-width: 0;
  z-index: 2;
  &--horizontal {
    display: flex;
    justify-content: center;
    height: 0px;
    border-top-width: 1px;
    border-top-style: solid;
  }
  &--vertical {
    display: flex;
    align-items: center;
    width: 0px;
    border-left-width: 1px;
    border-left-style: solid;
    padding-left: 3px;
  }
  &--white {
    border-color: #737373;
    border-top-style: dotted;
    border-left-style: dotted;
    z-index: 1;
  }
}

.distance_line {
  &--horizontal {
    border-top-width: 1px;
    border-color: @distanceLineColor;
    z-index: 3;
    &::before {
      content: '';
      position: absolute;
      left: 0;
      top: -6px;
      width: 1px;
      height: 10px;
      background-color: @distanceLineColor;
    }
    &::after {
      content: '';
      position: absolute;
      right: 0;
      top: -6px;
      width: 1px;
      height: 10px;
      background-color: @distanceLineColor;
    }
  }
  &--vertical {
    border-left-width: 1px;
    border-color: @distanceLineColor;
    z-index: 3;
    &::before {
      content: '';
      position: absolute;
      top: 0;
      width: 10px;
      height: 1px;
      left: -6px;
      background-color: @distanceLineColor;
    }
    &::after {
      content: '';
      position: absolute;
      bottom: 0;
      width: 10px;
      height: 1px;
      left: -6px;
      background-color: @distanceLineColor;
    }
  }
}

.origin_coordinate {
  position: absolute;
  width: 200px;
  text-align: right;
  padding: 0 8px 5px;
  transform: translate(-100%, -100%);
  color: #737373;
}
