.toggle {
	width: 60px;
	height: 30px;
	background-color: #333;
	border-radius: 30px;
	position: relative;
	cursor: pointer;
	transition: background-color 0.3s;
}

.toggle::before {
	content: '';
	width: 22px;
	height: 22px;
	background-color: white;
	border-radius: 50%;
	position: absolute;
	top: 4px;
	left: 4px;
	transition: transform 0.3s;
}

.toggle.dark {
	background-color: #bbb;
}
.toggle.dark::before {
	transform: translateX(30px);
}