/* ============================================================================
   NIMBADASH - DESIGN SYSTEM & ENHANCED STYLES
   ============================================================================ */

:root {
  --primary: #ff3008; /* DoorDash Red vibe */
  --primary-hover: #e02805;
  --secondary: #10b981;
  --dark-bg: #0f172a;
  --card-bg: #1e293b;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Animations */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(255, 48, 8, 0.4);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 48, 8, 0.8);
  }
}

.pulse-glow {
  animation: pulseGlow 2s infinite;
}

@keyframes flashRed {
  0%, 100% {
    background-color: #dc2626;
  }
  50% {
    background-color: #991b1b;
  }
}

.flash-red {
  animation: flashRed 1s infinite;
}

/* Leaflet Map overrides */
.leaflet-container {
  width: 100%;
  height: 100%;
  border-radius: 0.75rem;
  background: #1e293b;
}

/* Custom Marker styling */
.custom-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-weight: bold;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.custom-pin:hover {
  transform: scale(1.15);
}

/* Responsive multiplex grid */
.multiplex-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  height: calc(100vh - 110px);
}

@media (max-width: 1024px) {
  .multiplex-grid {
    grid-template-columns: 1fr;
    height: auto;
  }
}

/* Shimmer loading */
.skeleton {
  background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
