.mygs-api-pricing {
	color: #1f2933;
	font-family: Inter, "Helvetica Neue", Arial, sans-serif;
	width: 100%;
}

.mygs-api-pricing__table-wrap {
	overflow-x: visible;
	width: 100%;
}

.mygs-api-pricing__table {
	background: #ffffff;
	border-collapse: separate;
	border-spacing: 0;
	box-shadow: 0 14px 36px rgba(31, 41, 51, 0.12);
	min-width: 980px;
	table-layout: fixed;
	width: 100%;
	border-radius: 8px;
	overflow: visible;
	border: 1px solid #e2e8ec;
}

.mygs-api-pricing__table th,
.mygs-api-pricing__table td {
	border-bottom: 1px solid #e2e8ec;
	border-right: 1px solid #e2e8ec;
	padding: 14px 16px;
	text-align: center;
	vertical-align: middle;
	font-size: 14px;
}

.mygs-api-pricing__sticky-header-row th,
.mygs-api-pricing__sticky-body-row th,
.mygs-api-pricing__sticky-body-row td {
	position: sticky;
	transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.mygs-api-pricing__sticky-header-row th {
	top: var(--mygs-api-pricing-sticky-header-top, 0);
	z-index: 80;
}

.mygs-api-pricing__sticky-body-row th,
.mygs-api-pricing__sticky-body-row td {
	box-shadow: 0 1px 0 rgba(203, 213, 225, 0.85);
}

.mygs-api-pricing__sticky-body-row--1 th,
.mygs-api-pricing__sticky-body-row--1 td {
	top: var(--mygs-api-pricing-sticky-row-1-top, 0);
	z-index: 76;
}

.mygs-api-pricing__sticky-body-row--2 th,
.mygs-api-pricing__sticky-body-row--2 td {
	top: var(--mygs-api-pricing-sticky-row-2-top, 0);
	z-index: 75;
}

.mygs-api-pricing__sticky-body-row--3 th,
.mygs-api-pricing__sticky-body-row--3 td {
	top: var(--mygs-api-pricing-sticky-row-3-top, 0);
	z-index: 74;
}

.mygs-api-pricing__sticky-body-row--4 th,
.mygs-api-pricing__sticky-body-row--4 td {
	top: var(--mygs-api-pricing-sticky-row-4-top, 0);
	z-index: 73;
}

.mygs-api-pricing__table th:last-child,
.mygs-api-pricing__table td:last-child {
	border-right: 0;
}

.mygs-api-pricing__table tbody tr:last-child th,
.mygs-api-pricing__table tbody tr:last-child td {
	border-bottom: 0;
}

/* Thead and Header Cells Styling */
.mygs-api-pricing__billing-header {
	background: #ffffff;
	border-bottom: 2px solid #cbd5e1;
	text-align: left !important;
	vertical-align: top;
	width: 250px;
	padding: 24px 20px !important;
}

.mygs-api-pricing__billing-title {
	color: #64748b;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	display: block;
	margin-bottom: 12px;
}

/* Toggle Pill Switch */
.mygs-api-pricing__toggle {
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	padding: 3px;
	width: 100%;
	max-width: 200px;
}

.mygs-api-pricing__toggle button {
	background: transparent;
	border: 0;
	border-radius: 6px;
	color: #64748b;
	cursor: pointer;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	padding: 8px 12px;
	transition: all 0.2s ease;
}

.mygs-api-pricing__toggle button.is-active {
	background: #2e7d32;
	color: #ffffff;
	box-shadow: 0 2px 4px rgba(46, 125, 50, 0.2);
}

/* Plan Cards Headers */
.mygs-api-pricing__header-cell {
	border-bottom: 2px solid #cbd5e1;
	vertical-align: top !important;
	padding: 24px 16px !important;
	color: #1f2933;
}

.mygs-api-pricing__header-cell.is-analyse {
	background-color: #ffd97d;
}

.mygs-api-pricing__header-cell.is-monitor {
	background-color: #a7c5eb;
}

.mygs-api-pricing__header-cell.is-recommend {
	background-color: #b9e1c4;
}

.mygs-api-pricing__header-cell.is-custom {
	background-color: #edab3b;
}

.mygs-api-pricing__header-title {
	font-size: 20px;
	font-weight: 800;
	margin-bottom: 10px;
	color: #1f2933;
	letter-spacing: -0.02em;
}

.mygs-api-pricing__header-price {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 2px;
	margin-bottom: 4px;
	min-height: 38px;
}

.mygs-api-pricing__header-price.is-custom-price {
	font-size: 20px;
	font-weight: 800;
	color: #1f2933;
	min-height: 70px;
	align-items: center;
}

.mygs-api-pricing__amount {
	font-size: 30px;
	font-weight: 900;
	line-height: 1;
}

.mygs-api-pricing__currency {
	font-size: 18px;
	font-weight: 700;
	margin-left: 2px;
}

.mygs-api-pricing__period {
	color: #475569;
	font-size: 13px;
	font-weight: 600;
}

.mygs-api-pricing__header-savings {
	font-size: 11px;
	line-height: 1.4;
	color: #334155;
	min-height: 32px;
	margin-bottom: 14px;
}

.mygs-api-pricing__header-savings.is-empty {
	display: flex;
	align-items: center;
	justify-content: center;
}

.mygs-api-pricing__discount-tag {
	font-weight: 800;
	color: #1b5e20;
}

.mygs-api-pricing__savings-text {
	font-weight: 500;
}

.mygs-api-pricing__subscribe-btn {
	background: #2e7d32;
	border-radius: 6px;
	color: #ffffff;
	display: inline-flex;
	font-size: 13px;
	font-weight: 800;
	justify-content: center;
	line-height: 1;
	padding: 10px 20px;
	margin-bottom: 16px;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.1s ease;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	width: 100%;
	max-width: 140px;
}

.mygs-api-pricing__subscribe-btn:hover {
	background: #1b5e20;
	color: #ffffff;
	text-decoration: none;
	transform: translateY(-1px);
}

/* Body Styling */
.mygs-api-pricing__row th {
	font-weight: 700;
	text-align: left;
	padding-left: 20px;
	color: #334155;
	overflow: visible;
	position: relative;
	z-index: 5;
}

.mygs-api-pricing__row:hover th,
.mygs-api-pricing__row:focus-within th {
	z-index: 1000;
}

.mygs-api-pricing__sticky-body-row th {
	position: sticky;
	z-index: 79;
}

.mygs-api-pricing__sticky-body-row--1 th {
	top: var(--mygs-api-pricing-sticky-row-1-top, 0);
}

.mygs-api-pricing__sticky-body-row--2 th {
	top: var(--mygs-api-pricing-sticky-row-2-top, 0);
}

.mygs-api-pricing__sticky-body-row--3 th {
	top: var(--mygs-api-pricing-sticky-row-3-top, 0);
}

.mygs-api-pricing__sticky-body-row--4 th {
	top: var(--mygs-api-pricing-sticky-row-4-top, 0);
}

/* Row Background Groups */
.mygs-api-pricing__row.is-recognise td,
.mygs-api-pricing__row.is-recognise th,
.mygs-api-pricing__row.is-analyse td,
.mygs-api-pricing__row.is-analyse th {
	background-color: #fffbef;
}

.mygs-api-pricing__row.is-monitor td,
.mygs-api-pricing__row.is-monitor th {
	background-color: #f0f6fc;
}

.mygs-api-pricing__row.is-recommend td,
.mygs-api-pricing__row.is-recommend th {
	background-color: #f1fbf4;
}

.mygs-api-pricing__row.is-custom td,
.mygs-api-pricing__row.is-custom th {
	background-color: #fff5e6;
}

.mygs-api-pricing__row.is-extra-feature td,
.mygs-api-pricing__row.is-extra-feature th {
	background-color: #ffffff;
}

.mygs-api-pricing__row:hover td,
.mygs-api-pricing__row:hover th {
	filter: brightness(0.97);
}

.mygs-api-pricing__row.is-characteristic th {
	background: #f8fafc;
	color: #1e293b;
	font-size: 14px;
	font-weight: 800;
}
.mygs-api-pricing__row.is-characteristic td {
	background: #f8fafc;
	font-weight: 800;
	color: #1e293b;
}

/* Checkmarks and Icons */
.mygs-api-pricing__check {
	font-weight: bold;
	font-size: 18px;
}

.mygs-api-pricing__check.is-enabled {
	color: #2e7d32;
}

.mygs-api-pricing__check.is-disabled {
	color: #cbd5e1;
}

/* Tooltip trigger style */
.mygs-api-pricing__tooltip-trigger {
	position: relative;
	cursor: help;
	margin-left: 6px;
	color: #64748b;
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	background: #e2e8f0;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	font-weight: normal;
	z-index: 20;
}

.mygs-api-pricing__tooltip-trigger::after {
	content: attr(data-tooltip);
	position: absolute;
	left: calc(100% + 10px);
	top: 50%;
	transform: translateY(-50%);
	background-color: #1e293b;
	color: #ffffff;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 12px;
	line-height: 1.4;
	width: 250px;
	text-align: left;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.2s, visibility 0.2s;
	z-index: 10000;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	font-weight: normal;
	pointer-events: none;
}

.mygs-api-pricing__tooltip-trigger:hover::after {
	visibility: visible;
	opacity: 1;
}

.mygs-api-pricing__row-tooltip-trigger {
	color: #334155;
	cursor: help;
	display: inline;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	position: relative;
	z-index: 30;
}

.mygs-api-pricing__row-tooltip-trigger::after {
	content: "";
	display: none;
	height: 100%;
	left: 100%;
	position: absolute;
	top: 0;
	width: 12px;
}

.mygs-api-pricing__row-tooltip-trigger:focus {
	outline: 2px solid #2e7d32;
	outline-offset: 2px;
}

.mygs-api-pricing__row-tooltip {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
	color: #1f2933;
	font-size: 13px;
	font-weight: 400;
	left: calc(100% + 10px);
	line-height: 1.45;
	max-width: min(340px, 70vw);
	opacity: 0;
	padding: 12px 14px;
	pointer-events: none;
	position: absolute;
	text-align: left;
	top: 50%;
	transform: translateY(-50%);
	transition: opacity 0.2s, visibility 0.2s;
	visibility: hidden;
	width: 320px;
	z-index: 10000;
}

.mygs-api-pricing__row-tooltip p {
	margin: 0 0 8px;
}

.mygs-api-pricing__row-tooltip p:last-child {
	margin-bottom: 0;
}

.mygs-api-pricing__row-tooltip a {
	color: #1b5e20;
	font-weight: 700;
	text-decoration: underline;
}

.mygs-api-pricing__row-tooltip-trigger:hover .mygs-api-pricing__row-tooltip,
.mygs-api-pricing__row-tooltip-trigger:hover::after,
.mygs-api-pricing__row-tooltip-trigger:focus .mygs-api-pricing__row-tooltip,
.mygs-api-pricing__row-tooltip-trigger:focus-within .mygs-api-pricing__row-tooltip {
	display: block;
}

.mygs-api-pricing__row-tooltip-trigger:hover .mygs-api-pricing__row-tooltip,
.mygs-api-pricing__row-tooltip-trigger:focus .mygs-api-pricing__row-tooltip,
.mygs-api-pricing__row-tooltip-trigger:focus-within .mygs-api-pricing__row-tooltip {
	opacity: 1;
	pointer-events: auto;
	visibility: visible;
}

.mygs-api-pricing__status,
.mygs-api-pricing__error {
	border-radius: 8px;
	font-family: Inter, "Helvetica Neue", Arial, sans-serif;
	margin: 0;
	padding: 14px 16px;
}

.mygs-api-pricing__status {
	background: #eef3f0;
	color: #365144;
}

.mygs-api-pricing__error {
	background: #fff1f1;
	border-left: 4px solid #cf222e;
	color: #82071e;
}

@media (max-width: 980px) {
	.mygs-api-pricing__table-wrap {
		overflow-x: auto;
	}
}

/* Card layout for the API plans. */
.mygs-api-pricing {
	color: #151515;
	font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

.mygs-api-pricing__billing {
	display: flex;
	justify-content: center;
	margin: 0 0 64px;
}

.mygs-api-pricing__toggle {
	background: transparent;
	border: 0;
	display: flex;
	gap: 24px;
	max-width: none;
	padding: 0;
	width: auto;
}

.mygs-api-pricing__toggle button {
	border: 1px solid #151515;
	border-radius: 999px;
	color: #151515;
	font-size: 13px;
	letter-spacing: 0.04em;
	min-width: 145px;
	padding: 16px 24px;
}

.mygs-api-pricing__toggle button.is-active {
	background: #151515;
	box-shadow: none;
	color: #ffffff;
}

.mygs-api-pricing__plans {
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mygs-api-pricing__plan {
	background: #ffffff;
	border: 1px solid #e7e7e7;
	border-radius: 7px;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 40px 18px 34px;
	text-align: center;
	transition: box-shadow .25s ease, transform .25s ease;
}

.mygs-api-pricing__plan:hover,
.mygs-api-pricing__plan:focus-within {
	box-shadow: 0 18px 40px rgba(23, 21, 58, .1);
	transform: translateY(-6px);
}

.mygs-api-pricing__plan-main {
	display: grid;
	grid-template-rows: 64px 64px 52px 200px;
	min-height: 380px;
}

.mygs-api-pricing__plan-main.is-annual {
	grid-template-rows: 64px 64px 84px 52px 200px;
	min-height: 464px;
}

.mygs-api-pricing__plan-title { grid-row: 1; }
.mygs-api-pricing__plan-price { grid-row: 2; }
.mygs-api-pricing__subscribe-btn { grid-row: 3; }
.mygs-api-pricing__characteristics { grid-row: 4; }

.mygs-api-pricing__plan-main.is-annual .mygs-api-pricing__plan-savings { grid-row: 3; }
.mygs-api-pricing__plan-main.is-annual .mygs-api-pricing__subscribe-btn { grid-row: 4; }
.mygs-api-pricing__plan-main.is-annual .mygs-api-pricing__characteristics { grid-row: 5; }

.mygs-api-pricing__plan-title {
	color: #333333;
	display: flex;
	font-size: 25px;
	font-weight: 800;
	justify-content: center;
	line-height: 1.1;
	margin: 0;
	padding-bottom: 36px;
	box-sizing: border-box;
}

.mygs-api-pricing__plan-price {
	align-items: baseline;
	display: flex;
	font-size: 40px;
	font-weight: 800;
	justify-content: center;
	letter-spacing: -0.04em;
	line-height: 1;
	min-height: 0;
}

.mygs-api-pricing__plan-price small {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0;
}

.mygs-api-pricing__custom-copy {
	align-items: center;
	color: #969696;
	display: flex;
	font-size: 16px;
	font-weight: 700;
	justify-content: center;
	line-height: 1.3;
	margin: 0;
	padding: 0 8px;
	text-align: center;
}

.mygs-api-pricing__plan-savings {
	color: #737373;
	display: flex;
	flex-direction: column;
	font-size: 13px;
	line-height: 1.35;
	justify-content: center;
	margin: 0;
	min-height: 0;
}

.mygs-api-pricing__plan-savings strong {
	color: #666666;
	font-weight: 800;
}

.mygs-api-pricing__subscribe-btn {
	border-radius: 999px;
	align-items: center;
	box-shadow: none;
	color: #151515;
	display: flex;
	font-size: 13px;
	justify-content: center;
	letter-spacing: 0.04em;
	max-width: none;
	padding: 18px 16px;
	box-sizing: border-box;
	width: 100%;
}

.mygs-api-pricing__subscribe-btn:hover {
	color: #151515;
	filter: brightness(0.94);
	transform: none;
}

.mygs-api-pricing__plan.is-analyse .mygs-api-pricing__subscribe-btn { background: #ffca62; }
.mygs-api-pricing__plan.is-monitor .mygs-api-pricing__subscribe-btn { background: #86d8f3; }
.mygs-api-pricing__plan.is-recommend .mygs-api-pricing__subscribe-btn { background: #cde021; }
.mygs-api-pricing__plan.is-custom .mygs-api-pricing__subscribe-btn { background: #ffa052; }

.mygs-api-pricing__characteristics {
	display: grid;
	gap: 14px;
	margin: 0;
	min-height: 0;
}

.mygs-api-pricing__characteristics div {
	display: grid;
	gap: 1px;
}

.mygs-api-pricing__characteristics dt {
	font-size: 16px;
	font-weight: 800;
	line-height: 1.1;
}

.mygs-api-pricing__characteristics dd {
	color: #747474;
	font-size: 13px;
	line-height: 1.2;
	margin: 0;
}

.elementor hr.mygs-api-pricing__plan-divider {
	border: 0;
	border-top: 1px solid #e5e5e5;
	margin: 38px 4px 38px;
	width: auto;
}

.mygs-api-pricing__capabilities-title {
	font-size: 15px;
	font-weight: 800;
	margin: 0 0 20px;
	text-align: left;
}

.mygs-api-pricing__capabilities {
	display: grid;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
}

.mygs-api-pricing__capabilities li {
	align-items: flex-start;
	display: flex;
	font-size: 14px;
	line-height: 1.2;
}

.mygs-api-pricing__capability-check {
	font-size: 17px;
	font-weight: 700;
	line-height: 0.9;
	margin: 1px 9px 0 0;
}

.mygs-api-pricing__row-tooltip-trigger {
	color: inherit;
	text-decoration: none;
}

.mygs-api-pricing__credits-note {
	font-size: 14px;
	font-weight: 700;
	margin: 30px 0 0;
}

@media (max-width: 1100px) {
	.mygs-api-pricing__plans {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.mygs-api-pricing__billing {
		margin-bottom: 36px;
	}

	.mygs-api-pricing__toggle {
		gap: 10px;
		width: 100%;
	}

	.mygs-api-pricing__toggle button {
		min-width: 0;
		width: 50%;
	}

	.mygs-api-pricing__plans {
		grid-template-columns: 1fr;
	}
}
