* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  background: linear-gradient(135deg, #1e1e2f, #25274d);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.container {
  width: 100%;
  min-width: 400px;
  padding: 20px;
}
.todo-app {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}
h2 {
  display: flex;
  justify-content: center;
  align-items: center;
}
.row {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}
input {
  flex: 1;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.2);
  padding: 12px 15px;
  border-radius: 10px;
  color: #fff;
}
button {
  border: none;
  outline: none;
  padding: 12px 15px;
  background: #ff4b2b;
  color: #fff;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}
button:hover {
  background: #ff416c;
}
ul li {
  list-style: none;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}
ul li.checked {
  text-decoration: line-through;
  opacity: 0.6;
}
ul li span {
  color: #ff4b2b;
  font-weight: bold;
  padding: 5px;
}
#task-count {
  color: #fff;
  margin-left: 8px;
}
