* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background: #f0f2f5; display: flex; justify-content: center; align-items: center; min-height: 100vh; }
.container { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); width: 400px; }
h1 { text-align: center; color: #333; margin-bottom: 20px; }
.input-area { display: flex; gap: 10px; margin-bottom: 20px; }
input { flex: 1; padding: 12px; border: 1px solid #ddd; border-radius: 6px; outline: none; font-size: 16px; }
input:focus { border-color: #4a90e2; }
button { padding: 12px 20px; background: #4a90e2; color: #fff; border: none; border-radius: 6px; cursor: pointer; font-size: 16px; transition: 0.3s; }
button:hover { background: #357abd; }
ul { list-style: none; }
li { background: #f9f9f9; padding: 15px; margin-bottom: 10px; border-radius: 6px; display: flex; justify-content: space-between; align-items: center; transition: 0.3s; }
li.completed { text-decoration: line-through; color: #888; background: #eef; }
.actions { display: flex; gap: 10px; }
.complete-btn { background: #2ecc71; padding: 5px 10px; border-radius: 4px; color: white; cursor: pointer; border: none; font-size: 12px; }
.delete-btn { background: #e74c3c; padding: 5px 10px; border-radius: 4px; color: white; cursor: pointer; border: none; font-size: 12px; }
.complete-btn:hover { background: #27ae60; }
.delete-btn:hover { background: #c0392b; }
