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

.maplibre-controls {
  font-family: Arial, sans-serif;
  font-size: 12px;
}

.maplibre-controls h4 {
  margin: 0 0 10px 0;
  font-size: 14px;
  font-weight: bold;
}

.maplibre-controls .layer-controls {
  max-height: 200px;
  overflow-y: auto;
}

.maplibre-controls label {
  display: block;
  margin: 5px 0;
  cursor: pointer;
  user-select: none;
}

.maplibre-controls input[type="checkbox"] {
  margin-right: 8px;
}

.maplibre-controls input[type="checkbox"]:disabled {
  opacity: 0.5;
}

.close-btn {
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  color: #666;
}

.close-btn:hover {
  color: #000;
}

.absolute-btn {
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.absolute-btn:hover {
  background: #f5f5f5;
}

.absolute-panel {
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.hidden {
  display: none !important;
}