/* Portable EDEKA-Karte für den HTML-Export.
 * Autor: Robin Hellwinkel.
 */

.market-map-canvas.leaflet-container {
  width: 100%;
  height: 520px;
  background: #eef3e8;
  font-family: "Nunito", sans-serif;
  z-index: 1;
}

.export-city-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border: 0 !important;
}

.export-city-marker span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  height: 40px;
  padding: 0 11px;
  color: #fff;
  background: #c0392b;
  border: 4px solid #fff;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(26, 58, 92, 0.35);
  font-family: "Bebas Neue", sans-serif;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

.export-city-marker:hover span,
.export-city-marker:focus span {
  color: #fff;
  background: #1a3a5c;
  outline: 3px solid #f5c800;
  outline-offset: 2px;
  transform: translateY(-4px) scale(1.06);
}

.export-market-popup {
  min-width: 225px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 3px 1px 1px;
  color: #263444;
  font-family: "Nunito", sans-serif;
}

.export-market-popup > span:first-child {
  color: #c0392b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.export-market-popup strong {
  color: #1a3a5c;
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;
  line-height: 1;
}

.export-market-popup > span:not(:first-child) {
  color: #5b6064;
  font-size: 12px;
  line-height: 1.35;
}

.export-market-popup a {
  margin-top: 8px;
  color: #c0392b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.leaflet-popup-content-wrapper {
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(26, 58, 92, 0.2);
}

.leaflet-control-attribution {
  font-size: 9px;
}

@media (max-width: 700px) {
  .market-map-canvas.leaflet-container { height: 430px; }
  .export-city-marker span {
    min-width: 62px;
    height: 36px;
    padding: 0 9px;
    border-width: 3px;
    font-size: 12px;
  }
}
