
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f4f4f4;
    padding: 20px;
}

.buatsemua {
    max-width: 700px;
    background: #fff;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

/* Input Section */
.input-section {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.input-section input {
    padding: 10px;
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.btn {
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.btn-add {
    background: #000000;
    color: #fff;
    font-size: 18px;
}

/* Action*/
.action-section {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.btn-filter {
    background: #06b2e1;
    color: #fff;
}

.btn-delete-all {
    background: #dc3545;
    color: #fff;
}

/* Filter opsi*/
.filter-options {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-btn {
    padding: 8px 12px;
    border: 1px solid #007bff;
    background: #fff;
    cursor: pointer;
    border-radius: 5px;
}

.filter-btn.active {
    background: #007bff;
    color: #fff;
}

/* Table */
.table-header, .todo-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

.table-header {
    font-weight: bold;
    background: #eaeaea;
}

.todo-item {
    background: #fff;
}

.todo-item.completed {
    opacity: 0.6;
    text-decoration: line-through;
}

/* Status */
.status-badge {
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 13px;
}

.status-completed {
    background: #28a745;
    color: #fff;
}

.status-pending {
    background: #ffc107;
}

/* Action buttons inside list */
.action-btn {
    padding: 6px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-complete {
    background: #17a2b8;
    color: white;
}
