/**
 * Upgrade-to-Pro admin page (Listings → Upgrade to Pro).
 *
 * Page-scoped — enqueued only on `trx_ad_listing_page_trx-auto-dealer-upgrade`
 * via UpgradePage::enqueueStyles().
 */

.trx-ad-upgrade { max-width: 1200px; margin: 24px auto; }
.trx-ad-upgrade__hero {
	background: linear-gradient(135deg, #1e1e2e 0%, #2a2a40 100%);
	color: #fff;
	padding: 40px 48px;
	border-radius: 12px;
	margin-bottom: 32px;
	text-align: center;
}
.trx-ad-upgrade__hero h1 { color: #fff; font-size: 2.2em; margin: 0 0 12px; }
.trx-ad-upgrade__hero p { font-size: 1.15em; opacity: 0.92; margin: 0; }
.trx-ad-upgrade__section { margin: 40px 0; }
.trx-ad-upgrade__section h2 { font-size: 1.6em; margin-bottom: 20px; }

/* Pricing tiers */
.trx-ad-pricing {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 24px 0;
}
.trx-ad-pricing__tier {
	background: #fff;
	border: 2px solid #e4e7eb;
	border-radius: 10px;
	padding: 28px 24px;
	text-align: center;
	position: relative;
	transition: border-color 0.2s, transform 0.2s;
}
.trx-ad-pricing__tier--featured {
	border-color: #2271b1;
	transform: scale(1.03);
	box-shadow: 0 6px 20px rgba(34, 113, 177, 0.15);
}
.trx-ad-pricing__tier--featured::before {
	content: 'Most Popular';
	position: absolute;
	top: -12px; left: 50%;
	transform: translateX(-50%);
	background: #2271b1;
	color: #fff;
	font-size: 0.78em;
	font-weight: 600;
	padding: 4px 14px;
	border-radius: 20px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.trx-ad-pricing__name {
	font-size: 1.35em;
	font-weight: 600;
	margin: 0 0 8px;
	color: #1a1a1a;
}
.trx-ad-pricing__sites { color: #5a6470; font-size: 0.92em; margin: 0 0 20px; }
.trx-ad-pricing__price-block { margin: 16px 0 24px; }
.trx-ad-pricing__price {
	font-size: 2.6em;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1;
}
.trx-ad-pricing__currency {
	font-size: 0.5em;
	vertical-align: top;
	margin-right: 2px;
	font-weight: 500;
}
.trx-ad-pricing__period { color: #5a6470; font-size: 0.92em; margin-top: 6px; }
.trx-ad-pricing__monthly { color: #7d8794; font-size: 0.85em; margin-top: 4px; }
.trx-ad-pricing__channels { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.trx-ad-pricing__channels .button { width: 100%; padding: 8px 16px; height: auto; }

/* Comparison table */
.trx-ad-compare {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.trx-ad-compare th, .trx-ad-compare td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid #ebeef1;
}
.trx-ad-compare thead th { background: #f7f9fb; font-weight: 600; }
.trx-ad-compare tbody td:not(:first-child) { text-align: center; }
.trx-ad-compare__yes { color: #00a32a; font-weight: 600; }
.trx-ad-compare__no  { color: #c4c7c9; }
.trx-ad-compare th:nth-child(3), .trx-ad-compare td:nth-child(3) {
	background: rgba(34, 113, 177, 0.04);
}

/* Feature cards */
.trx-ad-features {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin: 24px 0;
}
.trx-ad-features__card {
	background: #fff;
	border: 1px solid #e4e7eb;
	border-radius: 8px;
	padding: 24px;
	display: flex;
	gap: 16px;
}
.trx-ad-features__icon {
	flex-shrink: 0;
	width: 40px; height: 40px;
	border-radius: 8px;
	background: rgba(34, 113, 177, 0.08);
	color: #2271b1;
	display: flex;
	align-items: center;
	justify-content: center;
}
.trx-ad-features__icon .dashicons { font-size: 24px; width: 24px; height: 24px; }
.trx-ad-features__body h3 { margin: 0 0 6px; font-size: 1.08em; color: #1a1a1a; }
.trx-ad-features__body p { margin: 0; color: #5a6470; line-height: 1.5; }

/* FAQ */
.trx-ad-faq { background: #fff; border-radius: 8px; padding: 24px 28px; border: 1px solid #e4e7eb; }
.trx-ad-faq__item { margin-bottom: 20px; }
.trx-ad-faq__item:last-child { margin-bottom: 0; }
.trx-ad-faq__item h4 { margin: 0 0 6px; color: #1a1a1a; font-size: 1.02em; }
.trx-ad-faq__item p { margin: 0; color: #5a6470; line-height: 1.55; }

/* Responsive */
@media (max-width: 900px) {
	.trx-ad-pricing { grid-template-columns: 1fr; }
	.trx-ad-pricing__tier--featured { transform: none; }
	.trx-ad-features { grid-template-columns: 1fr; }
}
