/* Dark theme styles */
body {
  background-color: #121212;
  color: #e0e0e0;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

#container {
  background: #1e1e1e;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  width: 300px;
}

h2 {
  color: #bb86fc;
}

input[type="text"] {
  width: 80%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: #333;
  color: #e0e0e0;
  outline: none;
  transition: 0.3s;
}

input[type="text"]:focus {
  box-shadow: 0 0 8px #bb86fc;
}

button {
  background: #bb86fc;
  color: #121212;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 10px;
}

button:hover {
  background: #9c5dfc;
}

#todo-list-container {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

#todo-list-container li {
  background: #333;
  padding: 10px;
  border-radius: 8px;
  margin: 5px 0 50px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
  position: relative;
  cursor: pointer;
}

#todo-list-container li:hover {
  background: #444;
}

#todo-list-container li::before {
  content: "";
  width: 40px;
  height: 40px;
  left: -45px;
  top: 0;
  position: absolute;
  /* background-color: red; */
  border-radius: 50%;
  background: url("img/uncheked.jpeg");
}
#todo-list-container li.checked::before {
  background: url("img/tick.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#todo-list-container li.checked span:first-child {
  text-decoration: line-through;
}
#todo-list-container li.checked span:nth-child(2):hover {
  filter: brightness(110%);
  cursor: pointer;
}
