* { box-sizing: border-box; margin: 0; padding: 0; font-family: Arial, sans-serif; } body { display: flex; justify-content: center; align-items: center; min-height: 100vh; background: #f0f0f5; } .todo-container { width: 90%; max-width: 400px; background: white; padding: 20px; border-radius: 15px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); } .todo-header { display: flex; gap: 10px; } input { flex: 1; padding: 10px; border: 1px solid #ccc; border-radius: 10px; outline: none; } button { background: #4caf50; color: white; border: none; padding: 10px 15px; border-radius: 10px; cursor: pointer; font-size: 16px; } .todo-list { margin-top: 20px; } .todo-item { display: flex; align-items: center; justify-content: space-between; padding: 10px; border-bottom: 1px solid #eee; } .todo-item.completed span { text-decoration: line-through; color: #888; } .todo-item input[type="checkbox"] { margin-right: 10px; } .delete-btn { background: none; border: none; color: red; font-size: 20px; cursor: pointer; }