/* Botón que alterna entre el diseño actual y el diseño nuevo */
.design-toggle {
	position: relative;
	display: inline-flex;
	flex: none;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease, transform 300ms cubic-bezier(.2, .8, .2, 1);
}

.design-toggle:hover {
	border-color: currentColor;
	background: color-mix(in srgb, currentColor 12%, transparent);
	transform: rotate(-12deg);
}

.design-toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.design-toggle svg {
	width: 20px;
	height: 20px;
}

/* Punto que invita a probar el diseño nuevo */
.design-toggle[aria-pressed="false"]::after {
	position: absolute;
	top: 1px;
	right: 1px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #ff2e88;
	box-shadow: 0 0 0 2px var(--paper, #111318);
	content: '';
}

.design-toggle[aria-pressed="true"] {
	border-color: transparent;
	background: linear-gradient(135deg, #ff2e88, #8b5cf6);
	color: #fff;
}

@media (prefers-reduced-motion: reduce) {
	.design-toggle,
	.design-toggle:hover {
		transition: none;
		transform: none;
	}
}
