/* General Styling */
body {
  font-family: "Comic Sans MS", cursive, sans-serif;
  background: linear-gradient(135deg, #ffe6f0, #e6f7ff);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.container {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.15);
  width: 350px;
  text-align: center;
}

h1 {
  color: #ff66b2;
  margin-bottom: 20px;
}

/* Input Section */
.input-section {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

input {
  flex: 1;
  padding: 10px;
  border: 2px solid #ff99cc;
  border-radius: 10px;
  outline: none;
}

button {
  background: #ff66b2;
  border: none;
  padding: 10px 15px;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #ff3385;
}

/* Task List */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  background: #ffe6f7;
  margin: 8px 0;
  padding: 10px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}

li:hover {
  background: #ffd6f2;
}

li.completed {
  text-decoration: line-through;
  color: gray;
  background: #e6e6e6;
}

.delete-btn {
  background: #ff4d94;
  border: none;
  border-radius: 50%;
  color: white;
  padding: 5px 10px;
  cursor: pointer;
}

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