/* Interactive Map Styles */

.interactive-map-container {
  max-width: 100%;
  margin: 0 auto;
  font-size: 18px;
}

.interactive-map-container * {
  box-sizing: border-box;
}

.map-container.svg-container {
  max-width: 100%;
  margin: 0 auto 2rem;
  position: relative;
  background-color: transparent;
  border-radius: 0.5rem;
  overflow: hidden;
  padding: 1rem;
  display: block !important;
}

.map-container svg {
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 0px #760000);
}

.map-container path {
  cursor: pointer;
  transition: fill 0.3s ease-in-out;
  stroke: #ffffff;
  stroke-width: 1;
}

/* Thüringen - dunkelrot (rechts) */
.map-container #Thueringen path {
  fill: #bc0001;
}

/* Hessen - hellrot (links) */
.map-container #Hessen path {
  fill: #fe0000;
}

/* Fallback für alle anderen Flächen */
.map-container path {
  fill: #ff4444;
}

.map-container path:hover {
  fill: #ff6666 !important;
  stroke: #ffffff;
  stroke-width: 2;
}

.map-container .active-element {
  fill: #ff6666 !important;
  stroke: #ffffff;
  stroke-width: 2;
}

.logo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.logo-container {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 0;
  display: none;
  width: 270px;
  height: 120px;
  text-align: center;
  pointer-events: auto;
  background-blend-mode: multiply;
  mix-blend-mode: multiply;
}

.sparkassen-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.error-text {
  color: white;
  font-weight: bold;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 0.5rem;
}

/* Responsive */
@media (max-width: 1079px) {
  .logo-container {
    width: 200px;
    height: 120px;
  }
  
  /* Hide map on tablets and smartphones */
  .map-container.svg-container {
    display: none !important;
  }
}