body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    

}

#map {
    height: 100vh;
    /*width: calc(100% - 20px);
    z-index: 1;
    padding: 10px;
    height: calc(100vh - 200px);
    border-radius: 10px;
    margin: 10px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.65);*/
}

.controls-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    /*background-color: rgba(255, 255, 255, 0.5);*/
}

.stats-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
background-color: #f8f9fa;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.65);
}


.stat-box {
    text-align: center;
    flex: 1;
    
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #666;
}

.stat-value {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.stat-unit {
    font-size: 12px;
    color: #666;
}

.btn-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.btn-control {
    flex: 1 1 45%;
    min-width: 100px;
    padding: 12px 5px;
    font-size: 16px;
    margin: 2px;
}

.btn-lg {
    padding: 0.5rem;
    font-size: 0.8rem;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.65);
}

.basemap-selector {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;
    width: 150px;
}

.form-select {
    font-size: 14px;
}

/* Modal styles */
.modal-content {
    border-radius: 10px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .btn-control {
        flex: 1 1 100%;
    }
    
    .stat-value {
        font-size: 16px;
    }
    
    .basemap-selector {
        width: 120px;
    }
}

/* Route line style */
.leaflet-interactive {
    stroke: #3388ff;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.start-marker, .end-marker {
    background: none;
    border: none;
    text-align: center;
    font-size: 20px;
    line-height: 1;
}

        .speed-circle {
            position: absolute;
            top: -30px;
            left: calc(50% - 50px);
            background: rgba(255, 255, 255);
            border-radius: 50%;
            width: 100px;
            height: 100px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            z-index: 1000;
            box-shadow: 0 3px 5px rgba(0, 0, 0, 0.65);
            border: 10px solid red;
        }

        #speed {
            font-size: 50px;
            line-height: 1;
        }

        #stat-unit {
            font-size: 10px;
            line-height: 1;
            margin-top: 5px;
        }

.leaflet-control-locate-location-arrow {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 7px;
    background-image: url( '/minimap10/assets/arrow.svg' );
}

