/**
 * Simple GPX Map Styles
 */

.simple-map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: #fff;
    margin-bottom: 20px;
}

.simple-map {
    width: 100%;
    height: 450px;
    background: #f0f0f0;
    border-radius: 12px;
}

.simple-stats {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Leaflet map specific */
.leaflet-container {
    font-family: inherit;
}

.leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.leaflet-popup-content {
    margin: 12px 16px;
    line-height: 1.4;
}

/* Loading and Error states */
.simple-map-wrapper .alert {
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    font-weight: 500;
    margin: 20px;
}

/* Custom marker styles */
.custom-div-icon {
    background: transparent !important;
    border: none !important;
}

.leaflet-div-icon {
    background: transparent !important;
    border: none !important;
}

/* Popup styling */
.leaflet-popup-content-wrapper {
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.leaflet-popup-content {
    margin: 12px 16px !important;
    line-height: 1.4 !important;
    font-family: inherit !important;
}

.leaflet-popup-tip {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .simple-map {
        height: 300px;
    }
    
    .simple-stats {
        padding: 15px;
    }
}