/* Reset and base styles */
html,
body {
  padding: 0;
  margin: 0;
  min-height: 100%;
  max-width: 100%;
  font-family: var(--font-main), -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
    Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ensure all text uses the main font */
* {
  font-family: var(--font-main) !important;
}

a {
  text-decoration: none !important;
}

a:hover {
  opacity:90.8;
}

/* Map container z-index fix for Leaflet */
.map-container-z-index .leaflet-container {
  z-index: 0 !important;
}

/* Persian number display */
.persian-numbers {
  font-feature-settings: 'liga' off;
}

/* Loading overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--mui-palette-grey-100);
}

::-webkit-scrollbar-thumb {
  background: #7a7a7a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #363636;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--mui-palette-primary-main);
  outline-offset: 2px;
}

.mpz-rtl-placeholder::-moz-placeholder {
  text-align: right !important;
  direction: rtl !important;
}

.mpz-rtl-placeholder::placeholder {
  text-align: right !important;
  direction: rtl !important;
}

@font-face {
font-family: 'iransans';
src: url(/_next/static/media/bbedf563e7c362f2-s.p.woff2) format('woff2');
font-display: swap;
font-weight: 100;
}

@font-face {
font-family: 'iransans';
src: url(/_next/static/media/38e2f7bda64d61b8-s.p.woff2) format('woff2');
font-display: swap;
font-weight: normal;
}

@font-face {
font-family: 'iransans';
src: url(/_next/static/media/81c9d92bf3400fc2-s.p.woff2) format('woff2');
font-display: swap;
font-weight: bold;
}

@font-face {
font-family: 'iransans';
src: url(/_next/static/media/e958cf9b43a74863-s.p.woff2) format('woff2');
font-display: swap;
font-weight: 900;
}@font-face {font-family: 'iransans Fallback';src: local("Arial");ascent-override: 98.13%;descent-override: 49.06%;line-gap-override: 0.00%;size-adjust: 101.91%
}.__className_7a0541 {font-family: 'iransans', 'iransans Fallback'
}.__variable_7a0541 {--font-main: 'iransans', 'iransans Fallback'
}

