html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

#map {
  height: 100dvh;
  width: 100vw;
  box-sizing: border-box;
}

.leaflet-control.custom-control {
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.3);
  padding: 4px;
  font-family: Arial, sans-serif;
  color: #202124;
  font-size: 14px;
  max-height: 500px;
  overflow-y: auto;
  user-select: none;
  margin-bottom: 6px;
}

.leaflet-control-layers-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.3);
  color: #1a73e8;
  transition: background 0.3s ease;
  margin-bottom: 4px;
}

.leaflet-control-layers-toggle.active,
.leaflet-control-layers-toggle:hover {
  background: #f0f0f0;
}

.gpx-content,
.layers-content,
.refresh-content {
  margin-top: 8px;
}

.gpx-content label,
.layers-content label,
.refresh-content label {
  display: block;
  cursor: pointer;
  margin: 6px 0;
}

.gpx-content input[type="checkbox"],
.layers-content input[type="radio"],
.refresh-content input[type="radio"] {
  margin-right: 8px;
  cursor: pointer;
}