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

body {
background: linear-gradient(to right, #000428, #004e92);
}

.container {
    max-width: 750px;
    margin: auto;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

h1 {
    font-family: Boomster;
    margin-bottom: 20px;
    
}

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

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

/* Buttons */
.btn {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.btn-add {
    background: #27ae60;
    color: white;
}

.btn-add:hover {
    background: #1e8c4d;
}

.btn-filter {
    background: #3498db;
    color: white;
}

.btn-filter:hover {
    background: #2d80b9;
}

.btn-delete-all {
    background: #e74c3c;
    color: white;
}

.btn-delete-all:hover {
    background: #c0392b;
}

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

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

.filter-btn {
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: #bdc3c7;
    color: #333;
}

.filter-btn:hover {
    background: #a7b1b5;
}

/* Table */
.todo-table {
    width: 100%;
}

.table-header, .todo-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

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

.no-task {
    text-align: center;
    padding: 20px;
    color: #777;
}

.todo-item {
    background: white;
}

.todo-item:nth-child(even) {
    background: #f9f9f9;
}

/* Status badge */
.status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    text-align: center;
}

.status.complete {
    background: #27ae60;
    color: white;
}

.status.pending {
    background: #f1c40f;
    color: white;
}

/* Action buttons */
.action-btn {
    padding: 5px 10px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 14px;
}

.btn-done {
    background: #2ecc71;
}

.btn-edit {
    background: #3498db;
}

.btn-delete {
    background: #e74c3c;
}

.action-btn:hover {
    opacity: 0.85;
}
