/* assets/css/gpx-viewer.css */

.gpx-viewer-container {
    display: flex;
    flex-direction: column;
    gap: 0px;
    margin-bottom: 30px;
    position:relative;
}

.gpx-map {
    width: 100%;
    height: 300px;
    border: 1px solid #444;
    border-radius: 5px 5px 0px 0px;
}

.gpx-elevation {
    width: 100%;
    max-height: 200px;
    background: #fff;
    border: 1px solid #aaa;
    border-radius: 0px 0px 5px 5px;
    padding: 10px;
}

.gpx-viewer-container:fullscreen {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
}

.gpx-viewer-container:fullscreen .gpx-map {
  flex: 1 1 60%;
  height: 60%;
 
}

.gpx-viewer-container:fullscreen canvas.gpx-elevation {
  flex: 1 1 40%;
  height: 40%;
}
.fullscreen-toggle {
  position: absolute;
  top: 10px;
  right: 10px;          /* ⬅️ verplaatst van left: naar right: */
  z-index: 1000;
  background-color: white;
  border: 1px solid #ccc;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
  font-size: 0.9rem;
  display: inline-block;
  width: auto;
  white-space: nowrap;
}

.fullscreen-toggle i {
  font-size: 1.2rem;
  pointer-events: none;
}

.gpx-viewer-container {
  position: relative;
}
.leaflet-tooltip.km-tooltip {
  background: transparent;
  border: none;
  color: #000;
  font-size: 10px;
  font-weight: bold;
  box-shadow: none;
  padding: 0;
  text-align: center;
}

/* 🎯 Zwarte driehoek (tooltip arrow) */
.leaflet-tooltip.km-tooltip::before {
  border-top-color: black !important;
}
.kaart-controls {
  position: absolute;
  top: 10px;
  min-width:150px;
  right: 10px;
  display: flex;
  gap: 8px;
  z-index: 1001;
}

.kaart-opties-dropdown {
  position: relative;
  top:10px;
}

.kaart-opties-toggle {
  background-color: white;
  border: 1px solid #ccc;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.kaart-opties-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 110%;
  background: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px;
  z-index: 1002;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.kaart-opties-dropdown.open .kaart-opties-menu {
  display: block;
}

.fullscreen-toggle {
  background-color: white;
  border: 1px solid #ccc;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}
