﻿.map-section {
    padding: 60px 0;
}

.map-part {
    height: 400px;
    width: 80%;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--border-color-success, #ddd);
    background-color: #f8f9fa;
    position: relative;
}

    /* Leaflet CSS fixes */
    .map-part .leaflet-container {
        height: 100% !important;
        width: 100% !important;
        border-radius: 8px;
    }

    .map-part .leaflet-control-zoom {
        border: none !important;
    }

        .map-part .leaflet-control-zoom a {
            background-color: var(--custom-bg-color, white) !important;
            color: var(--text-color, #333) !important;
            border: 1px solid var(--border-color-success, #ddd) !important;
        }

    .map-part .leaflet-popup-content-wrapper {
        background: var(--custom-bg-color, white);
        color: var(--text-color, #333);
        border-radius: 8px;
    }

/* Loading indicator */
.map-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    color: var(--text-color, #333);
    font-size: 18px;
}

/* Error state */
.map-error {
    padding: 20px;
    text-align: center;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    color: #721c24;
}

@@media (max-width: 768px) {
    .map-part {
        height: 300px;
        width: 100%;
        margin: 0 auto;
    }
}
