/* Driver Map Styles */

/* Map Container */
.driver-map-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  position: relative;
  width: 100% !important;
  height: 100% !important;
}

/* Leaflet Map Customizations - scoped to driver map */
.driver-map-container .leaflet-container {
  flex-grow: 1;
  width: 100% !important;
  height: 100% !important;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Driver Pin (Teardrop Shape) */
.driver-pin {
  width: 36px;
  height: 36px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.driver-pin:hover {
  transform: rotate(-45deg) scale(1.1);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.driver-pin span {
  transform: rotate(45deg);
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Driver Pin Status Colors */
.driver-pin.available {
  background-color: #10B981; /* green-500 */
  border-color: #FFFFFF;
}

.driver-pin.on-delivery {
  background-color: #3B82F6; /* blue-500 */
  border-color: #FFFFFF;
}

.driver-pin.returning {
  background-color: #F97316; /* orange-600 */
  border-color: #FFFFFF;
}

.driver-pin.offline {
  background-color: #6B7280; /* gray-500 */
  border-color: #FFFFFF;
}

/* Staleness Indicator - Pulsing Red Border */
.driver-pin.stale {
  border-color: #EF4444 !important; /* red-500 */
  border-width: 3px;
  animation: pulse-border 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-border {
  0%, 100% {
    border-color: #EF4444;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  50% {
    border-color: #DC2626; /* red-600 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 0 0 8px rgba(239, 68, 68, 0);
  }
}

/* Driver Marker Container */
.driver-marker {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  cursor: pointer;
  transition: filter 0.2s ease;
}

.driver-marker:hover {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Store Marker */
.store-marker {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
  cursor: pointer;
  transition: filter 0.2s ease;
}

.store-marker:hover {
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

/* Order Pin (Smaller Circular Shape) */
.order-pin {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid #FFFFFF;
}

.order-pin:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
  z-index: 900;
}

/* Enhanced hover for active delivery markers */
.order-pin.out-for-delivery:hover,
.order-pin.active-delivery:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5),
              0 0 16px rgba(249, 115, 22, 0.7);
}

.order-pin span {
  font-size: 0.75rem;
  display: inline-block;
}

/* Order Pin Status Colors */
.order-pin.ready {
  background-color: #F59E0B; /* amber-500 */
}

.order-pin.batch-assigned {
  background-color: #3B82F6; /* blue-500 */
}

.order-pin.out-for-delivery,
.order-pin.active-delivery {
  background-color: #F97316; /* orange-600 - distinct from other statuses */
  position: relative;
  z-index: 450; /* Slightly higher than other orders */
  transform: scale(1.08); /* Slightly larger for distinction */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4),
              0 0 0 3px rgba(249, 115, 22, 0.3); /* Static glow effect */
}

/* Static enhancement for active delivery markers (no animation) */
.order-pin.out-for-delivery::before,
.order-pin.active-delivery::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 140%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, rgba(249, 115, 22, 0) 70%);
  z-index: -1;
}

.order-pin.delivered,
.order-pin.completed {
  background-color: #10B981; /* green-500 */
}

.order-pin.delivery-attempted,
.order-pin.returned-undeliverable {
  background-color: #EF4444; /* red-500 */
  animation: pulse-warning 2s ease-in-out infinite;
}

/* REMOVED: pulse-order and pulse-glow-ring animations for accessibility */
/* Active delivery markers now use static styling with distinct orange color */

@keyframes pulse-warning {
  0%, 100% {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  50% {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 0 6px rgba(239, 68, 68, 0);
  }
}

/* Order Marker Container */
.order-marker {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
  cursor: pointer;
  transition: filter 0.2s ease;
  z-index: 400;
}

.order-marker:hover {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  z-index: 900;
}

/* Popup Styles */
.leaflet-popup-content-wrapper {
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 0;
  overflow: hidden;
}

.leaflet-popup-content {
  margin: 0;
  min-width: 220px;
  max-width: 300px;
}

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

.driver-popup {
  padding: 0.75rem;
}

.driver-popup h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827; /* gray-900 */
}

/* Legend Container */
.driver-map-legend {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border: 1px solid rgba(209, 213, 219, 0.5); /* gray-300 */
}

.driver-map-legend h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151; /* gray-700 */
  margin: 0 0 0.5rem 0;
}

