/* Demo-Kennzeichnung für den Onboarding-Prototyp.
   Eigene Datei, damit die vom Kunden gelieferten styles.css/dashboard.css unangetastet bleiben.
   Fixierte Pille unten links - bricht kein Layout der drei Prototyp-Seiten. */

.demo-flag {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #0f1c2e;
  color: #fff;
  font: 500 13px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 6px 24px rgba(15, 28, 46, .28);
}

.demo-flag__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #167bd9;
  flex: none;
}

.demo-flag a {
  color: #7ec2ff;
  text-decoration: none;
  border-left: 1px solid rgba(255, 255, 255, .22);
  padding-left: 10px;
  white-space: nowrap;
}

.demo-flag a:hover {
  color: #fff;
}

@media (max-width: 640px) {
  .demo-flag {
    left: 10px;
    right: 10px;
    bottom: 10px;
    justify-content: center;
    font-size: 12px;
    padding: 8px 12px;
  }
}

/* Vorschaltfläche der Karte (Zwei-Klick-Lösung): die OpenStreetMap-Kacheln
   laden erst auf Klick, vorher geht keine IP an OpenStreetMap. */
.map-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 160px;
  padding: 18px 22px;
  border: 1px dashed #c3cede;
  border-radius: 10px;
  background: #eef2f7;
  color: #3d4560;
  font: 400 13px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  text-align: center;
  cursor: pointer;
}

.map-gate:hover {
  background: #e6ecf4;
  border-color: #167bd9;
}

.map-gate__title {
  font-weight: 600;
  font-size: 15px;
  color: #0a1e47;
}

.map-gate__note {
  max-width: 340px;
}

/* Solange die Vorschaltfläche steht, den dekorativen Karten-Pin des Prototyps
   ausblenden - er liegt sonst mitten im Hinweistext. */
.map-placeholder:has(.map-gate) .map-pin-wrap {
  display: none;
}
