/* Blur-Effekt für View-Ergebnisse wenn Query-Parameter vorhanden sind */
/* Nur für nicht-eingeloggte User (ohne .user-logged-in Klasse) */
/* Blur für .explorer-results und .views-field-title (beide Views) */
body:not(.user-logged-in).view-blurred-active .explorer-results,
body:not(.user-logged-in).view-blurred-active .views-field-title {
  filter: blur(10px);
  pointer-events: none;
}

/* Blur für den kompletten Map-Inhalt */
body:not(.user-logged-in) .explorer-map .view-results-blurred .view-content {
  filter: blur(10px);
  pointer-events: none;
}

/* Overlay für geblurrte Inhalte */
.view-explorer-karteview-results-blurred {
  position: relative;
}

body:not(.user-logged-in) .view-results-blurred {
  position: relative;
}

.guest-restriction-overlay {
  position: fixed;
  bottom: 2rem;
  left: 0;
  right: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  pointer-events: none;
}

@media (max-width: 768px) {
  .guest-restriction-overlay {
    right: 0;
  }
}

.guest-restriction-message {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  pointer-events: auto;
}

.guest-restriction-message h3 {
  margin-top: 0;
  color: #333;
  font-size: 1.5rem;
}

.guest-restriction-message p {
  color: #666;
  margin-bottom: 1.5rem;
}

.guest-restriction-actions {
  display: flex;
}

/* Tooltip für deaktivierte Links - spezifisch für unsere Tooltips */
.guest-link-tooltip {
  position: absolute !important;
  background: #333;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.guest-link-tooltip.visible {
  opacity: 1;
}

/* Stelle sicher, dass Leaflet-Pop-ups nicht beeinflusst werden */
.leaflet-popup {
  position: absolute;
}

.leaflet-popup-close-button {
  position: relative;
}

/* Disabled Link-Stil */
body:not(.user-logged-in) .view-content a.guest-disabled-link,
body:not(.user-logged-in) .view-header a.guest-disabled-link {
  cursor: not-allowed !important;
  opacity: 0.6;
}