/* Source: guests/partials/surin-map-canvas.blade.php */
.surin-map-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.surin-map-canvas {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: visible;
    border-radius: 20px;
}

.surin-map-bg {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    user-select: none;
    pointer-events: none;
}

.temple-hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    display: block;
    text-decoration: none;
    z-index: 5;
}

.temple-hotspot:hover {
    z-index: 999;
}

.temple-hotspot img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.25s ease, filter 0.25s ease;
    transform-origin: center bottom;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.25));
    user-select: none;
    pointer-events: none;
}

.temple-hotspot:hover img {
    transform: scale(2);
    filter: drop-shadow(0 10px 18px rgba(0,0,0,0.45));
}

.temple-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    background: rgba(0,0,0,0.85);
    color: #fff;
    font-size: 14px;
    line-height: 1.35;
    padding: 6px 10px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
}

.temple-hotspot:hover .temple-tooltip {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .temple-hotspot:hover img {
        transform: scale(1.5);
    }

    .temple-tooltip {
        font-size: 12px;
        padding: 5px 8px;
    }
}
