import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
import './index.css';
import './styles/m3-tokens.css';
import './styles/m3-components.css';
import './styles/m3-forms.css';
import './styles/m3-table.css';
import './styles/m3-dialog.css';
import './styles/m3-navigation.css';
import './styles/m3-website-tokens.css';
import './styles/m3-website-components.css';
import './styles/admin-design-system.css';
import './styles/mobile-enhancements.css';
import { AuthProvider } from './contexts/AuthContext';
import './utils/serviceWorkerRegistration';

ReactDOM.createRoot(document.getElementById('root')!).render(
  <React.StrictMode>
    <AuthProvider>
      <App />
    </AuthProvider>
  </React.StrictMode>
);