/**
 * Frontend Styles for Large HTML Table Shortcode.
 *
 * @package Large_HTML_Table_Shortcode
 */

.lhts-table-container {
	position: relative;
	box-sizing: border-box;
	margin: 1.5rem 0;
	width: 100%;
	clear: both;
}

/* Responsive container with smooth horizontal scrolling */
.lhts-table-container.lhts-responsive-scroll {
	overflow-x: auto;
	max-width: 100%;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: #cbd5e1 #f8fafc;
}

/* WebKit scrollbar styles */
.lhts-table-container.lhts-responsive-scroll::-webkit-scrollbar {
	height: 8px;
}

.lhts-table-container.lhts-responsive-scroll::-webkit-scrollbar-track {
	background: #f1f5f9;
	border-radius: 4px;
}

.lhts-table-container.lhts-responsive-scroll::-webkit-scrollbar-thumb {
	background-color: #cbd5e1;
	border-radius: 4px;
}

.lhts-table-container.lhts-responsive-scroll::-webkit-scrollbar-thumb:hover {
	background-color: #94a3b8;
}

/* Prevent internal table elements from breaking container */
.lhts-table-container table {
	border-collapse: collapse;
	box-sizing: border-box;
}
