/* Columnas redimensionables - Sistema unificado para todas las tablas */
/* Se aplica a tablas dentro de .responsive-table-view y .standard-table-container */

.table-resizable {
  table-layout: fixed;
  width: 100%;
}

.table-resizable th {
  position: relative;
  overflow: hidden;
}

/* Handle para redimensionar - barra vertical a la derecha del th */
.th-resize-handle {
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: 100%;
  cursor: col-resize;
  user-select: none;
  z-index: 11;
}

.th-resize-handle:hover,
.th-resize-handle.resizing {
  background: rgba(0, 123, 255, 0.2);
}

/* Ocultar handle en la última columna */
.th-resize-handle.last {
  display: none;
}

/* Cursor durante el drag a nivel de body */
body.table-col-resizing {
  cursor: col-resize;
  user-select: none;
}

body.table-col-resizing * {
  cursor: col-resize !important;
}
