body {
    background-color: #f0f2f5;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.todo-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 450px;
    text-align: center;
}

.input-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#addBtn {
    background: #4f6bff;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 5px;
    cursor: pointer;
}

.filter-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #e0e0e0;
    cursor: pointer;
}

.filter-btn.active {
    background: #4f6bff;
    color: white;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 5px;
    border-left: 5px solid #4f6bff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

li.completed-item {
    border-left-color: #2ecc71;
    opacity: 0.6;
}

.task-text {
    flex: 1;
    text-align: left;
    cursor: pointer;
}

.actions {
    display: flex;
    gap: 5px;
}

.btn-del {
    background: #ff5e5e;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-done {
    background: #2ecc71;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}
