body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 20px;
  background: linear-gradient(135deg, #f9dbbdff 0%, #da627dff 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#todoContainer {
  width: 50%;
  max-width: 450px;
  min-width: 300px;
  margin: auto;
  padding: 30px;
  background-color: #f9dbbdff;
  border: 1px solid #da627dff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

h2 {
  text-align: center;
  color: #a53860ff;
  margin-bottom: 20px;
  font-weight: 600;
}

#todoContainer > div:first-of-type {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

input[type=text] {
  flex: 1;
  padding: 12px;
  border: 2px solid #da627dff;
  background-color: #f9dbbdff;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

input[type=text]:focus {
  outline: none;
  border-color: #ffa5abff;
  box-shadow: 0 0 5px rgba(255, 165, 171, 0.5);
}

button {
  padding: 12px 18px;
  background-color: #ffa5abff;
  color: #450920ff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

button:hover {
  background-color: #a53860ff;
  color: #f9dbbdff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

ul {
  list-style: none;
  padding: 0;
  margin-top: 25px;
}

li {
  padding: 15px;
  border-bottom: 1px solid #da627dff;
  cursor: pointer;
  background-color: #f9dbbdff;
  border-radius: 8px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

li:hover {
  background-color: #da627dff;
  transform: translateX(5px);
}

li.strike {
  text-decoration: line-through;
  color: #a53860ff;
  background-color: #da627dff;
  opacity: 0.7;
}

li.removing {
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.filters {
  margin-top: 25px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.filters button {
  margin: 0;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 14px;
}

.count {
  margin-top: 15px;
  color: #a53860ff;
  text-align: center;
  font-weight: 500;
}

.delete {
  color: #ffa5abff;
  margin-left: 10px;
  cursor: pointer;
  font-size: 18px;
  transition: color 0.3s ease;
}

.delete:hover {
  color: #a53860ff;
}
