body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #000; /* clean pure black */
  color: #111;            /* slightly softened text color for contrast */
}

.todo-container {
  width: 360px;
  margin: 80px auto;
  padding: 24px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

h1 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: #111;
}

.input-section {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

#todo-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#todo-input:focus {
  border-color: #0078d7;
  box-shadow: 0 0 4px rgba(0, 120, 215, 0.3);
}

#add-btn {
  padding: 10px 16px;
  background-color: #0078d7;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

#add-btn:hover {
  background-color: #005ea6;
}

#add-btn:active {
  transform: scale(0.96);
}

ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

ul > li {
  display: flex;
  justify-content:space-between;
  align-items: center;
  font-size: 16px;
  padding: 10px 12px;
  margin-bottom: 10px;
  background: #f6f7f8;
  transition: background 0.2s;
}

.done:hover{
  color: blue;
}

.del:hover{
  color: red;
}
