/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  overflow: hidden;
}

/* Cesium viewer fills the screen */
#cesiumContainer {
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
}

/* Mountain selector panel */
#mountainSelector {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(42, 42, 42, 0.9);
  color: white;
  padding: 20px;
  border-radius: 8px;
  min-width: 250px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

#mountainSelector h3 {
  margin: 0 0 15px 0;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 2px solid #4CAF50;
  padding-bottom: 10px;
}

#mountainButtons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

#mountainButtons button {
  padding: 12px 16px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

#mountainButtons button:hover {
  background: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#mountainButtons button:active {
  transform: translateY(0);
}

#mountainButtons button.active {
  background: #2E7D32;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

#status {
  margin-top: 15px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 12px;
  min-height: 20px;
}

#status.loading {
  color: #FFC107;
}

#status.success {
  color: #4CAF50;
}

#status.error {
  color: #F44336;
}

/* Info panel */
#infoPanel {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(42, 42, 42, 0.9);
  color: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

#infoPanel h3 {
  margin: 0 0 15px 0;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 2px solid #4CAF50;
  padding-bottom: 8px;
}

#infoPanel ul {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
}

#infoPanel li {
  padding: 6px 0;
  font-size: 13px;
  line-height: 1.5;
}

#infoPanel strong {
  color: #4CAF50;
  font-weight: 600;
}

#tileInfo {
  margin-top: 15px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 12px;
  font-family: 'Courier New', monospace;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #mountainSelector,
  #infoPanel {
    max-width: calc(100vw - 40px);
  }

  #infoPanel {
    bottom: auto;
    top: auto;
    right: 20px;
    left: auto;
  }
}