// Simple background service worker - no notifications
console.log('DCS Extension background script loaded');

// Listen for extension installation
chrome.runtime.onInstalled.addListener((details) => {
  console.log('DCS Credit Application Extension installed successfully');
});

// Listen for messages from popup and content scripts
chrome.runtime.onMessage.addListener((request, sender, sendResponse) => {
  console.log('Background received message:', request.action);
  
  // Simple echo response
  sendResponse({ 
    success: true, 
    message: 'Background service running' 
  });
});

console.log('DCS Extension background service initialized');