* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
  padding: 50px 20px;
}

.container {
  background: white;
  max-width: 500px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
  color: #333;
  text-align: center;
  margin-bottom: 25px;
}

.input-section {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

#taskInput {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
}

#taskInput:focus {
  outline: none;
  border-color: #4caf50;
}

#addButton {
  padding: 10px 20px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#addButton:hover {
  background-color: #45a049;
}

#taskList {
  list-style: none;
}

#taskList li {
  background: #f9f9f9;
  padding: 12px;
  margin-bottom: 8px;
  border-radius: 5px;
  border-left: 3px solid #4caf50;
}

#taskList li:hover {
  background: #f0f0f0;
}

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