/* OneBot ERP - Table Column Resizer (Visible but Thin) */

.ob-col-resizer{
  position: absolute;
  top: 0;
  right: -2px;
  width: 6px;                 /* 命中区 */
  height: 100%;
  cursor: col-resize;
  user-select: none;
  touch-action: none;
  z-index: 50;

  /* ✅ 默认：可见但很细（1px） */
  background: linear-gradient(
    to right,
    transparent 0%,
    transparent 42%,
    rgba(0,0,0,.22) 50%,
    transparent 58%,
    transparent 100%
  );
}

/* hover：明显一点 */
table thead th:hover .ob-col-resizer{
  background: linear-gradient(
    to right,
    transparent 0%,
    transparent 38%,
    rgba(13,110,253,.45) 50%,
    transparent 62%,
    transparent 100%
  );
}

/* 拖拽中：最清晰 */
body.ob-resizing .ob-col-resizer{
  background: linear-gradient(
    to right,
    transparent 0%,
    transparent 38%,
    rgba(13,110,253,.65) 50%,
    transparent 62%,
    transparent 100%
  );
}

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

