/* Map styles */
#my-map, #my-map-mobile {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
}

/* Desktop-specific adjustment to prevent bottom cutoff */
@media (min-width: 992px) {
    #my-map {
        max-height: calc(100vh - 120px);
        object-fit: contain;
        min-height: 500px; /* Ensure minimum height */
    }
}

/* Map container styles */
#mapCollapse {
    height: calc(100vh - 120px);
    position: relative;
    background-color: #f5f5f5; /* Light background so we can see if container is visible */
}

/* Map performance improvements for mobile */
.map-container { /* Adjust this selector to match your map container */
    -webkit-user-select: none; /* Prevent text selection during map interaction */
    -ms-user-select: none;
    user-select: none;
    touch-action: none; /* Assume map SDK handles touch events; prevents browser interference */
    will-change: transform, opacity; /* Hint for potential hardware acceleration */
    /* Ensure map is not clipped if using absolute positioning or transforms */
    overflow: visible; /* Or 'clip' if appropriate and doesn't break layout */
}

/* Styles for the highlighted sections on the map */
.highlighted-section {
    /* fill: rgba(0, 123, 255, 0.7) !important; */
    /* Keep existing stroke color instead of forcing blue */
    stroke-width: 2px !important;
    transition: all 0.3s ease;
    cursor: pointer !important;
    opacity: 1 !important;
}

/* Styles for sections that match filters */
.filtered-section {
    /* Use original colors, no fill override */
    cursor: pointer !important;
    opacity: 1 !important;
}

/* Make sure SVG map elements are interactive */
.mapnode {
    cursor: pointer;
}

/* Style SVG text elements when highlighted */
text.highlighted-section, text.filtered-section {
    fill: #000000 !important;
    stroke: none !important;
    font-weight: bold !important;
    opacity: 1 !important;
}

/* Fix for path elements to ensure they're interactive */
path.mapnode {
    pointer-events: auto !important;
}

/* No seatmap: custom event image in map area (like TicketNetwork EventHub) */
#my-map.vl-no-map-area,
#my-map-mobile.vl-no-map-area {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}
.vl-no-map-event-image {
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.vl-no-map-event-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
} 