﻿/* Supplier Map Styles */
.interactive-map-container {
  position: relative;
  overflow: hidden;
}

.interactive-map-container svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.interactive-map-popup {
  position: absolute;
  z-index: 1000;
  background: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  min-width: 240px;
  max-width: 340px;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  pointer-events: auto;
}

.interactive-map-popup .popup-country {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 8px;
}

.interactive-map-popup .popup-supplier {
  font-weight: 600;
  margin-bottom: 2px;
}

.interactive-map-popup .popup-contact {
  opacity: 0.85;
}

.interactive-map-popup .popup-state {
  display: inline-block;
  background: rgba(255,210,0,0.3);
  color: inherit;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12px;
  margin-top: 2px;
}

.interactive-map-popup .popup-divider {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.interactive-map-popup a {
  color: #333333;
  text-decoration: underline;
}

.interactive-map-popup .popup-close {
  position: absolute;
  top: 8px;
  right: 10px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  opacity: 0.5;
}

.interactive-map-popup .popup-close:hover {
  opacity: 1;
}

.interactive-map-popup .popup-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #e0e0e0;
  top: -8px;
}
