﻿html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: black;
    overflow: hidden;
}

#viewer-container {
    position: relative;
    width: 100%;
    height: 100%;
}

#panorama {
    width: 100%;
    height: 100%;
}

.ctrl {
    pointer-events: auto;
    display: inline-block;
    background: rgba(200, 200, 200, 0.7);
    margin: 0 4px;
    padding: 8px;
    cursor: pointer;
}

.pnlm-hotspot.pnlm-infoLink,
.pnlm-hotspot.pnlm-image {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

    .pnlm-hotspot.pnlm-infoLink::before,
    .pnlm-hotspot.pnlm-image::before {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 12px;
        color: white;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .pnlm-hotspot.pnlm-infoLink::before {
        content: "\f0c1";
    }

    .pnlm-hotspot.pnlm-image::before {
        content: "\f03e";
    }

    .pnlm-hotspot.pnlm-infoLink:hover,
    .pnlm-hotspot.pnlm-image:hover {
        background: rgba(0, 0, 0, 0.8);
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.8);
    }

#panorama .pnlm-pointer {
    cursor: pointer;
}

.custom-tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 10;
    transition: opacity 0.2s ease-in-out, visibility 0s ease-in-out 0.2s;
    pointer-events: none;
}

.custom-tooltip-container:hover .custom-tooltip-text {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

#panorama .pnlm-hotspot.pnlm-infoLink,
#panorama .pnlm-hotspot.pnlm-image,
#panorama .pnlm-hotspot.pnlm-info {
    cursor: pointer;
}

.swiper.mySwiper {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 800px;
    height: 120px;
    box-sizing: border-box;
    padding: 8px 0;
    background: rgba(0,0,0,0.2);
    z-index: 999;
}

.swiper-slide {
    width: 100px;
    height: 100px;
    opacity: 0.6;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid transparent;
    box-sizing: border-box;
}

.swiper-slide-thumb-active {
    opacity: 1 !important;
    border-color: #007aff !important;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
