/* ═══════════════════════════════════════════════════════════════
   Shulman UTM Attribution — Admin Styles
   ═══════════════════════════════════════════════════════════════ */

/* ── Resizable leads table ────────────────────────────────────── */
/*
 * The outer container is #ute-leads-table (rendered by leads-page.php).
 * All selectors below must use this ID.
 */
#ute-leads-table .wp-list-table {
	table-layout: fixed;
	width: 100%;
}

/*
 * position:relative on each th is essential — it is the anchor for the
 * absolutely-positioned resize handle. overflow must NOT be hidden here:
 * the handle intentionally straddles the column border (right:-3px) so
 * that it is easy to grab; clipping it makes it invisible or unclickable.
 */
#ute-leads-table .wp-list-table th {
	position: relative;
	white-space: nowrap;
}

/* Resize handle injected by JS — straddles the right column border */
#ute-leads-table .wp-list-table th .shulmanattrib-col-resize-handle {
	position: absolute;
	right: -3px;       /* straddle the border: 3px inside + 3px outside */
	top: 0;
	bottom: 0;
	width: 6px;
	cursor: col-resize;
	user-select: none;
	z-index: 10;
	border-radius: 2px;
}

#ute-leads-table .wp-list-table th .shulmanattrib-col-resize-handle:hover,
#ute-leads-table .wp-list-table th .shulmanattrib-col-resize-handle.is-resizing {
	background: rgba(0, 115, 170, 0.35);
}

/* Horizontal scrolling on narrow viewports */
#ute-leads-table {
	overflow-x: auto;
}
