.si-switch {
	&__text {
		user-select: none;
		position: relative;
		display: flex;
		overflow: hidden;
		align-items: center;
		justify-content: center;
		padding: 5px;
		padding-left: 25px;
		font-size: 0.7rem;
		color: hsl(var(--si-text));
		transition: all 0.25s ease 0.05s;
		white-space: nowrap;
		&.on {
			position: absolute;
			opacity: 0;
			transform: translate(-100%);
		}
		i {
			font-size: 1rem;
			opacity: 0.7;
		}
	}

	&.checked {
		.si-switch__text {
			padding-right: 25px;
			padding-left: 5px;
			color: white;
			i {
				opacity: 1;
			}
			&.on {
				position: relative;
				opacity: 1;
				transform: translate(0);
			}
			&.off {
				position: absolute;
				opacity: 0;
				transform: translate(100%);
			}
		}
	}
}
