body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background-color: #0f172a;
  color: #e2e8f0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.widget {
  background-color: #1e293b;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

h2 {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 15px;
}

.task-input {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

#taskInput {
  flex: 1;
  padding: 8px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  background-color: #334155;
  color: white;
}

button {
  background-color: #3b82f6;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  color: white;
  cursor: pointer;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  background-color: #334155;
  margin-bottom: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: grab;
}

li.dragging {
  opacity: 0.5;
}

li.checked {
  opacity: 0.3;
  text-decoration: line-through;
}

li input[type="checkbox"] {
  transform: scale(1.2);
}
