/* 🎛️ Toggle Container Position */
#darkModeToggleContainer {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 1000;
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: 'Segoe UI', sans-serif;
}

/* Label next to toggle */
.dark-mode-label {
	color: #333;
	font-size: 0.9em;
}

/* Toggle switch styling */
.dark-mode-switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 26px;
}

.dark-mode-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: 0.4s;
	border-radius: 34px;
}

.slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	transition: 0.4s;
	border-radius: 50%;
}

input:checked + .slider {
	background-color: #222;
}

input:checked + .slider:before {
	transform: translateX(24px);
}

/* 🌑 Dark Mode Theme Styles */
body.dark-mode {
	background-color: #121212;
	color: #eaeaea;
}

body.dark-mode a,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3 {
	color: #ffffff;
}

body.dark-mode .score-container,
body.dark-mode input,
body.dark-mode button {
	background-color: #1e1e
}