/* TBA Framework - Maximum Potential */

.tba-tool-maximum-potential .tba-mp__inputs-full {
	margin-bottom: 1em;
}

.tba-tool-maximum-potential .tba-mp__inputs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 1em;
}

.tba-tool-maximum-potential .tba-mp__derived {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	padding: 0.45em 0.6em;
	color: #3c434a;
	font-weight: 600;
}

.tba-tool-maximum-potential .tba-mp__chart-heading {
	margin-top: 1.5em;
}

.tba-tool-maximum-potential .tba-mp__toggle-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6em;
	margin: 0 0 0.75em;
}

.tba-mp__toggle-btn {
	padding: 0.5em 1em;
	border: 1.5px solid #c3c4c7;
	border-radius: 999px;
	background: transparent;
	color: #3c434a;
	font-size: 0.9em;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.tba-mp__toggle-btn.is-active {
	color: #fff;
	border-color: transparent;
}

.tba-mp__toggle-btn--savings.is-active {
	background: #166534;
}

.tba-mp__toggle-btn--spending.is-active {
	background: #d63638;
}

.tba-mp__toggle-btn--ceiling.is-active {
	background: #4d9a68;
}

.tba-mp__reset-btn {
	padding: 0.5em 1em;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: transparent;
	color: #3c434a;
	font-size: 0.9em;
	cursor: pointer;
}
