/* SolarCompute launcher Google Maps footprint */

.sc-footprint-node {
  --node: #49df8b;
  --node-glow: rgba(73,223,139,.7);

  position: absolute;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%,-50%);
  cursor: default;
  overflow: visible;
  z-index: 4;
}

.sc-footprint-node--virtual {
  --node: #4aa8ff;
  --node-glow: rgba(74,168,255,.75);
}

.sc-footprint-node__core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border: 2px solid rgba(255,255,255,.92);
  border-radius: 50%;
  background: var(--node);
  box-shadow:
    0 0 8px var(--node-glow),
    0 0 16px var(--node-glow);
  transform: translate(-50%,-50%);
  z-index: 3;
}

.sc-footprint-node__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 1px solid var(--node);
  border-radius: 50%;
  transform: translate(-50%,-50%) scale(.55);
  opacity: .8;
  animation: sc-footprint-google-pulse 2.8s ease-out infinite;
}

.sc-footprint-node__ring--two {
  animation-delay: 1.4s;
}

@keyframes sc-footprint-google-pulse {
  0% {
    transform: translate(-50%,-50%) scale(.55);
    opacity: .8;
  }

  100% {
    transform: translate(-50%,-50%) scale(2.4);
    opacity: 0;
  }
}

.sc-footprint-node__label {
  position: absolute;
  left: 16px;
  top: 50%;
  padding: 4px 7px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 7px;
  background: rgba(3,12,20,.88);
  color: rgba(232,241,247,.88);
  font: 600 10px/1 "Inter",sans-serif;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-50%) translateX(-3px);
  transition: opacity .15s ease, transform .15s ease;
  pointer-events: none;
}

.sc-footprint-node:hover .sc-footprint-node__label,
.sc-footprint-node:focus-visible .sc-footprint-node__label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.sc-footprint-legend {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 10;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(2,11,19,.78);
  backdrop-filter: blur(8px);
  color: rgba(225,235,242,.68);
  font-size: 11px;
  font-weight: 600;
}

.sc-footprint-legend span {
  display: flex;
  gap: 7px;
  align-items: center;
}

.sc-footprint-legend__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.sc-footprint-legend__dot--physical {
  background: #49df8b;
  box-shadow: 0 0 7px rgba(73,223,139,.85);
}

.sc-footprint-legend__dot--virtual {
  background: #4aa8ff;
  box-shadow: 0 0 7px rgba(74,168,255,.85);
}

@media (max-width: 700px) {
  .sc-footprint-legend {
    left: 10px;
    bottom: 10px;
    gap: 10px;
    font-size: 10px;
  }

  .sc-footprint-node__label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sc-footprint-node__ring {
    animation: none;
    opacity: .35;
  }
}

/* Network resilience explanation */
.sc-network-resilience {
  margin: 14px 2px 0;
  max-width: 900px;
  color: rgba(213, 225, 233, .68);
  font-size: 13px;
  line-height: 1.65;
}

.sc-network-resilience strong {
  color: rgba(235, 243, 248, .92);
  font-weight: 600;
}

@media (max-width: 760px) {
  .sc-network-resilience {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.6;
  }
}

/* Compact network resilience footnote */
.sc-network-resilience {
  margin: 6px 2px 0 !important;
  max-width: none !important;
  color: rgba(190, 205, 215, .48) !important;
  font-size: 10px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
}

.sc-network-resilience strong {
  color: inherit !important;
  font-weight: inherit !important;
}

@media (max-width: 760px) {
  .sc-network-resilience {
    margin-top: 6px !important;
    font-size: 9px !important;
    line-height: 1.4 !important;
  }
}
