/*
 * Zadarmo vs. Premium comparison table (PublicCounsel/@pricingComparison.latte).
 * Loaded by the question form (Bootstrap 5) and the conversation (Bootstrap 3),
 * so everything here is self-contained. Three narrow columns keep the two options
 * side by side even on a 320px phone - the feature name wraps, the marks do not.
 */

.pricing-compare {
	margin: 16px 0;
	border: 1px solid #e3e8f0;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	font-size: 15px;
	line-height: 1.35;
}

.pricing-compare-table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	table-layout: fixed;
}

.pricing-compare-table th,
.pricing-compare-table td {
	padding: 10px 12px;
	border: 0;
	border-top: 1px solid #edf1f6;
	vertical-align: middle;
	text-align: center;
}

.pricing-compare-table thead th {
	border-top: 0;
	padding-top: 14px;
	padding-bottom: 12px;
	font-size: 16px;
	font-weight: 700;
}

.pricing-compare-table .pricing-compare-feature {
	width: 46%;
	text-align: left;
	font-weight: 500;
	color: #212529;
}

.pricing-compare-table thead .pricing-compare-free {
	color: #18448c;
	background: #eaf1fb;
}

.pricing-compare-table thead .pricing-compare-premium {
	color: #fff;
	background: #18ae41;
}

/* the Premium column is lightly tinted all the way down */
.pricing-compare-table tbody .pricing-compare-premium {
	background: #f1faf4;
}

.pricing-compare-badge {
	display: block;
	margin: 0 auto 3px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	opacity: .85;
}

.pricing-compare-yes,
.pricing-compare-no {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.pricing-compare-yes {
	color: #fff;
	background: #18ae41;
}

.pricing-compare-no {
	color: #c0392b;
	background: #fdecea;
}

.pricing-compare-text {
	font-size: 13px;
	color: #4a5568;
}

.pricing-compare-text.is-strong {
	font-weight: 700;
	color: #112b5d;
}

.pricing-compare-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

@media (max-width: 575px) {
	.pricing-compare {
		font-size: 14px;
	}

	.pricing-compare-table th,
	.pricing-compare-table td {
		padding: 9px 6px;
	}

	.pricing-compare-table .pricing-compare-feature {
		width: 42%;
		padding-left: 10px;
	}

	.pricing-compare-table thead th {
		font-size: 14px;
	}

	.pricing-compare-yes,
	.pricing-compare-no {
		width: 22px;
		height: 22px;
		font-size: 12px;
	}

	.pricing-compare-text {
		font-size: 12px;
	}
}
