@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Faruma&display=swap');

:root {
  --primary: #0F4C81;
  --primary-dark: #0A3258;
  --primary-light: #EBF4FC;
  --accent: #10B981;
  --accent-light: #ECFDF5;
  --warning: #F59E0B;
  --danger: #EF4444;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-600: #475569;
  --slate-100: #F1F5F9;
  --border: #E2E8F0;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: #1E293B;
  background-color: #F8FAFC;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

[dir="rtl"] {
  font-family: 'Faruma', 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

.gradient-header {
  background: linear-gradient(135deg, #0F4C81 0%, #1E3A8A 50%, #1D4ED8 100%);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.badge-company {
  background-color: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

.badge-vendor {
  background-color: #F0FDF4;
  color: #15803D;
  border: 1px solid #BBF7D0;
}

.badge-health {
  background-color: #ECFDF5;
  color: #047857;
}

/* Modal animations */
.modal-overlay {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  transition: opacity 0.2s ease-in-out;
}

.modal-content {
  animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* AI Floating Pulse Button */
.ai-pulse-btn {
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4), 0 8px 10px -6px rgba(37, 99, 235, 0.2);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ai-pulse-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 20px 30px -10px rgba(37, 99, 235, 0.5);
}

/* Live Map Container */
#map, .leaflet-container {
  border-radius: 1rem;
  z-index: 10;
}
