/**
 * Frontend Styles for Modern Table Builder
 */

.modern-table-responsive-wrapper {
	width: 100%;
	overflow-x: auto;
	margin: 24px 0;
	position: relative;
	-webkit-overflow-scrolling: touch;
	background: transparent;
	transition: box-shadow 0.3s ease;
}

/* Table element resets */
.modern-table-element {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.modern-table-element *, 
.modern-table-element *:before, 
.modern-table-element *:after {
	box-sizing: inherit;
}

/* Modern Shadows */
.mt-shadow-none {
	box-shadow: none !important;
}

.mt-shadow-soft {
	box-shadow: 
		0 10px 15px -3px rgba(0, 0, 0, 0.06), 
		0 4px 6px -4px rgba(0, 0, 0, 0.04),
		0 0 0 1px rgba(0, 0, 0, 0.04) !important;
}

.mt-shadow-outline {
	box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.08) !important;
}

/* Mobile swipe helper tip */
.modern-table-mobile-scroll-tip {
	display: none;
	background: rgba(99, 102, 241, 0.08);
	color: #6366f1;
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	text-align: center;
	padding: 8px 12px;
	border-bottom: 1px solid rgba(99, 102, 241, 0.15);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

@media (max-width: 768px) {
	.modern-table-mobile-scroll-tip {
		display: block;
	}
}

/* Highlight custom inputs styled inside elementor */
.modern-table-element th,
.modern-table-element td {
	line-height: 1.5;
	vertical-align: middle;
	word-wrap: break-word;
}
