body {
  margin: 0;
  background: #0d0d0d;
}

#world {
  cursor: grab;
  cursor: -webkit-grab;
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

#world svg {
  display: block;
  width: 100%;
  height: 100%;
}

#tooltip {
  background: rgba(0,0,140,0.7);
  color: white;
  font: 25px sans-serif;
  width: fit-content;
  float: left;
  position: absolute;
  left: 20px;
  top: 20px;
  padding: 5px;
  border-radius: 3px;
  text-align: center;
  z-index: 2000;
}

#world:active {
  cursor: grabbing;
  cursor: -webkit-grabbing;
}

.sphere {
  fill: #626262;
  fill-opacity: 0.7;
}

.ocean {
  fill: #59c8ea;
  fill-opacity: 1;
}

.voronoi {
  fill-opacity: 0.45;
}



.tooltip {
  color: #eee;
  background: rgba(0,0,140,0.7);
  padding: 5px;
  border-radius: 3px;
  font: 11px sans-serif;
  text-align: center;
  pointer-events: none;
}

#gui_css {
  font-size: 20px;
  width: 400px;
}

.date_container {
  position: absolute;
  font: 40px sans-serif;
  bottom: 200px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: black;
}

#value-time {
	margin: 0;
}

input[type='text'],
input[type='number'],
textarea {
  font-size: 16px;
}

#ui-overlay {
  position: fixed;       /* Fix to viewport */
  bottom: 10px;          /* Slightly above the bottom */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);  /* Semi-transparent dark background */
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1000;         /* Above the SVG */
  user-select: none;
  font-family: sans-serif;
  font-size: 14px;
}

#ui-overlay input,
#ui-overlay button {
  background: #222;
  border: none;
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
}

#ui-overlay input[type="date"] {
  padding: 6px 8px;
  min-width: 130px;
}

#ui-overlay button:hover {
  background: #444;
}

#ui-overlay span#value-time {
  min-width: 180px;
  text-align: center;
}
