#map-container {
    flex: 1;
    position: relative;
    background: #000;
    z-index: 3;
}

#map {
    width: 100%;
    height: 100%;
}

.leaflet-container {
    background: #000 !important;
    z-index: 1 !important;
}

.leaflet-map-pane {
    z-index: 2 !important;
}

.leaflet-overlay-pane {
    z-index: 3 !important;
}

.leaflet-marker-pane {
    z-index: 4 !important;
}

.leaflet-popup-pane {
    z-index: 5 !important;
}

.leaflet-control {
    z-index: 6 !important;
}

/* Map Controls */
.leaflet-control-zoom {
    margin: 15px 15px 0 0 !important;
}

.leaflet-control-zoom a {
    background-color: rgba(0, 0, 0, 0.6) !important;
    color: #fff !important;
    border: 1px solid #666 !important;
}

.leaflet-control-zoom a:hover {
    background-color: rgba(0, 0, 0, 0.8) !important;
}

/* Map Links */
.map-links {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    gap: 5px;
    background: rgba(0, 0, 0, 0.8);
    padding: 5px;
    border-radius: 4px;
}

.map-link {
    color: #999;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.map-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.map-link.selected {
    background: #d4af37;
    color: #000;
}

/* Seamless Tiles */
.seamless-tile {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform: scale(1.001);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}
