/* Map Container */
.map-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.8);
}

/* Main Map Area */
.map-area {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Map Controls */
.map-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #c0a080;
}

.zoom-controls {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.control-button {
    padding: 5px 10px;
    background: #c0a080;
    border: none;
    border-radius: 3px;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-button:hover {
    background: #ffd700;
}

/* Map Legend */
.map-legend {
    position: absolute;
    left: 20px;
    top: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #c0a080;
    color: #fff;
    max-height: 80vh;
    overflow-y: auto;
}

.legend-title {
    font-size: 1.2rem;
    color: #ffd700;
    margin-bottom: 10px;
    border-bottom: 1px solid #c0a080;
    padding-bottom: 5px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin: 8px 0;
    gap: 10px;
}

.legend-icon {
    width: 20px;
    height: 20px;
}

/* Map Markers */
.map-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-marker:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

/* Marker Tooltip */
.marker-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #c0a080;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1000;
}

/* Region Labels */
.region-label {
    position: absolute;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-size: 1.2rem;
    pointer-events: none;
}

/* Scrollbar Styling */
.map-legend::-webkit-scrollbar {
    width: 8px;
}

.map-legend::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.map-legend::-webkit-scrollbar-thumb {
    background: #c0a080;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .map-legend {
        left: 10px;
        top: 10px;
        max-width: 200px;
        font-size: 0.9rem;
    }

    .map-controls {
        right: 10px;
        top: 10px;
    }

    .legend-title {
        font-size: 1rem;
    }

    .region-label {
        font-size: 1rem;
    }
}
