/* Vosss demo feature: live color-scheme switcher widget.
   Self-contained styles, namespaced with .vosss-cs- to avoid collisions. */

.vosss-cs-toggle {
	position: fixed;
	right: 24px;
	bottom: 24px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: conic-gradient(from 180deg, #2f6fed, #22c1dc, #f59e0b, #dc2626, #7c3aed, #2f6fed);
	border: 3px solid #ffffff;
	box-shadow: 0 6px 20px rgba(0,0,0,0.25);
	cursor: pointer;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.25s ease;
	padding: 0;
}

.vosss-cs-toggle:hover {
	transform: scale(1.08) rotate(15deg);
}

.vosss-cs-toggle svg {
	width: 24px;
	height: 24px;
	fill: #ffffff;
	filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35));
}

.vosss-cs-badge {
	position: fixed;
	right: 88px;
	bottom: 38px;
	background: #0f172a;
	color: #ffffff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	line-height: 1.3;
	padding: 8px 12px;
	border-radius: 8px;
	white-space: nowrap;
	z-index: 99999;
	box-shadow: 0 4px 14px rgba(0,0,0,0.2);
	opacity: 1;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.vosss-cs-badge:after {
	content: "";
	position: absolute;
	right: -6px;
	top: 50%;
	transform: translateY(-50%);
	border-width: 6px 0 6px 6px;
	border-style: solid;
	border-color: transparent transparent transparent #0f172a;
}

.vosss-cs-badge.vosss-cs-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.vosss-cs-panel {
	position: fixed;
	right: 24px;
	bottom: 92px;
	width: 240px;
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 12px 40px rgba(0,0,0,0.22);
	padding: 16px;
	z-index: 99999;
	font-family: Arial, Helvetica, sans-serif;
	opacity: 0;
	transform: translateY(12px);
	pointer-events: none;
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.vosss-cs-panel.vosss-cs-open {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.vosss-cs-panel h4 {
	margin: 0 0 3px 0;
	font-size: 14px;
	color: #0f172a;
	font-weight: 700;
}

.vosss-cs-panel p {
	margin: 0 0 12px 0;
	font-size: 12px;
	color: #6a6a6a;
	line-height: 1.4;
}

.vosss-cs-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.vosss-cs-swatch {
	border: none;
	background: none;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	padding: 4px 0;
}

.vosss-cs-dot {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 2px solid #ffffff;
	box-shadow: 0 0 0 1px #e3e3e3;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.vosss-cs-swatch:hover .vosss-cs-dot {
	transform: scale(1.1);
}

.vosss-cs-swatch.vosss-cs-active .vosss-cs-dot {
	box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #0f172a;
}

.vosss-cs-swatch span {
	font-size: 10.5px;
	color: #444444;
	text-align: center;
	line-height: 1.2;
}

.vosss-cs-footer-note {
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid #eeeeee;
	font-size: 10.5px;
	color: #9a9a9a;
	line-height: 1.4;
}

@media (max-width: 480px) {
	.vosss-cs-toggle {
		right: 16px;
		bottom: 16px;
		width: 48px;
		height: 48px;
	}
	.vosss-cs-panel {
		right: 16px;
		bottom: 76px;
		width: 210px;
	}
	.vosss-cs-badge {
		display: none;
	}
}
