.onto-edge-relation-points {
  .point-th {
    font-size: 12px;
    & > div:first-child {
      width: 50%;
      padding-left: 24px;
    }
    & > div:last-child {
      width: 50%;
      padding-left: 32px;
    }
  }

  .point-th-readonly {
    font-size: 12px;
    & > div:first-child {
      width: 50%;
    }
    & > div:last-child {
      width: 50%;
      padding-left: 20px;
    }
  }

  .point-row {
    align-items: flex-start;

    &:last-of-type {
      margin-bottom: 0 !important;
    }

    .del-icon {
      flex-shrink: 0;
      height: 32px;
      line-height: 32px;
      font-size: 16px;
      color: rgba(0, 0, 0, 0.25);

      &.disabled {
        color: rgba(0, 0, 0, 0.1);
        cursor: not-allowed;
        display: none;
      }
    }

    .swap-icon {
      flex-shrink: 0;
      height: 32px;
      line-height: 32px;
      margin: 0 4px;
      padding: 0 8px;
      font-size: 16px;
      border-radius: 3px;
      &:hover {
        background-color: #f5f5f5;
      }
      &.disabled {
        cursor: not-allowed;
      }
    }

    .point-selector {
      width: calc((100% - 24px - 40px) / 2);
    }

    .point-selector-readonly {
      width: calc((100% - 40px) / 2);
    }

    .err-msg {
      line-height: 18px;
      color: var(--kw-error-color);
    }

    .error-border .ant-select-selector {
      border-color: var(--kw-error-color) !important;
    }
  }
}
