/* ==========================================================================
   FYFX Growth Plan Chart Widget
   ========================================================================== */

.fyfx-growth-plan-chart {
	width: 100%;
}

/* ── Plan Tab Bar ─────────────────────────────────────────────────────────── */

.fyfx-gpc-tabs {
	display: flex;
	flex-wrap: nowrap;
	gap: 4px;
	margin-bottom: 16px;
	/* pill container */
	background-color: #0a1540;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 50px;
	padding: 4px;
	box-sizing: border-box;
	width: 100%;
	/* horizontal scroll on small screens */
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none; /* Firefox */
}

.fyfx-gpc-tabs::-webkit-scrollbar {
	display: none; /* Chrome / Safari */
}

.fyfx-gpc-tab-btn {
	cursor: pointer;
	/* stretch equally on desktop, fixed width on mobile */
	flex: 1;
	min-width: max-content;
	text-align: center;
	border: 1px solid transparent;
	background-color: transparent;
	color: #ffffff;
	padding: 10px 12px;
	border-radius: 50px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.fyfx-gpc-tab-btn .fyfx-gpc-tab-prefix,
.fyfx-gpc-tab-btn .fyfx-gpc-tab-suffix {
	display: inline;
}

.fyfx-gpc-tab-btn .fyfx-gpc-tab-prefix {
	margin-right: 4px;
}

.fyfx-gpc-tab-btn .fyfx-gpc-tab-suffix {
	margin-left: 4px;
}

.fyfx-gpc-tab-btn:hover {
	background-color: rgba(255, 255, 255, 0.05);
}

.fyfx-gpc-tab-btn.active {
	background-color: #3b5bfc;
	border-color: transparent;
	color: #ffffff;
}

/* ── Chart Container ──────────────────────────────────────────────────────── */

.fyfx-gpc-canvas-wrapper {
	position: relative;
	width: 100%;
	height: 400px;
	background-color: #050d2d;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 20px;
	box-sizing: border-box;
	overflow: hidden;
}

.fyfx-gpc-canvas {
	display: block;
	position: relative;
    z-index: 1;
	width: 100% !important;
	height: 100% !important;
}
