.panorama-viewer-container-bf412fbf {
    width: 100%;
    position: relative;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Ensure child z-indexes are scoped to this container to prevent overlapping other site elements */
    z-index: 1; 
}

.panorama-placeholder-bf412fbf {
    color: #666;
    font-family: sans-serif;
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

.panorama-viewer-container-bf412fbf .pnlm-container {
    width: 100%;
    height: 100%;
}

/* Fix for pannellum zoom controls z-index */
.panorama-viewer-container-bf412fbf .pnlm-controls-container {
    z-index: 5 !important;
}

.panorama-overlay-bf412fbf {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10; /* Make sure it covers everything inside the container */
}

.panorama-overlay-play-bf412fbf {
    color: #ffffff;
    font-size: 60px;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}

.panorama-overlay-bf412fbf:hover .panorama-overlay-play-bf412fbf {
    transform: scale(1.1);
}

.panorama-overlay-play-bf412fbf svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.panorama-overlay-play-bf412fbf i {
    display: inline-block;
    line-height: 1;
}

.panorama-drag-hint-bf412fbf {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-family: sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
    pointer-events: none;
    animation: dragHintPulse-bf412fbf 2s infinite ease-in-out;
}

@keyframes dragHintPulse-bf412fbf {
    0% { transform: translateX(-50%) scale(1); opacity: 0.8; }
    50% { transform: translateX(-50%) scale(1.05); opacity: 1; }
    100% { transform: translateX(-50%) scale(1); opacity: 0.8; }
}