/**
 * Frontend Styles for TNC Price Table
 */
.tnc-price-table-header {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.tnc-price-toggle {
	display: flex;
	background-color: transparent;
	padding: 4px;
	border-radius: 100px;
	border: 1px solid #0055D4;
}

.tnc-toggle-btn {
	background: transparent;
	border: none;
	padding: 10px 24px;
	cursor: pointer;
	color: #0055D4;
	/* Paragraph/18/Medium */
	font-family: "DM Sans";
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: 160%;
	/* 28.8px */
	letter-spacing: -0.36px;
	transition: all 0.3s ease;
}

.tnc-toggle-btn:hover {
	color: #333;
}

.tnc-toggle-btn.active {
	border-radius: 100px;
	background: #0055D4;
	color: #FFF;
}

.tnc-save-text {
	color: #4A5F66;
	/* Paragraph/16/Semibold */
	font-family: "DM Sans";
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 150%;
	/* 24px */
}

.tnc-price-table-plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	gap: 40px;
	margin-top: 52px;
	align-items: anchor-center;
	;
}

.tnc-price-plan-card {
	position: relative;
	border-radius: 16px;
	background: #FFF;
	box-shadow: 0 4px 30px 0 rgba(41, 62, 255, 0.05);
}

.tnc-plan-badge {
	position: absolute;
	top: 32px;
	right: 34px;
	background-color: transparent;
	color: #333;
	padding: 3px 12px;
	border-radius: 50px;
	color: #4A5F66;
	text-align: center;
	/* Paragraph/14/Semibold */
	font-family: "DM Sans";
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	border: 1px solid #D2DAE6
}

.tnc-plan-title {
	color: #0055D4;
	font-family: Inter;
	font-size: 20px;
	font-style: normal;
	font-weight: 600;
	line-height: 150%;
	/* 30px */
	letter-spacing: -0.6px;
	margin: 0 0 40px 0;
	border-bottom: 1px dashed rgba(0, 65, 168, 1);
	padding-bottom: 16px !important;
}

.tnc-plan-pricing {
	margin-bottom: 30px;
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.tnc-current-price {
	font-size: 48px;
	font-weight: 700;
	color: #1f2937;
	line-height: 1;
}

.tnc-original-price {
	color: #0F2D35;
	font-family: Inter;
	font-size: 26px;
	font-style: normal;
	font-weight: 500;
	line-height: 140%;
	/* 36.4px */
	letter-spacing: -1.04px;
	text-decoration-line: line-through;
	opacity: 0.5;
}

.tnc-plan-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	color: #ffffff;
	padding: 8px 26px;
	border-radius: 8px;
	text-decoration: none;
	color: #FFF;
	font-family: "DM Sans";
	font-size: 18px;
	font-weight: 600;
	line-height: 160%;
	transition: background-color 0.3s ease;
	margin-bottom: 40px;
	border-radius: 6px;
	background: #0055D4;
}

.tnc-plan-button:hover {
	background-color: #2563eb;
	color: #ffffff;
}

.tnc-plan-button svg {
	width: 16px;
	height: 16px;
}

.tnc-plan-features {
	list-style: none;
	padding: 0;
	margin: 0 0 25px 0;
}

.tnc-plan-features li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	color: #4A5F66;
	/* Paragraph/16/Medium */
	font-family: "DM Sans";
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 150%;
	/* 24px */
}

.tnc-plan-features li svg {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}

.tnc-plan-all-access {
	border-top: 1px dashed rgba(0, 65, 168, 1);
	padding: 35px;
	background-color: #F3F4F7;
	border-radius: 0 0 16px 16px !important;
	margin: 2px;
}

.tnc-plan-all-access p {
	margin: 0 0 10px 0;
	color: #0F2D35;
	/* Paragraph/16/Medium */
	font-family: "DM Sans";
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 150%;
	/* 24px */
}

.tnc-all-access-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.tnc-all-access-price {
	color: #0F2D35;
	font-family: Inter;
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
	line-height: 130%;
}

.tnc-all-access-link {
	color: #3b82f6;
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	transition: color 0.3s ease;
}

.tnc-all-access-link:hover {
	color: #2563eb;
	text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
	.tnc-price-table-plans {
		grid-template-columns: 1fr;
	}

	.tnc-price-table-header {
		flex-direction: column;
	}

	.tnc-current-price {
		font-size: 36px;
	}
}

.tnc-plan-content {
	padding-left: 35px;
	padding-right: 35px;
	padding-top: 35px;
}


.tnc-current-price {
	color: #0F2D35;
	font-family: Inter;
	font-size: 48px;
	font-style: normal;
	font-weight: 700;
	line-height: 130%;
}

ul.tnc-plan-features {
	padding: 0px !important;
	margin-bottom: 40px !important;
}

