/* Map styles - shared across all language versions */

/* Circle annotation styles - matching reference style with different color */
.circle-annotation {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  box-shadow: 0 -0 0px 1px rgba(0, 0, 0, 0.1);
  background-color: rgba(59, 130, 246, 0.8); /* Blue color instead of purple */
  text-align: center;
  line-height: 32px;
  transition: 0.3s;
}

.circle-annotation:hover {
  background-color: rgba(37, 99, 235, 0.9) !important; /* Darker blue on hover */
  transition: 0.05s;
}

.circle-annotation.active {
  background-color: rgba(29, 78, 216, 1) !important; /* Even darker blue when tooltip is active */
  transform: scale(1.2);
  transition: 0.1s;
  z-index: 100;
}

/* Custom tooltip styles */
.custom-tooltip {
  position: fixed;
  background: #faf8f5;
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  border: 1px solid #e7e5e4;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 13px;
  font-weight: 500;
  color: #292524;
  white-space: nowrap;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -100%);
  transition: opacity 0.2s ease, transform 0.2s ease;
  text-align: center;
  display: block;
}

.custom-tooltip.visible {
  opacity: 1;
  transform: translate(-50%, -100%) translateY(0px);
}

.custom-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #faf8f5;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.1, 0.1, 0.1);
  }
  50% {
    opacity: 1;
    transform: scale3d(1.5, 1.5, 1.5);
  }
}

