* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow: hidden !important;
  position: fixed !important;
  width: 100vw;
  height: 100vh;
}

#radarContainer {
  position: fixed; /* Ensures it stays in place */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

canvas {
  display: block;
  position: fixed; /* Completely locks to viewport */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #011;
  background-image: radial-gradient(circle, #063, #000 70%);
}


#aircraftKey {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 14px;
  cursor: pointer;
  border-radius: 5px;
  z-index: 1000; /* Ensures it's above the canvas */
}

#aircraftList {
  display: none; /* Initially hidden */
  position: fixed;
  top: 50px;
  right: 20px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 14px;
  border-radius: 5px;
  z-index: 1000;
}
#controlPanel {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

#controlPanel button {
  margin: 5px;
  padding: 8px 15px;
  background-color: green;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 14px;
  border-radius: 5px;
}

#controlPanel button:hover {
  background-color: darkgreen;
}

#statusDisplay {
  margin-top: 10px;
  font-size: 14px;
}