.hourgate-table-wrapper {
	position: relative;
	width: 100%;
	overflow-x: auto;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
}

.hourgate-table-loading-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.65);
	backdrop-filter: blur(1px);
	z-index: 3;
	pointer-events: none;
}

.hourgate-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 900px;
}

.hourgate-table thead {
	background-color: #f6f7f7;
}

.hourgate-table th {
	padding: 14px 16px;
	font-size: 13px;
	font-weight: 600;
	color: #1d2327;
	border-bottom: 1px solid #dcdcde;
	white-space: nowrap;
}

.hourgate-table td {
	padding: 14px 16px;
	font-size: 13px;
	color: #3c434a;
	border-bottom: 1px solid #f0f0f1;
	vertical-align: middle;
}

.hourgate-table tbody tr:last-child td {
	border-bottom: none;
}

.hourgate-table tbody tr:hover {
	background-color: #f9fafb;
}

.hourgate-table tbody tr {
	transition: background-color 0.16s ease;
}

.hourgate-table-row-active {
	background-color: #eef5ff;
}

.hourgate-table-clickable-row {
	cursor: pointer;
}

.hourgate-table-loader {
	padding: 40px 0;
}

.hourgate-table-empty {
	padding: 50px 20px;
	text-align: center;
	color: #646970;
	font-size: 13px;
}

.hourgate-table-sort-icon {
	font-size: 10px;
	opacity: 0.5;
}

.hourgate-table-header-cell {
	vertical-align: middle;
}

.hourgate-table-sort-button {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 12px;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	font: inherit;
	color: inherit;
	cursor: pointer;
	line-height: 1.2;
}

.hourgate-table-sort-align-left {
	justify-content: flex-start;
}

.hourgate-table-sort-align-center {
	justify-content: center;
}

.hourgate-table-sort-align-right {
	justify-content: flex-end;
}

.hourgate-table-header-sortable .hourgate-table-sort-button:hover {
	color: var(--hourgate-primary-hover-color, var(--hourgate-primary-color));
}

.hourgate-table-header-sortable .hourgate-table-sort-button:focus {
	outline: none;
}

.hourgate-table-header-sortable .hourgate-table-sort-button:focus-visible {
	outline: 2px solid var(--hourgate-primary-color);
	outline-offset: 2px;
	border-radius: 4px;
}

.hourgate-table-header-sortable .hourgate-table-sort-icon {
	transition: opacity 0.2s ease;
}

.hourgate-table-header-sortable:hover .hourgate-table-sort-icon {
	opacity: 0.85;
}

.hourgate-table-header-sorted {
	background: var(--hourgate-primary-soft-color, #eff6ff);
	color: var(--hourgate-primary-hover-color, #1d4ed8);
}

.hourgate-table-header-sorted .hourgate-table-sort-icon {
	opacity: 1;
	font-size: 11px;
}

.hourgate-table-header-title {
	display: inline-flex;
	align-items: center;
	line-height: 1.2;
}

.hourgate-table-checkbox-column {
	width: 50px;
}

.hourgate-table-sticky-header thead th {
	position: sticky;
	top: 0;
	z-index: 1;
	background: rgba(246, 247, 247, 0.94);
	backdrop-filter: blur(2px);
	box-shadow: inset 0 -1px 0 #d9dde2;
}

.hourgate-table-rows-animate tbody tr {
	animation: hourgate-table-row-fade-in 0.24s ease;
}

@keyframes hourgate-table-row-fade-in {
	from {
		opacity: 0.55;
	}

	to {
		opacity: 1;
	}
}
