body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 50px;
  margin: 0;
}

.container {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  width: 450px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  text-align: center;
}

h1 {
  margin-bottom: 20px;
  color: #333;
}

.task-input {
  display: flex;
  margin-bottom: 20px;
}

.task-input input {
  padding: 10px;
  border: 1px solid #ccc;
  outline: none;
}

#taskInput {
  flex: 2;
  border-radius: 8px 0 0 8px;
}

#taskDateTime {
  flex: 1;
  border-left: none;
}

.task-input button {
  padding: 10px 20px;
  background: #2575fc;
  color: white;
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}

.task-input button:hover {
  background: #1e5ed6;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  background: #f4f4f4;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

ul li.completed span {
  text-decoration: line-through;
  color: gray;
}

.task-actions button {
  margin-left: 5px;
  border: none;
  padding: 5px 8px;
  border-radius: 5px;
  cursor: pointer;
}

.complete-btn { background: green; color: white; }
.edit-btn { background: orange; color: white; }
.delete-btn { background: red; color: white; }
