/* Tasks List View Styles */

.tasks-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tasks-table thead {
    background: #f5f5f5;
}

.tasks-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #ddd;
    cursor: pointer;
    user-select: none;
}

.tasks-table th:hover {
    background: #e8e8e8;
}

.tasks-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.tasks-table tbody tr:hover {
    background: #f9f9f9;
}

.tasks-table tbody tr:last-child td {
    border-bottom: none;
}

.status-badge, .priority-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 500;
}

.status-todo { background: #e3f2fd; color: #1976d2; }
.status-in-progress { background: #fff3e0; color: #f57c00; }
.status-done { background: #e8f5e9; color: #388e3c; }
.status-blocked { background: #ffebee; color: #d32f2f; }

.priority-low { background: #e3f2fd; color: #1976d2; }
.priority-medium { background: #e8f5e9; color: #388e3c; }
.priority-high { background: #fff3e0; color: #f57c00; }
.priority-critical { background: #ffebee; color: #c62828; }

.filters-bar {
    display: flex;
    gap: 8px;
    padding: 16px;
    background: white;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filters-bar select,
.filters-bar input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.filters-bar input[type="text"] {
    flex: 1;
    min-width: 150px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 16px;
    margin-top: 16px;
}

.pagination button {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination button:hover:not(:disabled) {
    background: #f5f5f5;
}

.loading, .empty, .error {
    text-align: center;
    padding: 40px;
    color: #666;
}

.error {
    color: #d32f2f;
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 16px;
}

.btn-icon:hover {
    background: #f5f5f5;
    border-radius: 4px;
}









