/* Leaflet 1.9-compatible core layout CSS, hosted locally for FLBiker.
   This avoids failures when a browser/CDN blocks the external Leaflet stylesheet. */
.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
    position: absolute;
    left: 0;
    top: 0;
}
.leaflet-container {
    overflow: hidden;
    position: relative;
    outline-offset: 1px;
    background: #ddd;
    -webkit-tap-highlight-color: transparent;
}
.leaflet-container.leaflet-touch-zoom { touch-action: pan-x pan-y; }
.leaflet-container.leaflet-touch-drag { touch-action: none; touch-action: pinch-zoom; }
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom { touch-action: none; }
.leaflet-container { -webkit-user-select: none; -moz-user-select: none; user-select: none; }
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow { -webkit-user-drag: none; user-select: none; }
.leaflet-tile { visibility: hidden; max-width: none !important; max-height: none !important; }
.leaflet-tile-loaded { visibility: inherit; }
.leaflet-zoom-animated { transform-origin: 0 0; }
.leaflet-pane { z-index: 400; }
.leaflet-tile-pane { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane { z-index: 500; }
.leaflet-marker-pane { z-index: 600; }
.leaflet-tooltip-pane { z-index: 650; }
.leaflet-popup-pane { z-index: 700; }
.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg { z-index: 200; }
.leaflet-container .leaflet-overlay-pane svg,
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile { max-width: none !important; max-height: none !important; width: auto; padding: 0; }
.leaflet-container img.leaflet-tile { mix-blend-mode: normal; }

/* controls */
.leaflet-control { position: relative; z-index: 800; pointer-events: auto; }
.leaflet-top,
.leaflet-bottom { position: absolute; z-index: 1000; pointer-events: none; }
.leaflet-top { top: 0; }
.leaflet-right { right: 0; }
.leaflet-bottom { bottom: 0; }
.leaflet-left { left: 0; }
.leaflet-control { float: left; clear: both; }
.leaflet-right .leaflet-control { float: right; }
.leaflet-top .leaflet-control { margin-top: 10px; }
.leaflet-bottom .leaflet-control { margin-bottom: 10px; }
.leaflet-left .leaflet-control { margin-left: 10px; }
.leaflet-right .leaflet-control { margin-right: 10px; }
.leaflet-control-zoom,
.leaflet-bar { border: 2px solid rgba(0,0,0,.2); border-radius: 4px; box-shadow: none; }
.leaflet-bar a {
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    text-decoration: none;
    background: #fff;
    color: #111;
    border-bottom: 1px solid #ccc;
    font: bold 18px/30px Arial, Helvetica, sans-serif;
}
.leaflet-bar a:last-child { border-bottom: 0; }
.leaflet-bar a:hover { background: #f4f4f4; }
.leaflet-control-zoom-in,
.leaflet-control-zoom-out { text-indent: 0; }
.leaflet-control-attribution {
    margin: 0;
    padding: 0 5px;
    color: #333;
    background: rgba(255,255,255,.8);
    font: 11px/1.4 Arial, Helvetica, sans-serif;
}
.leaflet-control-attribution a { color: #0078a8; text-decoration: none; }

/* popup */
.leaflet-popup { position: absolute; text-align: center; margin-bottom: 20px; }
.leaflet-popup-content-wrapper { padding: 1px; text-align: left; border-radius: 10px; box-shadow: 0 3px 14px rgba(0,0,0,.35); }
.leaflet-popup-content { margin: 13px 19px; line-height: 1.4; min-width: 120px; }
.leaflet-popup-tip-container { width: 40px; height: 20px; position: absolute; left: 50%; margin-left: -20px; overflow: hidden; pointer-events: none; }
.leaflet-popup-tip { width: 17px; height: 17px; padding: 1px; margin: -10px auto 0; transform: rotate(45deg); box-shadow: 3px 3px 15px rgba(0,0,0,.2); }
.leaflet-popup-close-button { position: absolute; top: 0; right: 0; padding: 4px 4px 0 0; border: none; text-align: center; width: 24px; height: 24px; font: 20px/24px Tahoma,Verdana,sans-serif; color: #757575; text-decoration: none; background: transparent; }

.leaflet-interactive { cursor: pointer; }
.leaflet-grab { cursor: grab; }
.leaflet-dragging .leaflet-grab { cursor: grabbing; }

/* Leaflet 1.9.4 required overlay/tile behavior */
.leaflet-container .leaflet-overlay-pane svg {
    max-width: none !important;
    max-height: none !important;
}
.leaflet-marker-icon,
.leaflet-marker-shadow { display: block; }
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container { pointer-events: none; }
.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path { pointer-events: auto; }
