/* Minimal, focused styles for local-file usage */

html, body {
  height: 100%;
  margin: 0;
}

.globe-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: #000;
  position: relative;
}

#globe-container {
  width: 800px;
  height: 800px;
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
}

/* Ensure the Three.js canvas fills the container */
#globe-container canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Tooltip styles — use opacity and transform for smooth appearance */
.globe-tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 1000;
  white-space: nowrap;
}

.globe-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.globe-tooltip::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid rgba(0,0,0,0.85);
}
