body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f2fdf2;
  color: #222;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.container {
  background: #fff;
  padding: 20px 25px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.404);
  width: 400px;
}

h1 {
  text-align: center;
  color: #000000;
}

form {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

form input, form button {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

form input:focus {
  outline: 2px solid #81c784;
}

form button {
  background: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
}

form button:hover {
  background: #388e3c;
}

.filter {
  margin-bottom: 15px;
  text-align: center;
}

#filter {
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

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

li {
  background: #e8f5e9;
  margin-bottom: 8px;
  padding: 10px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

li.done {
  text-decoration: line-through;
  background: #c8e6c9;
  color: #555;
}

li span {
  flex-grow: 1;
  cursor: pointer;
}

.delete-btn {
  background: #e53935;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 5px 8px;
  cursor: pointer;
}

.delete-btn:hover {
  background: #b71c1c;
}
