body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5d9;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 400px;
}

h1 {
    text-align: center;
    color: #333;
}

.input-container {
    display: flex;
    margin-bottom: 20px;
}

#task-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

#add-task-btn {
    padding: 10px;
    border: none;
    background: #006400;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
}

#add-task-btn:hover {
    background: #004d00;
}

#task-list {
    list-style: none;
    padding: 0;
}

.task-item {
    background: #eee;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.task-item.completed {
    text-decoration: line-through;
    color: #888;
}

.task-item span {
    flex: 1;
    cursor: pointer;
}

.task-item .edit-btn, .task-item .delete-btn {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
}

.task-item .edit-btn {
    color: #007bff;
}

.task-item .delete-btn {
    color: #dc3545;
}