/* Tombol urut kolom tabel — SIRIDAKAMI */
.sirida-sortable-table thead th {
	vertical-align: middle;
}

.sirida-th-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.35rem;
	width: 100%;
	min-width: 0;
}

.sirida-th-label {
	flex: 1 1 auto;
	min-width: 0;
}

.sirida-th-sort-btns {
	display: inline-flex;
	flex-direction: column;
	flex-shrink: 0;
	gap: 1px;
	line-height: 1;
}

.sirida-sort-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.15rem;
	height: 0.95rem;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.12);
	color: inherit;
	font-size: 0.55rem;
	line-height: 1;
	cursor: pointer;
	opacity: 0.75;
	transition: opacity 0.15s, background 0.15s, border-color 0.15s;
}

.sirida-sort-btn:hover {
	opacity: 1;
	background: rgba(255, 255, 255, 0.22);
}

.sirida-sort-btn.is-active {
	opacity: 1;
	background: rgba(255, 255, 255, 0.35);
	border-color: rgba(255, 255, 255, 0.45);
}

/* Header terang (bootstrap / putih) */
thead.bg-white .sirida-sort-btn,
.table thead:not(.bg-slate-900):not([class*="bg-slate-9"]) .sirida-sort-btn,
.bg-white thead .sirida-sort-btn {
	background: #f1f5f9;
	color: #334155;
	border-color: #cbd5e1;
}

thead.bg-white .sirida-sort-btn:hover,
.table thead:not(.bg-slate-900) .sirida-sort-btn:hover,
.bg-white thead .sirida-sort-btn:hover {
	background: #e2e8f0;
}

thead.bg-white .sirida-sort-btn.is-active,
.table thead:not(.bg-slate-900) .sirida-sort-btn.is-active {
	background: #dbeafe;
	color: #1d4ed8;
	border-color: #93c5fd;
}

/* DataTables: jaga ruang di header */
table.dataTable thead th .sirida-th-inner {
	padding-right: 0;
}
