.wp-block-pruebat-theme-toggle {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
}

.wp-block-pruebat-theme-toggle.aligncenter {
	display: flex;
	justify-content: center;
}

.wp-block-pruebat-theme-toggle.alignright {
	display: flex;
	justify-content: flex-end;
}

.pruebat-theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	margin: 0;
	width: var(--pruebat-toggle-width, auto);
	min-width: var(--pruebat-toggle-width, 0);
	height: var(--pruebat-toggle-size, 40px);
	min-height: var(--pruebat-toggle-size, 40px);
	padding: var(--pruebat-toggle-pad-top, 8px) var(--pruebat-toggle-pad-right, 14px) var(--pruebat-toggle-pad-bottom, 8px) var(--pruebat-toggle-pad-left, 14px);
	border-width: var(--pruebat-toggle-border-width, 1px);
	border-style: solid;
	border-color: var(--pruebat-toggle-border, var(--pruebat-border, rgba(255, 255, 255, 0.10)));
	border-radius: var(--pruebat-toggle-radius, 8px);
	background: var(--pruebat-toggle-bg, var(--pruebat-bg-card, #192B4A));
	color: var(--pruebat-toggle-text, var(--pruebat-text, #F5F3ED));
	font-family: inherit;
	font-size: var(--pruebat-toggle-font-size, 14px);
	font-weight: var(--pruebat-toggle-font-weight, 600);
	line-height: 1;
	letter-spacing: 0;
	text-transform: var(--pruebat-toggle-transform, none);
	white-space: nowrap;
	cursor: pointer;
	touch-action: manipulation;
	transition-property: background-color, color, border-color, box-shadow;
	transition-duration: var(--pruebat-toggle-hover-ms, 160ms);
	transition-timing-function: ease;
}

.pruebat-theme-toggle--square {
	width: var(--pruebat-toggle-size, 40px);
	min-width: var(--pruebat-toggle-size, 40px);
	padding: 0;
}

.pruebat-theme-toggle--pill,
.pruebat-theme-segmented.is-pill {
	border-radius: 999px;
}

.pruebat-theme-toggle:hover {
	background: var(--pruebat-toggle-hover-bg, var(--pruebat-bg-secondary, #14213D));
	color: var(--pruebat-toggle-hover-text, var(--pruebat-toggle-text, var(--pruebat-text, #F5F3ED)));
	border-color: var(--pruebat-toggle-hover-border, var(--pruebat-accent, #818CF8));
}

.pruebat-theme-toggle-wrap > .pruebat-theme-toggle[aria-pressed="true"] {
	box-shadow: inset 0 0 0 1px var(--pruebat-toggle-active-border, var(--pruebat-accent, #818CF8));
}

.pruebat-theme-status {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.pruebat-theme-toggle:focus {
	outline: none;
}

.pruebat-theme-toggle:focus-visible {
	outline: 2px solid var(--pruebat-accent, #818CF8);
	outline-offset: 3px;
}

.pruebat-theme-toggle svg {
	display: block;
	width: var(--pruebat-toggle-icon-size, 16px);
	height: var(--pruebat-toggle-icon-size, 16px);
	flex: 0 0 auto;
	color: var(--pruebat-toggle-icon, currentColor);
}

.pruebat-theme-toggle.is-icons-hidden svg {
	display: none;
}

.pruebat-theme-toggle.is-icon-right {
	flex-direction: row-reverse;
}

.pruebat-theme-segmented {
	display: inline-flex;
	align-items: stretch;
	max-width: 100%;
	border-width: var(--pruebat-toggle-border-width, 1px);
	border-style: solid;
	border-color: var(--pruebat-toggle-border, var(--pruebat-border, rgba(255, 255, 255, 0.10)));
	border-radius: var(--pruebat-toggle-radius, 8px);
	overflow: hidden;
	background: var(--pruebat-toggle-bg, var(--pruebat-bg-card, #192B4A));
}

.is-style-pill .pruebat-theme-segmented {
	border-radius: 999px;
}

.pruebat-theme-segmented .pruebat-theme-toggle {
	border-width: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.pruebat-theme-segmented .pruebat-theme-toggle + .pruebat-theme-toggle {
	box-shadow: inset 1px 0 0 var(--pruebat-toggle-border, var(--pruebat-border, rgba(255, 255, 255, 0.10)));
}

.pruebat-theme-segmented .pruebat-theme-toggle.is-active,
.pruebat-theme-segmented .pruebat-theme-toggle[aria-pressed="true"] {
	background: var(--pruebat-toggle-active-bg, var(--pruebat-accent, #818CF8));
	color: var(--pruebat-toggle-active-text, var(--pruebat-button-text, #17243B));
	border-color: var(--pruebat-toggle-active-border, var(--pruebat-accent, #818CF8));
}

html[data-pruebat-theme="day"] .pruebat-theme-toggle:not([data-pruebat-theme-choice]) .pruebat-theme-toggle__icon--moon,
html:not([data-pruebat-theme]) .pruebat-theme-toggle[data-theme-state="day"]:not([data-pruebat-theme-choice]) .pruebat-theme-toggle__icon--moon,
html[data-pruebat-theme="night"] .pruebat-theme-toggle:not([data-pruebat-theme-choice]) .pruebat-theme-toggle__icon--sun,
html:not([data-pruebat-theme]) .pruebat-theme-toggle[data-theme-state="night"]:not([data-pruebat-theme-choice]) .pruebat-theme-toggle__icon--sun {
	display: none;
}

@media (min-width: 1025px) {
	.pruebat-theme-toggle-wrap.is-hide-desktop {
		display: none !important;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.pruebat-theme-toggle-wrap.is-hide-tablet {
		display: none !important;
	}
}

@media (max-width: 767px) {
	.pruebat-theme-toggle-wrap.is-hide-mobile {
		display: none !important;
	}

	.pruebat-theme-toggle {
		height: var(--pruebat-toggle-mobile-size, var(--pruebat-toggle-size, 36px));
		min-height: var(--pruebat-toggle-mobile-size, var(--pruebat-toggle-size, 36px));
	}

	.pruebat-theme-toggle--square {
		width: var(--pruebat-toggle-mobile-size, var(--pruebat-toggle-size, 36px));
		min-width: var(--pruebat-toggle-mobile-size, var(--pruebat-toggle-size, 36px));
	}
}

@media (prefers-reduced-motion: reduce) {
	.pruebat-theme-toggle {
		transition: none;
	}
}

.pruebat-theme-segmented .pruebat-theme-toggle[data-pruebat-theme-choice="auto"] .pruebat-theme-toggle__icon--sun,
.pruebat-theme-segmented .pruebat-theme-toggle[data-pruebat-theme-choice="auto"] .pruebat-theme-toggle__icon--moon {
	opacity: 0.85;
}
@media (max-width: 767px) {
	.pruebat-header-toggle .pruebat-theme-segmented .pruebat-theme-toggle__label {
		font-size: 0.72em;
	}
}
