.amg-maps-live {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0b0f1a;
  min-height: 420px;
}

.amg-maps-live-canvas {
  width: 100%;
  height: 420px;
  z-index: 1;
  background: #111727;
}

@media (min-width: 768px) {
  .amg-maps-live,
  .amg-maps-live-canvas {
    min-height: 520px;
    height: 520px;
  }
}

.amg-maps-live-legend {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 500;
  max-width: min(100% - 2rem, 20rem);
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 15, 26, 0.88);
  backdrop-filter: blur(10px);
  color: #e2e8f0;
  font-size: 0.78rem;
  line-height: 1.45;
  pointer-events: none;
}

.amg-maps-live-legend strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #f8fafc;
  font-size: 0.85rem;
}

.amg-maps-live-legend ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.amg-maps-live-legend li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #cbd5e1;
}

.amg-maps-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.amg-maps-dot.is-shop { background: #7e5cff; box-shadow: 0 0 0 3px rgba(126, 92, 255, 0.25); }
.amg-maps-dot.is-delivery { background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25); }
.amg-maps-dot.is-fleet { background: #fbbf24; box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.25); }

.amg-maps-pin {
  background: transparent;
  border: 0;
}

.amg-maps-pin-inner {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  border: 2px solid #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.amg-maps-pin-inner.is-shop { background: #7e5cff; }
.amg-maps-pin-inner.is-delivery { background: #34d399; }
.amg-maps-pin-inner.is-fleet { background: #fbbf24; }

.leaflet-container {
  font-family: Inter, system-ui, sans-serif;
  background: #111727;
}

.leaflet-control-attribution {
  background: rgba(11, 15, 26, 0.75) !important;
  color: #94a3b8 !important;
  font-size: 10px !important;
}

.leaflet-control-attribution a {
  color: #a48cff !important;
}

.amg-maps-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.amg-maps-card {
  overflow: hidden;
  padding: 0 !important;
}

.amg-maps-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
