:host {
  display: block;
  width: 34px;
  height: 34px;

  .interactive-node-body {
    display: flex;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    background-color: var(--vp-node-color);
    border: 2px solid;

    .icon {
      margin: auto;
      line-height: 15px;
      text-transform: uppercase;
      font-size: 14px;
      font-weight: 600;
      color: inherit;
    }
  }

  .selected-background {
    position: absolute;
    width: 50px;
    height: 50px;
    left: -8px;
    top: -8px;
    display: none;
    background-color: var(--vp-selected-node-background-color);
    border-radius: 4px;
  }

  .f-node-output, .f-node-input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 17px;
  }

  .f-node-outlet {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: var(--vp-outlet-color);
    border-radius: 50%;
    border: 2px solid var(--vp-outlet-border-color);
    display: none;
  }

  &:hover {
    .selected-background {
      background-color: var(--vp-hover-node-background-color);
      display: block;
    }
  }

  &.f-selected {
    .selected-background {
      display: block;
    }

    .interactive-node-body {
      border-color: var(--vp-selected-node-border-color) !important;
    }

    .f-node-outlet {
      display: block;
    }
  }
}

