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

.todo-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 400px;
    text-align: center;
}

.todo-container h2 {
    margin-bottom: 20px;
    color: #333;
}

.todo-form {
    display: flex;
    margin-bottom: 20px;
}

.todo-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.todo-form button {
    padding: 10px 15px;
    border: none;
    background-color: #5c7cfa;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.todo-form button:hover {
    background-color: #4b69f1;
}

.todo-list {
    text-align: left;
}

.todo-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.todo-item input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
}

.todo-item span {
    flex: 1;
}

.todo-item .completed {
    text-decoration: line-through;
    color: #999;
}

.todo-item .todo-time {
    color: #888;
    font-size: 0.8em;
}

.delete-btn {
    color: #ff5252;
    cursor: pointer;
    font-size: 1.2em;
}

.delete-btn:hover {
    color: #ff0000;
}
