/* Leaflet overrides */
.leaflet-control-zoom {
  border: none !important;
  box-shadow: var(--shadow) !important;
}

.leaflet-control-zoom a {
  border-radius: 8px !important;
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
}

/* Track markers */
.start-end-marker-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.start-icon {
  font-size: 28px;
  color: #22c55e;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

.end-icon {
  font-size: 28px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

.highest-icon {
  font-size: 24px;
  line-height: 1;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

.highest-elevation {
  background: rgba(245, 158, 11, 0.9);
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.km-marker-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.km-marker {
  background: rgba(80, 80, 80, 0.7);
  color: white;
  font-size: 9px;
  font-weight: bold;
  padding: 2px 5px;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.direction-arrow-icon {
  background: transparent !important;
  border: none !important;
}

/* Position marker */
.position-marker-circle {
  transition: opacity 0.2s;
}

/* Location button */
.leaflet-control-locate {
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.leaflet-control-locate a {
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  display: block;
  cursor: pointer;
  font-size: 18px;
}