.tnc-plan-features li svg path {
	stroke: #4A5F66;
}


.tnc-all-access-link {
	color: #0055D4;
	/* H6 */
	font-family: Inter;
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 160%;
	/* 28.8px */
	text-decoration: none !important;
}

.tnc-all-access-footer {
	border-radius: 6px;
	background: #FFF;
	padding: 12px 20px;
}

/* Tooltip Styles */
.all-access-addons-tooltip {
	color: #0055D4;
	text-decoration: underline;
	cursor: pointer;
	transition: opacity 0.2s ease;
	position: relative;
	display: inline-block;
}

.all-access-addons-tooltip:hover {
	text-decoration: underline;
	cursor: pointer;
}

.tnc-plan-all-access {
	position: relative;
}

.tnc-all-access-text {
	position: relative;
}

.tnc-tooltip-content {
	display: none;
	position: absolute;
	left: 0;
	top: -100%;
	z-index: 1000;
	width: 300px;
	max-width: 300px;
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	border: 1px solid #e9ecef;
	animation: tooltipFadeIn 0.2s ease-out;
}

.tnc-tooltip-content.show {
	display: block;
}



.tnc-tooltip-content::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 8px solid transparent;
	border-top-color: #fff;
}

@keyframes tooltipFadeIn {
	from {
		opacity: 0;
		transform: translateY(-5px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.tnc-tooltip-close {
	display: none;
}

.tnc-tooltip-close:hover {
	color: #333;
}

.tnc-tooltip-close svg {
	width: 16px;
	height: 16px;
	display: block;
}

.tnc-tooltip-body {
	color: #0F2D35;
	font-family: "DM Sans";
	font-size: 14px;
	line-height: 150%;
}

.tnc-tooltip-body ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.tnc-tooltip-body ul li {
	padding: 8px 0;
	border-bottom: 1px solid #f1f3f5;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
}

.tnc-tooltip-body ul li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.tnc-tooltip-body ul li::before {
	content: "";
	background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.6667 5L7.50004 14.1667L3.33337 10' stroke='%234A5F66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	margin-top: 2px;
}

/* Responsive */
@media (max-width: 768px) {
	.tnc-tooltip-modal {
		position: fixed;
		bottom: auto;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		max-width: 90%;
		width: 90%;
		margin: 0;
	}
}

/* Featured Plan */

.tnc-featured-label {
	background: #fff;
	color: #0055D4;
	padding: 5px 15px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-align: center;
}

/* Responsive adjustment for featured plan */
@media screen and (max-width: 768px) {
	.tnc-price-plan-card.tnc-featured-plan {
		transform: none;
		margin-top: 15px;
	}
}

.tnc-tooltip-content::after {
	display: none;
}

.tnc-featured-plan .tnc-plan-content {
	padding-left: 35px;
	padding-right: 35px;
	padding-top: 35px;
	background-color: #0055D4;
}

.tnc-featured-plan .tnc-plan-all-access {
	background-color: #0B4CAF;
}

.tnc-featured-plan ul.tnc-plan-features {
	margin-bottom: 0px !important;
	padding-bottom: 30px !important;
}

.tnc-featured-plan .tnc-plan-features li:last-child {
	margin-bottom: 0px !important;
	padding-bottom: 0px !important;
}

.tnc-featured-plan .tnc-plan-all-access {
	margin: 0px !important;
}

.tnc-featured-plan .tnc-plan-title {
	color: #FFF !important;
}

.tnc-featured-plan .tnc-current-price {
	color: #fff !important;
}

.tnc-featured-plan .tnc-original-price {
	color: #fff !important;
}

.tnc-featured-plan .tnc-plan-button {
	background-color: #fff !important;
	color: #0055D4 !important;
}

.tnc-featured-plan .tnc-plan-features li {
	color: #fff !important;
}

.tnc-featured-plan .tnc-plan-features li svg path {
	stroke: #fff !important;
}

.tnc-featured-plan p.tnc-all-access-text {
	color: #fff !important;
}

.tnc-featured-plan a.all-access-addons-tooltip {
	color: #fff !important;
}

.tnc-featured-plan .tnc-plan-badge {
	top: 72px !important;
}

.tnc-featured-plan .tnc-plan-badge {
	color: #fff !important;
}

.tnc-featured-plan .tnc-plan-title {
	border-color: rgba(255, 255, 255, 0.6) !important;
}

.tnc-featured-plan .tnc-all-access-footer {
	color: #fff !important;
	background-color: #307CEF !important;
}

.tnc-featured-plan .tnc-all-access-link {
	color: #fff !important;
}

.tnc-featured-plan span.tnc-all-access-price {
	color: #fff !important;
}

.tnc-featured-label {
	color: #0055D4;
	font-family: "DM Sans";
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 150%;
	/* 24px */
	text-transform: uppercase;
	padding: 12px;
}