@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');

body {
  font-family: 'Tajawal', sans-serif;
}

/* ── Mobile Drawer Menu ─────────────────────────────────── */
#mobileMenuOverlay {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

#mobileMenuOverlay.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

#mobileMenuBackdrop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#mobileMenuBackdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  color: #475569;
  transition: background 0.18s ease, color 0.18s ease, transform 0.15s ease;
  position: relative;
}

.mobile-nav-link:hover {
  background: #f1f5f9;
  color: #0B4A6F;
  transform: translateX(-3px);
}

.mobile-nav-link.active {
  background: linear-gradient(135deg, rgba(11, 74, 111, 0.08), rgba(11, 74, 111, 0.04));
  color: #0B4A6F;
}

.mobile-nav-link .nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: #f1f5f9;
  color: #94a3b8;
  transition: background 0.18s ease, color 0.18s ease;
  flex-shrink: 0;
}

.mobile-nav-link.active .nav-icon {
  background: #0B4A6F;
  color: #fff;
}

.mobile-nav-link:hover .nav-icon {
  background: #0B4A6F;
  color: #fff;
}


.custom-marker {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #8DC63F;
  border: 2px solid white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 0 0 6px rgba(141, 198, 63, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0B4A6F;
}

.leaflet-popup-content-wrapper {
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  padding: 0;
}

.leaflet-popup-content {
  margin: 1rem;
}

.leaflet-container {
  font-family: inherit;
}

.leaflet-popup-close-button {
  display: none;
}

@keyframes mobileResultFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}