body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  color: #fff;
}

.container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 20px;
  margin-top: 50px;
  border-radius: 15px;
  width: 350px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

.input-area {
  display: flex;
  gap: 10px;
}

input {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 14px;
}

button {
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  background: #4cafef;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #2196f3;
}

ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

li {
  background: rgba(255, 255, 255, 0.15);
  padding: 10px;
  margin: 8px 0;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}

li:hover {
  background: rgba(255, 255, 255, 0.25);
}

.done {
  text-decoration: line-through;
  color: #ddd;
}

.del-btn {
  background: #ff4d4d;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.del-btn:hover {
  background: #e60000;
}
