body {
    font-family: Arial;
    background-color: #0f172a;
    color: white;
    text-align: center;
}

.container {
    margin: 50px auto;
    max-width: 500px;
    background: #111827;
    padding: 20px;
    border-radius: 10px;
}

.input-area {
    display: flex;
    justify-content: center;
    gap: 10px;
}

input {
    width: 70%;
    padding: 10px;
}

button {
    padding: 10px;
    background: #2563eb;
    color: white;
    border: none;
    cursor: pointer;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    background: #1e293b;
    margin: 10px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

/* CSS handles completed task behavior */
.completed {
    text-decoration: line-through;
    background: #065f46;
}

/* Delete button style */
.deleteBtn {
    background: red;
    color: white;
    border: none;
}

/* Hover effect purely by CSS */
li:hover {
    transform: scale(1.02);
}
