
#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 30, 30, 0.9); /* semi-transparent dark background */
  display: flex; /* enables flexbox centering */
  justify-content: center; /* horizontal center */
  align-items: center; /* vertical center */
  flex-direction: column; /* stack spinner and text vertically */
  z-index: 9999;
  transition: opacity 0.5s ease;
  opacity: 1;
}

#loading-overlay.loaded {
  opacity: 0;
}

.spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db; /* blue spinner */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin-bottom: 15px; /* space below spinner for text */
}

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

.loading-text {
  color: #fff;
  font-size: 1.2rem;
  font-family: Arial, sans-serif;
  text-align: center;
}


/*colors for active states in the map*/

#brxe-ipdszp a.active.psychologie {
  background-color: #ADD8E6;
  color: #000;
  border-color: #ADD8E6;
}
#brxe-ipdszp a.active.wechseljahre {
    background-color: #D6C7EB;
    color: #000;
    border-color: #D6C7EB;
}
#brxe-ipdszp a.active.herzgesundheit {
  background-color: #FDD9B5;
  color: #000;
  border-color: #FDD9B5;
}
#brxe-ipdszp a.active.gynaekologie {
  background-color: #F7CACA;
  color: #000;
  border-color: #F7CACA;
}
