.elementor-control-type-switcher {

	.elementor-control-input-wrapper {
		text-align: end;
	}

	.elementor-switch {
		position: relative;
		display: inline-block;
		vertical-align: top;
		height: 20px;
		background-color: var(--e-a-bg-default);
		border-radius: 18px;
		cursor: pointer;
	}

	.elementor-switch-input {
		display: none;
	}

	.elementor-switch-label {
		position: relative;
		display: block;
		height: inherit;
		font-size: 10px;
		background: var(--e-a-bg-active-bold);
		border-radius: inherit;
		transition: 0.15s ease-out;
		transition-property: opacity, background;
	}

	.elementor-switch-label {

		&:before,
		&:after {
			position: absolute;
			inset-block-start: 0;
			width: 50%;
			text-align: center;
			line-height: 20px;
			transition: inherit;
		}

		&:before {
			content: attr(data-off);
			inset-inline-end: 5px;
			color: var(--e-a-color-txt-muted);
		}

		&:after {
			content: attr(data-on);
			inset-inline-start: 5px;
			color: var(--e-a-btn-color);
			opacity: 0;
		}
	}

	.elementor-switch-input:checked ~ .elementor-switch-label {
		background: var(--e-a-btn-bg-primary);

		&:before {
			opacity: 0;
		}

		&:after {
			opacity: 1;
		}
	}

	.elementor-switch-handle {
		position: absolute;
		inset-block-start: 1px;
		inset-inline-start: 1px;
		width: 18px;
		height: 18px;
		background: white;
		border-radius: 10px;
		transition: inset-inline-start 0.15s ease-out;
	}

	.elementor-switch-input:checked ~ .elementor-switch-handle {
		inset-inline-start: initial;
		inset-inline-end: 1px;
	}
}
