*, body {
    /* border: 1px solid; */
    padding: 0;
    margin: 0;
}

.no-link-style {
  color: inherit;
  text-decoration: none;
}

/* === Map === */
#map {
  width: 100%;
  height: 550px;
  border: 1px solid #ccc;
  position: relative;
}

#map-loading-overlay {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.8);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #555;
  z-index: 1000;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.loader {
  display: inline-block; /* wichtig für korrektes Flex-Verhalten */
  vertical-align: middle; /* optional für optische Mitte */
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.user-location-icon {
  font-size: 36px;
  line-height: 36px;
  user-select: none;
}

/* Recenter button (appears when user location is out of view) */
#recenter-button {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ccc;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 1001;
  display: none;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}