/* Shared by initial HTML and React; available before the JS bundle or Eitaa SDK. */
@import url('./theme.css');
html, body { margin: 0; background: var(--paper); color: var(--text); font-family: 'Vazirmatn', sans-serif; }
.loading-screen { box-sizing: border-box; width: 100%; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: calc(40px + env(safe-area-inset-top, 0px)) 28px calc(40px + env(safe-area-inset-bottom, 0px)); background: var(--paper); color: var(--text); text-align: center; direction: rtl; }
.loading-identity { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.loading-icon { width: 112px; height: 112px; object-fit: contain; border-radius: 12px; }
.loading-identity h1 { margin: 0; font-size: 32px; font-weight: 800; line-height: 1.6; }
.loading-message { margin: 0; max-width: 320px; font-size: 14px; line-height: 2; color: var(--muted); overflow-wrap: anywhere; }
.spinner { box-sizing: border-box; width: 20px; height: 20px; flex-shrink: 0; border: 2px solid var(--green); border-top-color: var(--olive); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
