/* Interactive India map (restored from the pre-mirror build) */
.map-hotspot {
  position: absolute;
  width: 26px;
  height: 26px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 9999px;
}
.map-hotspot:focus { outline: none; }
.map-hotspot:hover,
.map-hotspot.is-open { z-index: 30; }
.map-hotspot:focus-visible { outline: 2px solid #ffc310; outline-offset: 3px; }

.map-dot {
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background: #ffc310;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 3.5px rgba(17, 28, 46, .45), 0 1px 4px rgba(0, 0, 0, .3);
  transition: transform .15s ease, background-color .15s ease;
}
.map-hotspot:hover .map-dot,
.map-hotspot:focus-visible .map-dot,
.map-hotspot.is-open .map-dot { transform: scale(1.18); background: #ffd24d; }

.map-ping {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  background: rgba(255, 195, 16, 0);
  box-shadow: 0 0 0 0 rgba(255, 195, 16, 0);
  transition: background-color .2s ease, box-shadow .2s ease;
}
.map-hotspot:hover .map-ping,
.map-hotspot:focus-visible .map-ping,
.map-hotspot.is-open .map-ping {
  background: rgba(255, 195, 16, .18);
  animation: map-ping 1.4s ease-out infinite;
}
@keyframes map-ping {
  0%   { box-shadow: 0 0 0 4px rgba(255, 195, 16, .35); }
  70%  { box-shadow: 0 0 0 12px rgba(255, 195, 16, 0); }
  100% { box-shadow: 0 0 0 4px rgba(255, 195, 16, 0); }
}

.map-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translate(-50%, 6px);
  width: max-content;
  max-width: 220px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #0b1626;
  border: 1px solid #1d2f4d;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
  text-align: left;
  font-size: 11px;
  line-height: 1.4;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 40;
}
.map-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #0b1626;
}
.map-hotspot:hover .map-tip,
.map-hotspot:focus-visible .map-tip,
.map-hotspot.is-open .map-tip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.map-tip-name { display: block; font-weight: 700; color: #ffffff; }
.map-tip-role { display: block; font-weight: 600; color: #fcd34d; }
.map-tip-detail { display: block; color: #cbd5e1; }

/* Edge-aware tooltip alignment so tips near the map border stay on-card */
.map-hotspot--left .map-tip { left: -6px; transform: translate(0, 6px); }
.map-hotspot--left .map-tip::after { left: 20px; }
.map-hotspot--left:hover .map-tip,
.map-hotspot--left:focus-visible .map-tip,
.map-hotspot--left.is-open .map-tip { transform: translate(0, 0); }

.map-hotspot--right .map-tip { left: auto; right: -6px; transform: translate(0, 6px); }
.map-hotspot--right .map-tip::after { left: auto; right: 20px; transform: none; }
.map-hotspot--right:hover .map-tip,
.map-hotspot--right:focus-visible .map-tip,
.map-hotspot--right.is-open .map-tip { transform: translate(0, 0); }

@media (prefers-reduced-motion: reduce) {
  .map-hotspot:hover .map-ping,
  .map-hotspot:focus-visible .map-ping,
  .map-hotspot.is-open .map-ping { animation: none; }
}
