/* Elementor Content Toggle */
.ect-content-toggle {
	--ect-width: 52px;
	--ect-height: 28px;
	--ect-on: #2271b1;
	--ect-off: #c3c4c7;
	--ect-knob: #fff;
	--ect-icon-size: 1.1em;
	width: 100%;
}

.ect-content-toggle.ect-align-left {
	text-align: left;
}

.ect-content-toggle.ect-align-center {
	text-align: center;
}

.ect-content-toggle.ect-align-right {
	text-align: right;
}

.ect-toggle-bar {
	display: inline-block;
	max-width: 100%;
}

.ect-toggle-row {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.ect-content-toggle.ect-align-left .ect-toggle-row {
	justify-content: flex-start;
}

.ect-content-toggle.ect-align-center .ect-toggle-row {
	justify-content: center;
}

.ect-content-toggle.ect-align-right .ect-toggle-row {
	justify-content: flex-end;
}

.ect-label {
	font-size: 14px;
	line-height: 1.4;
	user-select: none;
}

.ect-label-inner {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ect-label-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.ect-label-icon svg {
	width: var(--ect-icon-size);
	height: var(--ect-icon-size);
	display: block;
}

.ect-label-icon i,
.ect-label-icon .e-font-icon-svg {
	font-size: var(--ect-icon-size);
	line-height: 1;
}

.ect-switch {
	position: relative;
	display: inline-block;
	width: var(--ect-width);
	height: var(--ect-height);
	flex-shrink: 0;
	cursor: pointer;
}

.ect-switch .ect-toggle-input {
	opacity: 0;
	width: 0;
	height: 0;
	position: absolute;
}

.ect-slider {
	position: absolute;
	inset: 0;
	background-color: var(--ect-off);
	border-radius: 999px;
	transition: background-color 0.2s ease;
}

.ect-slider::before {
	content: "";
	position: absolute;
	height: calc(var(--ect-height) - 6px);
	width: calc(var(--ect-height) - 6px);
	left: 3px;
	bottom: 3px;
	background-color: var(--ect-knob);
	border-radius: 50%;
	transition: transform 0.2s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.ect-toggle-input:checked + .ect-slider {
	background-color: var(--ect-on);
}

.ect-toggle-input:checked + .ect-slider::before {
	transform: translateX(calc(var(--ect-width) - var(--ect-height)));
}

.ect-toggle-input:focus-visible + .ect-slider {
	outline: 2px solid var(--ect-on);
	outline-offset: 2px;
}

.ect-content-hidden {
	display: none !important;
}

.ect-editor-notice {
	margin: 0;
	padding: 12px;
	background: #fff3cd;
	border-left: 4px solid #dba617;
	font-size: 13px;
	color: #1d2327;
}
