.table-scroll thead th[data-mo-resizable="true"] {
  position: relative !important;
}

.table-scroll thead th[data-mo-sortable="true"] {
  padding-right: 42px !important;
}

.table-scroll thead th[data-mo-sortable="true"]::after {
  right: 17px !important;
}

.mo-column-resize-handle {
  position: absolute;
  top: 0;
  right: -3px;
  z-index: 20;

  width: 9px;
  height: 100%;

  cursor: col-resize;
  touch-action: none;
  user-select: none;
}

.mo-column-resize-handle::after {
  content: "";
  position: absolute;
  top: 20%;
  bottom: 20%;
  left: 4px;

  width: 2px;
  border-radius: 999px;

  background: transparent;

  transition:
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.table-scroll thead th:hover
.mo-column-resize-handle::after {
  background: rgba(129, 140, 248, 0.52);
}

.mo-column-resize-handle:hover::after,
.mo-column-resize-handle.is-dragging::after {
  background: rgba(165, 180, 252, 0.95) !important;
  box-shadow: 0 0 8px rgba(129, 140, 248, 0.55);
}

body.mo-column-resizing,
body.mo-column-resizing * {
  cursor: col-resize !important;
  user-select: none !important;
}

body.mo-column-resizing .table-scroll {
  scroll-behavior: auto !important;
}

.table-scroll th[data-mo-manual-width="true"],
.table-scroll td[data-mo-manual-width="true"] {
  width: var(--mo-auto-column-width) !important;
  min-width: var(--mo-auto-column-width) !important;
  max-width: var(--mo-auto-column-width) !important;
  box-sizing: border-box !important;
}
