body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
	background-color: #121212;
	color: #ffffff;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 50px;
	position: relative;
}

.container {
	background-color: #1e1e1e;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
	padding: 20px;
	width: 400px;
	text-align: center;
}

h1,
h2,
h3 {
	color: #ffffff;
	margin: 10px 0;
}

label {
	display: block;
	margin: 10px 0 5px;
	font-weight: bold;
}

select,
button,
input {
	padding: 10px;
	border: 1px solid #444;
	border-radius: 5px;
	background-color: #2a2a2a;
	color: #ffffff;
	width: calc(100% - 22px);
	margin-bottom: 15px;
}

button {
	cursor: pointer;
	transition: background-color 0.3s;
	font-weight: bold;
}

button:hover {
	background-color: #333;
}

.hidden {
	display: none;
}

.hidden-container {
	display: none;
}

.status-on {
	color: green;
}

.status-off {
	color: red;
}

.toggle-switch {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 10px 0;
}

.toggle {
	position: relative;
	width: 50px;
	height: 24px;
	background-color: #444;
	border-radius: 50px;
	cursor: pointer;
	transition: background-color 0.3s;
}

.toggle::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 20px;
	height: 20px;
	background-color: #fff;
	border-radius: 50%;
	transition: transform 0.3s;
}

.toggle.on {
	background-color: green;
}

.toggle.on::after {
	transform: translateX(26px);
}

.loader {
	border: 4px solid rgba(255, 255, 255, 0.3);
	border-top: 4px solid #ffffff;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

@keyframes spin {
	0% {
		transform: translate(-50%, -50%) rotate(0deg);
	}

	100% {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

ul {
	padding: 0;
}

li {
	display: flex;
	justify-content: space-around;
	align-items: center;
	background-color: #252525;
	border-radius: 15px;
	margin: 5px;
}

button.remove {
	width: 75px;
	background-color: #f44336;
	margin: 5px;
}

button.remove:hover {
	background-color: #79201a;
}

button.add {
	background-color: #4CAF50;
}

button.add:hover {
	background-color: #39863b;
}

.modal {
	display: none;
	position: fixed;
	z-index: 10;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	padding-top: 10px;
}

.modal-content {
	background-color: #1e1e1e;
	margin: 10% auto;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
	width: 90%;
	max-width: 400px;
	color: #ffffff;
}

.close {
	color: #ffffff;
	float: right;
	font-size: 20px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: #f44336;
	text-decoration: none;
	cursor: pointer;
}

.modal-content button {
	width: 100%;
	margin: 5px 0;
}

/* Calendar styles */
.calendar-container {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	margin-bottom: 10px;
}

.header .month-year {
	font-size: 1.5em;
}

.calendar {
	width: 100%;
}

.header button {
	width: 50px;
	height: 50px;
}

.days-of-week {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	text-align: center;
	margin-bottom: 5px;
}

.days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	text-align: center;
	gap: 5px;
}

.days span {
	padding: 10px;
	border-radius: 5px;
	background-color: #333;
	cursor: pointer;
}

.days span.selected {
	background-color: #4CAF50;
}

.days span.today {
	color: #f2f700;
}

.time-picker {
	display: flex;
	justify-content: center;
	flex-direction: row;
	border-radius: 10px;
	margin: 10px;
	height: 50px;
	align-items: center;
	width: 100%;
}

.wrap-container {
	max-width: 100%;
	margin: 5px;
	width: 50%;
	max-height: 50px;
	overflow-y: scroll;

	scroll-snap-type: y mandatory;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.wrap-container::-webkit-scrollbar {
	display: none;
}


.wrap-container ul {
	list-style: none;
	position: relative;
	transition: transform 0.3s;
	top: 50px;
}

.wrap-container ul,
.wrap-container ul li {
	margin: 0;
	padding: 0;
	text-align: center;
}

.wrap-container ul li {
	height: 50px;
	line-height: 50px;
	transition: transform 0.3s;
	overflow: hidden;
	scroll-snap-align: center;
}


.wrap-container ul li.active .item {
	transform: scale(1.9);
}

.wrap-container ul li .item {
	position: relative;
	transition: transform 200ms;
	display: inline-block;
}