.sidebar-resize-layout {
  position: relative;
}

.rftk-sidebar-resizer {
  position: absolute;
  z-index: 20;
  display: block;
  width: 10px;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: translateX(-50%);
  cursor: col-resize;
  touch-action: none;
}

.rftk-sidebar-resizer[hidden] {
  display: none;
}

.rftk-sidebar-resizer[aria-orientation="horizontal"] {
  transform: translateY(-50%);
  cursor: row-resize;
}

.rftk-sidebar-resizer::after {
  content: "";
  position: absolute;
  inset: 0 4px;
  border-radius: 2px;
  background: transparent;
}

.rftk-sidebar-resizer[aria-orientation="horizontal"]::after {
  inset: 4px 0;
}

.rftk-sidebar-resizer:hover::after,
.rftk-sidebar-resizer:focus-visible::after,
.rftk-sidebar-resizer.is-dragging::after {
  background: var(--primary);
}

.rftk-sidebar-resizer:focus-visible {
  outline: 1px solid var(--primary);
  outline-offset: -1px;
}

.rftk-sidebar-dragging,
.rftk-sidebar-dragging * {
  cursor: col-resize !important;
  user-select: none !important;
}

.rftk-sidebar-dragging-vertical,
.rftk-sidebar-dragging-vertical * {
  cursor: row-resize !important;
}
