/* Pricing Table Pro - public styles */

.ptp-wrap-public {
	max-width: 1000px;
	margin: 40px auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #333;
	padding: 0 16px;
	box-sizing: border-box;
}

.ptp-wrap-public *,
.ptp-wrap-public *::before,
.ptp-wrap-public *::after {
	box-sizing: border-box;
}

.ptp-title {
	text-align: center;
	font-size: 28px;
	font-weight: 700;
	color: #1f1f1f;
	margin: 0 0 12px;
}

.ptp-subtitle {
	text-align: center;
	font-size: 15px;
	color: #555;
	margin: 0 auto 28px;
	max-width: 720px;
}

/* Toggle */
.ptp-toggle-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 0 0 28px;
}

.ptp-toggle-label {
	font-size: 14px;
	color: #6b7280;
	cursor: pointer;
	user-select: none;
	transition: color .2s ease;
}

.ptp-toggle-label.ptp-active {
	color: #1f1f1f;
	font-weight: 600;
}

.ptp-toggle {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 26px;
}

.ptp-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
}

.ptp-toggle-slider {
	position: absolute;
	cursor: pointer;
	inset: 0;
	background: #3aa8c6;
	border-radius: 999px;
	transition: background .25s ease;
}

.ptp-toggle-slider::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 3px;
	width: 20px;
	height: 20px;
	background: #fff;
	border-radius: 50%;
	transition: transform .25s ease;
	box-shadow: 0 1px 3px rgba(0,0,0,.2);
}

.ptp-toggle input:checked + .ptp-toggle-slider::before {
	transform: translateX(24px);
}

/* Table wrap (horizontal scroll on mobile) */
.ptp-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.ptp-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	min-width: 720px;
}

.ptp-table th,
.ptp-table td {
	padding: 14px 18px;
	text-align: center;
	vertical-align: middle;
	font-size: 14px;
	border: 0;
}

.ptp-spacer {
	background: transparent !important;
	border: none !important;
}

/* Header rows */
.ptp-row-plan-name th.ptp-plan-name {
	font-size: 13px;
	font-weight: 600;
	color: #555;
	padding-top: 22px;
	padding-bottom: 6px;
	background: #fff;
}

.ptp-row-plan-price th.ptp-plan-price {
	font-size: 22px;
	font-weight: 700;
	color: #1f1f1f;
	background: #fff;
	padding-top: 4px;
	padding-bottom: 4px;
}

.ptp-row-plan-price .ptp-orig {
	color: #9ca3af;
	font-weight: 400;
	font-size: 18px;
	margin-right: 4px;
}

.ptp-row-plan-price .ptp-curr {
	color: #1f1f1f;
}

.ptp-row-plan-price small {
	font-size: 13px;
	font-weight: 400;
	color: #6b7280;
}

.ptp-row-plan-period th.ptp-plan-period {
	font-size: 12px;
	font-weight: 400;
	color: #6b7280;
	background: #fff;
	padding-top: 0;
	padding-bottom: 22px;
}

/* Body rows */
.ptp-table tbody td.ptp-feature-label {
	text-align: left;
	font-weight: 500;
	color: #333;
	padding-left: 22px;
}

.ptp-table tbody tr:nth-child(odd) td {
	background: #f4f4f4;
}
.ptp-table tbody tr:nth-child(even) td {
	background: #fff;
}

.ptp-check {
	color: #3aa8c6;
	font-size: 16px;
	font-weight: 700;
}

.ptp-dash {
	color: #9ca3af;
	font-size: 18px;
}

.ptp-addon {
	color: #555;
	font-size: 13px;
}

/* Highlight column (optional) */
.ptp-table th.ptp-highlight {
	background: #f8fbfc !important;
}
.ptp-table tbody tr:nth-child(odd) td.ptp-highlight {
	background: #eef7fa;
}
.ptp-table tbody tr:nth-child(even) td.ptp-highlight {
	background: #f8fbfc;
}

/* Mobile */
@media (max-width: 640px) {
	.ptp-title { font-size: 22px; }
	.ptp-subtitle { font-size: 14px; }
	.ptp-row-plan-price th.ptp-plan-price { font-size: 18px; }
	.ptp-row-plan-price .ptp-orig { font-size: 14px; }
	.ptp-table th, .ptp-table td { padding: 10px 8px; font-size: 13px; }
	.ptp-table tbody td.ptp-feature-label { padding-left: 12px; }
}
