body { font-family: Arial, sans-serif; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #f0f0f0; } .container { background: white; padding: 20px; border-radius: 5px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } ul { list-style: none; padding: 0; } li { display: flex; justify-content: space-between; padding: 10px; border-bottom: 1px solid #ddd; } li.completed { text-decoration: line-through; color: #888; } input[type="text"], input[type="date"] { margin: 5px 0; padding: 10px; border: 1px solid #ddd; border-radius: 3px; width: calc(100% - 22px); } button { background: #007BFF; color: white; border: none; padding: 10px 15px; border-radius: 3px; cursor: pointer; margin-left: 5px; } button:hover { background: #0056b3; } .task-details { display: flex; flex-direction: column; align-items: flex-start; } .task-details span { margin: 2px 0; font-size: 0.9em; color: #555; }