body {
  font-family: Arial, sans-serif;
  background: #e8ecf1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 60px;
}

.container {
  background: #ffffff;
  padding: 24px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  width: 340px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  color: #1a202c;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 8px;
}

.input-group {
  display: flex;
}

input {
  flex: 1;
  padding: 10px;
  border: 1px solid #bfc7d1;
  border-radius: 4px 0 0 4px;
  outline: none;
  font-size: 14px;
}

input:focus {
  border-color: #4a5568;
}

button {
  padding: 10px 16px;
  border: none;
  background: #4a5568;
  color: white;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
  font-size: 14px;
}

button:hover {
  background: #2d3748;
}

ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

li {
  padding: 8px 4px;
  color: #2d3748;
  cursor: pointer;
  border-radius: 4px;
}

li:hover {
  background: #edf2f7;
}

.completed {
  text-decoration: line-through;
  opacity: 0.6;
}

li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 4px;
  cursor: pointer;
  border-radius: 4px;
  position: relative;
  padding-left: 18px;
}

li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #4a5568;
}

.delete-btn {
  background: transparent;
  border: 1px solid #cbd5e0;
  color: #2d3748;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
}

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

.hint {
  font-size: 13px;
  color: #718096;
  margin: -10px 0 10px 0;
}

.filters {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}

.filter-btn {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e0;
  background: #fff;
  color: #2d3748;              
  cursor: pointer;
  font-size: 13px;

  border: 1px solid #cbd5e0;
}

.filter-btn:hover {
  background: #edf2f7;
}

.filter-btn.active {
  font-weight: 600;
  background: #4a5568;
  color: #fff;
  border-color: #4a5568;
}

.footer {
  display: flex;
  justify-content: flex-start;
  font-size: 13px;
  color: #718096;
  margin-top: -6px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between; 
  gap: 12px;
  font-size: 13px;
  color: #718096;
  margin-top: -6px;
}


#clearCompletedBtn {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #cbd5e0;
  background: #fff;
  color: #2d3748;
  cursor: pointer;
  font-size: 13px;
}

#clearCompletedBtn:hover {
  background: #edf2f7;
}

#clearCompletedBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}