/**
 * Altcoin Season Index Chart Styles
 *
 * Used by the [cmc_altcoin_season_chart] shortcode.
 */

.cmc-as-chart-wrapper {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	color: inherit;
}

.cmc-as-chart-tfs {
	display: flex;
	gap: 4px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}

.cmc-as-tf-btn {
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 600;
	color: #6b7280;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	font-family: inherit;
	line-height: 1;
}

.cmc-as-tf-btn:hover {
	background: rgba(37, 99, 235, 0.08);
	color: #2563eb;
}

.cmc-as-tf-btn.active {
	background: #2563eb;
	color: #ffffff;
	border-color: #2563eb;
}

.cmc-as-chart-canvas {
	width: 100%;
	min-height: 200px;
	position: relative;
}

.cmc-as-chart-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	margin: 0;
	padding: 24px;
	font-size: 14px;
	color: #6b7280;
	text-align: center;
	background: rgba(0, 0, 0, 0.02);
	border-radius: 6px;
}

.cmc-as-chart-empty code {
	background: rgba(0, 0, 0, 0.06);
	padding: 1px 6px;
	border-radius: 4px;
	font-size: 0.9em;
}
