body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #121212;
  color: #ffffff;
}

.container {
  background: #1e1e1e;
  padding: 20px;
  border-radius: 10px;
  width: 350px;
}

input[type="text"] {
  border: 1px solid #444;
  border-radius: 5px;
  padding: 10px;
  box-sizing: border-box;
  width: 100%;
  background-color: #2a2a2a;
  color: #fff;
  margin-bottom: 10px;
}

input[type="text"]:focus {
  outline: none;
  border-color: #7e7e7e;
}

input[type="text"]::placeholder {
  color: #aaa;
}

.addTaskBtn {
  background-color: #000000;
  color: white;
  border: none;
  padding: 10px 15px;
  margin-top: 5px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  transition: background-color 0.2s;
}

.addTaskBtn:hover {
  background-color: #151515;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #333;
  box-sizing: border-box;
}

.task {
  display: flex;
  align-items: center;
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  cursor: pointer;
  accent-color: #1e1e1e;
  outline: none;
}

input[type="checkbox"]:checked + span {
  text-decoration: line-through;
  color: #999;
}

.delete {
  font-size: 30px;
  background: none;
  border: none;
  color: #ff5555;
  cursor: pointer;
}

.delete:hover {
  color: #ff0000;
}
