/* Ukraine Occupation Map Styles */

.ukraine-map-container {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 1rem 0;
}

/* Navy header */
.ukraine-map-header {
  background: #003366;
  padding: 20px;
  text-align: center;
}

.ukraine-map-header h3 {
  color: white;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

/* Leaflet map container */
.ukraine-map-leaflet {
  width: 100%;
  height: 500px;
}

/* Legend */
.ukraine-map-legend {
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  max-width: 280px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.ukraine-map-legend h4 {
  margin: 0 0 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 8px;
}

.ukraine-map-legend-item {
  display: flex;
  align-items: center;
  margin: 8px 0;
  font-size: 13px;
}

.ukraine-map-legend-color {
  width: 24px;
  height: 16px;
  margin-right: 10px;
  border-radius: 3px;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.ukraine-map-legend-label {
  color: #555;
  line-height: 1.4;
}

.ukraine-map-legend-section {
  margin-bottom: 12px;
}

.ukraine-map-legend-section-title {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ukraine-map-legend-circle {
  width: 12px;
  height: 12px;
  margin-right: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

.ukraine-map-legend-note {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #e0e0e0;
}

/* Popup styles for clash events */
.ukraine-map-popup-title {
  font-weight: 600;
  font-size: 14px;
  color: #1a1a1a;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e0e0e0;
}

.ukraine-map-popup-info {
  font-size: 13px;
  margin: 4px 0;
  color: #333;
}

.ukraine-map-popup-note {
  font-size: 12px;
  margin: 6px 0;
  padding: 6px;
  background: #f5f5f5;
  border-left: 3px solid #999;
  color: #666;
  font-style: italic;
}

.ukraine-map-popup-verified {
  font-size: 12px;
  margin: 6px 0;
  padding: 4px 8px;
  background: #d4edda;
  border-left: 3px solid #28a745;
  color: #155724;
  font-weight: 500;
}
