/**
 * Comparison Table & Matrix Styles
 * Pest Tech Research - Neutral B2B Platform Comparisons
 *
 * @package PTR_Research
 */

.ptr-comparison-container {
	margin: 2rem 0;
	font-family: inherit;
}

.ptr-compare-table-wrap {
	overflow-x: auto;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	margin-bottom: 2rem;
}

.ptr-compare-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
	font-size: 0.95rem;
}

.ptr-compare-table th,
.ptr-compare-table td {
	padding: 1rem 1.25rem;
	border-bottom: 1px solid #e2e8f0;
	vertical-align: middle;
	font-variant-numeric: tabular-nums;
}

.ptr-compare-table thead th {
	background: var(--ptr-color-primary, #0f2942);
	color: #ffffff;
	font-weight: 700;
	font-size: 1.05rem;
}

.ptr-compare-col-feature {
	width: 28%;
	background: #f8fafc;
	font-weight: 600;
	color: #334155;
}

.ptr-compare-col-prod {
	width: 36%;
}

.ptr-compare-table tbody tr:last-child th,
.ptr-compare-table tbody tr:last-child td {
	border-bottom: none;
}

.ptr-compare-table tbody tr:hover td {
	background: #f8fafc;
}

.ptr-compare-sublabel {
	display: block;
	font-size: 0.775rem;
	font-weight: 400;
	color: #64748b;
	margin-top: 0.2rem;
}

/* Neutral Section Callouts */
.ptr-compare-neutral-notice {
	background: #f1f5f9;
	border-left: 4px solid #64748b;
	padding: 0.85rem 1.25rem;
	font-size: 0.875rem;
	color: #475569;
	margin-bottom: 2rem;
	border-radius: 0 4px 4px 0;
}

@media (max-width: 768px) {
	.ptr-compare-table th,
	.ptr-compare-table td {
		padding: 0.75rem;
		font-size: 0.875rem;
	}
}