.driver-map-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.375rem 0;
  font-size: 0.875rem;
  color: #6B7280; /* gray-500 */
}

.driver-map-legend-item .color-indicator {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Map Loading State */
.driver-map-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 1.5rem 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.driver-map-loading-spinner {
  width: 3rem;
  height: 3rem;
  border: 4px solid #E5E7EB; /* gray-200 */
  border-top-color: #3B82F6; /* blue-500 */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 0.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .driver-map-container {
    height: 400px;
    border-radius: 0.375rem;
  }

  .driver-pin {
    width: 32px;
    height: 32px;
  }

  .driver-pin span {
    font-size: 11px;
  }

  .order-pin {
    width: 20px;
    height: 20px;
  }

  .order-pin span {
    font-size: 0.65rem;
  }

  .driver-map-legend {
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }

  .driver-map-legend h4 {
    font-size: 0.75rem;
  }

  .driver-map-legend-item {
    margin: 0.25rem 0;
    font-size: 0.75rem;
  }

  .leaflet-popup-content {
    min-width: 180px;
  }

  .driver-popup {
    padding: 0.5rem;
  }

  .driver-popup h3 {
    font-size: 1rem;
  }

  .edge-indicator-marker {
    width: 20px;
    height: 20px;
  }

  .edge-indicator-arrow {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .driver-map-container {
    height: 350px;
  }

  .driver-pin {
    width: 28px;
    height: 28px;
  }

  .driver-pin span {
    font-size: 10px;
  }

  .order-pin {
    width: 18px;
    height: 18px;
  }

  .order-pin span {
    font-size: 0.6rem;
  }

  .driver-map-legend {
    display: none; /* Hide legend on very small screens to save space */
  }

  .edge-indicator-marker {
    width: 18px;
    height: 18px;
  }

  .edge-indicator-arrow {
    font-size: 0.7rem;
  }
}

/* Edge Indicators for Off-Screen Drivers */
.edge-indicator {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  cursor: pointer;
  z-index: 600; /* Above regular markers */
}

.edge-indicator-marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 600;
}

