@import "tailwindcss";

/* ─── Madani Arabic Font ─── */
@font-face {
  font-family: 'Madani Arabic';
  src: url('/fonts/Madani Arabic Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Madani Arabic';
  src: url('/fonts/Madani Arabic Extra Light.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Madani Arabic';
  src: url('/fonts/Madani Arabic Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Madani Arabic';
  src: url('/fonts/Madani-Arabic-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Madani Arabic';
  src: url('/fonts/Madani Arabic Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Madani Arabic';
  src: url('/fonts/Madani Arabic Semi Bold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Madani Arabic';
  src: url('/fonts/Madani-Arabic-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Madani Arabic';
  src: url('/fonts/Madani Arabic Extra Bold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Madani Arabic';
  src: url('/fonts/Madani Arabic Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: block;
}

:root {
  --background: #ede6e6;
  --foreground: #156874;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --font-sans: var(--font-geist-sans);
  --font-mono: var(--font-geist-mono);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #ede6e6;
    --foreground: #156874;
  }
}

html, body {
  font-family: 'Madani Arabic', 'Noto Sans Arabic', 'Cairo', Arial, sans-serif;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Madani Arabic', 'Noto Sans Arabic', 'Cairo', Arial, sans-serif;
}

.leaflet-container {
  font-family: inherit;
  width: 100%;
  height: 100%;
}

.leaflet-popup-content-wrapper {
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.leaflet-popup-content {
  margin: 0;
  min-width: 200px;
}

.leaflet-popup-tip {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.custom-marker {
  background: transparent;
  border: none;
}

.custom-marker div {
  transition: transform 0.2s ease;
}

.custom-marker:hover div {
  transform: scale(1.1);
}

.property-tooltip {
  background: white !important;
  color: #1f2937 !important;
  font-weight: 500 !important;
  font-size: 0.875rem !important;
  padding: 0.5rem 1rem !important;
  border-radius: 0.75rem !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.property-tooltip::before {
  border-top-color: white !important;
}