body {
    font-family: sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.container {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

#todo-form {
    display: flex;
    margin-bottom: 20px;
}

#todo-input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

#todo-form button {
    padding: 10px 15px;
    background-color: #5cb85c;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
}

#todo-form button:hover {
    background-color: #4cae4c;
}

#todo-list {
    list-style: none;
    padding: 0;
}

#todo-list li {
    background-color: #f9f9f9;
    padding: 10px;
    border: 1px solid #eee;
    margin-bottom: 8px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#todo-list li.completed span {
    text-decoration: line-through;
    color: #aaa;
}

#todo-list li span {
    cursor: pointer;
    flex-grow: 1;
}

#todo-list li .actions button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-left: 8px;
}

#todo-list li .actions .delete-btn {
    color: #d9534f;
}
#todo-list li .actions .delete-btn:hover {
    color: #c9302c;
}

#todo-list li .actions .toggle-btn {
    color: #0275d8;
}
#todo-list li .actions .toggle-btn:hover {
    color: #025aa5;
}