.edge-indicator-marker:hover {
  transform: scale(1.3);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.edge-indicator-marker:focus {
  outline: 2px solid #3B82F6;
  outline-offset: 2px;
}

.edge-indicator-arrow {
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 1;
  color: white;
}

/* Edge indicator colors based on driver status - use background colors */
.edge-indicator-marker.available {
  background-color: #10B981; /* green-500 */
}

.edge-indicator-marker.on-delivery {
  background-color: #3B82F6; /* blue-500 */
}

.edge-indicator-marker.returning {
  background-color: #F97316; /* orange-600 */
}

.edge-indicator-marker.offline {
  background-color: #6B7280; /* gray-500 */
}

/* Accessibility Enhancements */
.driver-marker:focus,
.order-marker:focus,
.store-marker:focus,
.edge-indicator:focus {
  outline: 2px solid #3B82F6; /* blue-500 */
  outline-offset: 2px;
}

.leaflet-container:focus {
  outline: 2px solid #3B82F6;
  outline-offset: -2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .driver-pin {
    border-width: 3px;
  }

  .order-pin {
    border-width: 3px;
  }

  .driver-map-legend {
    background-color: #FFFFFF;
    border: 2px solid #000000;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .driver-pin,
  .driver-marker,
  .order-pin,
  .order-marker,
  .store-marker,
  .edge-indicator-marker {
    transition: none;
  }

  .driver-pin.stale,
  .order-pin.out-for-delivery,
  .order-pin.active-delivery,
  .order-pin.delivery-attempted,
  .order-pin.returned-undeliverable,
  .store-marker > div,
  .driver-map-loading-spinner {
    animation: none;
  }

  /* Static styling already applied - no additional changes needed for reduced motion */
  /* Active delivery markers already use static orange color and scale */
}

/* Print Styles */
@media print {
  .driver-map-container {
    height: 500px;
    break-inside: avoid;
  }

  .driver-map-legend {
    background-color: #FFFFFF;
    border: 1px solid #000000;
  }
}

/* Route Visualization Styles */

/* Route Polyline */
.route-polyline {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.route-polyline:hover {
  opacity: 1 !important;
}

/* Sequence Markers */
.sequence-marker {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  z-index: 1000;
}

.sequence-number {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sequence-number:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

/* Route Highlighted Order Markers */
.order-pin.route-highlighted {
  transform: scale(1.15);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4),
              0 0 0 3px rgba(59, 130, 246, 0.3);
  z-index: 500;
}

@keyframes pulse-highlight {
  0%, 100% {
    transform: scale(1.15);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4),
                0 0 0 3px rgba(59, 130, 246, 0.3);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5),
                0 0 0 6px rgba(59, 130, 246, 0.5);
  }
}

/* Mobile Touch Enhancements */
@media (max-width: 768px) {
  /* Larger tap targets for mobile */
  .driver-pin {
    width: 32px;
    height: 32px;
    min-width: 44px;
    min-height: 44px;
  }

  .order-pin {
    width: 28px;
    height: 28px;
    min-width: 44px;
    min-height: 44px;
  }

  .sequence-number {
    min-width: 44px;
    min-height: 44px;
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  /* Touch feedback */
  .driver-marker:active,
  .order-marker:active,
  .sequence-marker:active {
    opacity: 0.7;
  }

  /* Simplified route line on mobile */
  .route-polyline {
    weight: 5;
  }
}

@media (max-width: 480px) {
  .driver-pin {
    width: 28px;
    height: 28px;
  }

  .order-pin {
    width: 24px;
    height: 24px;
  }

  .sequence-number {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
}

/* Loading State for Route Fetching */
.route-loading-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.route-loading-spinner {
  width: 1.5rem;
  height: 1.5rem;
  border: 3px solid #E5E7EB;
  border-top-color: #3B82F6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Accessibility - Keyboard Focus for Routes */
.route-polyline:focus {
  outline: 3px solid #3B82F6;
  outline-offset: 3px;
}

.sequence-marker:focus {
  outline: 2px solid #3B82F6;
  outline-offset: 2px;
}

/* High Contrast Mode for Routes */
@media (prefers-contrast: high) {
  .route-polyline {
    weight: 6;
  }

  .sequence-number {
    border-width: 3px;
  }

  .order-pin.route-highlighted {
    border-width: 4px;
  }
}

/* Reduced Motion - Disable Route Animations */
@media (prefers-reduced-motion: reduce) {
  .order-pin.route-highlighted {
    animation: none;
    transform: scale(1.15);
  }

  .sequence-number,
  .route-polyline {
    transition: none;
  }
}

/* Map Layer Toggle Overlay */
.map-layer-toggle-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1100;
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(209, 213, 219, 0.5);
}

.map-toggle-button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 2px solid rgba(209, 213, 219, 0.6);
  border-radius: 0.5rem;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  position: relative;
}

.map-toggle-button:hover {
  border-color: #3B82F6;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
  transform: translateY(-1px);
}

.map-toggle-button:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(59, 130, 246, 0.3);
}

.map-toggle-button:focus {
  outline: 2px solid #3B82F6;
  outline-offset: 2px;
}

.map-toggle-button.active {
  border-color: #3B82F6;
  background: white;
  opacity: 1;
}

.map-toggle-button.inactive {
  opacity: 0.4;
  filter: grayscale(100%);
  border-color: rgba(209, 213, 219, 0.4);
}

.map-toggle-button.inactive:hover {
  opacity: 0.6;
  filter: grayscale(80%);
}

/* Responsive adjustments for toggle overlay */
@media (max-width: 768px) {
  .map-layer-toggle-overlay {
    flex-direction: column;
    padding: 0.375rem;
    gap: 0.375rem;
    top: 0.5rem;
    left: 0.5rem;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
  }

  .map-toggle-button {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }

  .map-toggle-button svg,
  .map-toggle-button > div {
    width: 20px !important;
    height: 20px !important;
    font-size: 0.75rem !important;
  }
}

@media (max-width: 480px) {
  .map-layer-toggle-overlay {
    gap: 0.25rem;
    padding: 0.25rem;
  }

  .map-toggle-button {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }

  .map-toggle-button svg,
  .map-toggle-button > div {
    width: 18px !important;
    height: 18px !important;
    font-size: 0.7rem !important;
  }
}

/* High Contrast Mode for Toggle Overlay */
@media (prefers-contrast: high) {
  .map-layer-toggle-overlay {
    background: #FFFFFF;
    border: 2px solid #000000;
  }

  .map-toggle-button {
    border-width: 3px;
  }

  .map-toggle-button.active {
    border-color: #0000FF;
    background: #F0F0FF;
  }

  .map-toggle-button.inactive {
    opacity: 0.5;
    filter: grayscale(100%);
    border-color: #666666;
  }
}

/* Reduced Motion for Toggle Overlay */
@media (prefers-reduced-motion: reduce) {
  .map-toggle-button {
    transition: none;
  }

  .map-toggle-button:hover,
  .map-toggle-button:active {
    transform: none;
  }
}

/* Inline Toggle Buttons (in map header) */
.map-toggle-button-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  border: 2px solid rgba(209, 213, 219, 0.6);
  border-radius: 0.5rem;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.map-toggle-button-inline:hover {
  border-color: #3B82F6;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.map-toggle-button-inline:active {
  box-shadow: 0 1px 2px rgba(59, 130, 246, 0.2);
}

.map-toggle-button-inline:focus {
  outline: 2px solid #3B82F6;
  outline-offset: 2px;
}

.map-toggle-button-inline.active {
  border-color: #3B82F6;
  background: white;
  opacity: 1;
}

.map-toggle-button-inline.inactive {
  opacity: 0.4;
  filter: grayscale(100%);
  border-color: rgba(209, 213, 219, 0.4);
}

.map-toggle-button-inline.inactive:hover {
  opacity: 0.6;
  filter: grayscale(80%);
}

/* Responsive adjustments for inline toggle buttons */
@media (max-width: 768px) {
  .map-toggle-button-inline {
    min-width: 40px;
    min-height: 40px;
    padding: 0.375rem;
  }

  .map-toggle-button-inline .text-sm {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .map-toggle-button-inline {
    min-width: 36px;
    min-height: 36px;
    padding: 0.25rem;
  }

  .map-toggle-button-inline .text-sm {
    font-size: 0.7rem;
  }
}

/* High Contrast Mode for Inline Toggle Buttons */
@media (prefers-contrast: high) {
  .map-toggle-button-inline {
    border-width: 3px;
  }

  .map-toggle-button-inline.active {
    border-color: #0000FF;
    background: #F0F0FF;
  }

  .map-toggle-button-inline.inactive {
    opacity: 0.5;
    filter: grayscale(100%);
    border-color: #666666;
  }
}

/* Reduced Motion for Inline Toggle Buttons */
@media (prefers-reduced-motion: reduce) {
  .map-toggle-button-inline {
    transition: none;
  }
}

/* ============================================================================
   Order Delivery Map Styles
   ============================================================================ */

.order-delivery-map-container .leaflet-container {
  border-radius: 0 0 1rem 1rem;
  z-index: 0;
}

.delivery-map-marker-wrapper {
  background: transparent;
  border: none;
}

.delivery-map-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.delivery-map-marker:hover {
  transform: scale(1.15);
}

.delivery-map-marker--store {
  background: #dc2626;
  width: 36px;
  height: 36px;
}

.delivery-map-marker--customer {
  background: #2563eb;
  width: 32px;
  height: 32px;
  position: relative;
}

.delivery-map-marker--customer-other {
  background: #6b7280;
  width: 28px;
  height: 28px;
  position: relative;
}

.delivery-map-marker--customer-other.delivered {
  background: #16a34a;
}

.delivery-map-marker--driver {
  background: #16a34a;
  width: 34px;
  height: 34px;
  animation: driver-pulse 2s ease-in-out infinite;
}

@keyframes driver-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
}

.delivery-map-sequence {
  position: absolute;
  top: -8px;
  right: -8px;
  background: white;
  color: #1f2937;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Dark mode for order delivery map */
.dark .delivery-map-marker--customer-other {
  background: #9ca3af;
}

.dark .delivery-map-sequence {
  background: #374151;
  color: #f9fafb;
}

/* Reduced motion for order delivery map */
@media (prefers-reduced-motion: reduce) {
  .delivery-map-marker--driver {
    animation: none;
  }

  .delivery-map-marker {
    transition: none;
  }
}
