<!doctype html>
<html lang="ar" dir="rtl">

<head>
  <meta charset="UTF-8" />
  <link rel="icon" type="image/svg+xml" href="/vite.svg" />
  <meta name="viewport"
    content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
  <title>منصة LMS التعليمية</title>

  <!-- PWA Meta Tags -->
  <link rel="manifest" href="/manifest.json" />
  <meta name="theme-color" content="#6366f1" />
  <meta name="mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
  <meta name="apple-mobile-web-app-title" content="LMS" />
  <link rel="apple-touch-icon" href="/icons/icon-192x192.svg" />
  <meta name="application-name" content="LMS" />
  <meta name="msapplication-TileColor" content="#6366f1" />

  <!-- Google Fonts - Arabic Fonts -->
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link
    href="https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;800;900&family=Amiri:ital,wght@0,400;0,700;1,400;1,700&family=Noto+Sans+Arabic:wght@300;400;500;600;700;800;900&family=Almarai:wght@300;400;700;800&family=Changa:wght@300;400;500;600;700;800&family=El+Messiri:wght@400;500;600;700&family=Harmattan:wght@400;700&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=Lateef:wght@400;700;800&family=Markazi+Text:wght@400;500;600;700&family=Reem+Kufi:wght@400;500;600;700&family=Scheherazade+New:wght@400;700&display=swap"
    rel="stylesheet">
  <script type="module" crossorigin src="/assets/index-B4mwbgui.js"></script>
  <link rel="modulepreload" crossorigin href="/assets/ui-vendor-BQCqNqg0.js">
  <link rel="modulepreload" crossorigin href="/assets/react-vendor-cn-DomjM.js">
  <link rel="stylesheet" crossorigin href="/assets/index-nnskCRFi.css">
</head>

<body>
  <script>
    // Force clear old Service Worker and caches (one-time fix)
    (function () {
      if ('serviceWorker' in navigator && !localStorage.getItem('sw-cleared-v4')) {
        navigator.serviceWorker.getRegistrations().then(function (registrations) {
          registrations.forEach(function (registration) {
            registration.unregister();
          });
        });
        caches.keys().then(function (names) {
          names.forEach(function (name) {
            caches.delete(name);
          });
        });
        localStorage.setItem('sw-cleared-v4', 'true');
        // Reload to get fresh content
        setTimeout(function () { location.reload(); }, 500);
      }
    })();
  </script>
  <div id="root"></div>
</body>

</html>