body {
  font-family: Arial, sans-serif;
  background: #f4f6f8;
  display: flex;
  justify-content: center;
  padding-top: 60px;
}

.container {
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: 320px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

h1 {
  text-align: center;
}

.input-area {
  display: flex;
  gap: 8px;
}

input {
  flex: 1;
  padding: 8px;
}

button {
  padding: 8px 12px;
  cursor: pointer;
}

h2 {
  margin-top: 20px;
  font-size: 16px;
  color: #666;
}

.delete-btn {
  background: crimson;
  color: white;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
}


.completed span {
  text-decoration: line-through;
  opacity: 0.6;
  color: #999;
}

li {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

li span {
  flex: 1;
}

input[type="checkbox"] {
  transform: scale(1.2);
}

