* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #74ebd5 0%, #9face6 100%);
}

/* Container styling */
.todo-container {
  background: rgba(255, 255, 255, 0.9);
  padding: 25px;
  border-radius: 12px;
  width: 380px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  backdrop-filter: blur(6px);
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
  font-size: 1.6rem;
}

/* Input and button */
#taskInput {
  width: 70%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border 0.3s;
}

#taskInput:focus {
  border-color: #6a82fb;
}

#addBtn {
  padding: 10px 14px;
  margin-left: 8px;
  background: #6a82fb;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

#addBtn:hover {
  background: #5a72e0;
}

/* Filter buttons */
.filters {
  margin: 15px 0;
  text-align: center;
}

.filter-btn {
  margin: 0 5px;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  background: #e0e0e0;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn.active {
  background: #6a82fb;
  color: #fff;
  box-shadow: 0 4px 10px rgba(106,130,251,0.4);
}

/* Task list */
#taskList {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

#taskList li {
  background: #f9f9f9;
  padding: 12px;
  margin: 8px 0;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.2s;
}

#taskList li:hover {
  transform: translateY(-2px);
  background: #f0f0f0;
}

#taskList li.completed {
  text-decoration: line-through;
  color: #888;
}

.delete-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #ff4d4d;
  transition: transform 0.2s;
}

.delete-btn:hover {
  transform: scale(1.2);
}
