body {
  font-family: "Poppins", sans-serif;
  background: #f9fafc;
  color: #333;
  text-align: center;
  padding: 20px;
}

header h1 {
  color: #6c63ff;
  margin-bottom: 30px;
}

.todo-app {
  background: white;
  padding: 20px;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.input-section {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

input[type="text"] {
  flex: 1;
  padding: 10px;
  border-radius: 25px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

button {
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  background: #6c63ff;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #ffcc70;
  color: #333;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  background: #f0f0ff;
  margin: 10px 0;
  padding: 10px 15px;
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}

li.completed {
  text-decoration: line-through;
  background: #d4ffd4;
}

li button {
  border: none;
  border-radius: 10px;
  padding: 5px 10px;
  cursor: pointer;
}

.complete-btn { background: #6c63ff; color: white; }
.delete-btn { background: #ff5e5e; color: white; }
