#tour-viewer-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
#viewer {
    width: 100%;
    height: 100%;
}
#controls {
    position: absolute;
    bottom: 20px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 20px;
    display: flex;
    gap: 10px;
    right: 20px;
    z-index: 2;
}
.control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.3s;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

#loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
}
#back-to-page {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 10px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}
#title {
    position: absolute;
    top: 20px;
    left: 100px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 10px;
    border-radius: 5px;
    font-size: 14px;
}

#fullscreen-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

#image-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
}

.nav-btn {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hotspot styles */
.hotspot {
    position: absolute;
    width: 30px;
    height: 30px;
    background: rgba(255, 0, 0, 0.7);
    border-radius: 50%;
    border: 2px solid white;
    cursor: pointer;
    transform: translate(-50%, -50%);
    z-index: 10;
    transition: transform 0.2s, background 0.2s;
}

.hotspot:hover {
    background: rgb(0 77 3);
}

.hotspot-tooltip {
    position: relative;
    background: rgb(2 28 13 / 85%);
    color: white;
    padding: 10px;
    border-radius: 5px;
    width: 400px;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 11;
    display: none;
    pointer-events: auto;
}

.hotspot.active .hotspot-tooltip {
    display: block !important;
}

.hotspot-tooltip h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.hotspot-tooltip p {
    margin: 0;
    font-size: 13px;
}

#hotspot-controls {
    position: absolute;
    top: 70px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#hotspot-controls button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
}

#hotspot-controls button:hover {
    background: rgba(255, 255, 255, 0.4);
}

#voice-controls {
    position: absolute;
    top: 206px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    padding: 13px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
}

#voice-controls button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    margin: 2px;
}
.tour-image-lists {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 260px;
}
.tour-image-lists ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 5px;
}
.tour-image-lists ul li a .vtour-img {
    display: flex;
    width: 80px;
    height: 60px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 7px;
    border: 1px solid #676767;
    transition: .2s;
}
.tour-image-lists ul li a .vtour-img:hover,
.tour-image-lists ul li a.active .vtour-img{
    border: 1px solid #08ff1b;
}
.control-btn {
    position: relative;
    cursor: pointer;
}
  
/* Tooltip styling */
.control-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%; /* Show above the button */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
}
  
/* Tooltip arrow */
.control-btn::before {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 9;
}
  
/* Show tooltip on hover */
.control-btn:hover::after,
.control-btn:hover::before {
    opacity: 1;
}
  
.tour-image-lists .owl-nav {
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
    width: 100%;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 0;
}
.tour-image-lists .owl-nav span {
    background: #082220;
    color: #ffffff;
    padding: 0;
    line-height: 1;
    border-radius: 5px;
    height: 25px;
    width: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: .2s;
}
.tour-image-lists .owl-nav span:hover {
    background: #0b9189;
}
.tour-image-lists .owl-nav span.custom-prev {
    position: relative;
    left: -8px;
}
.tour-image-lists .owl-nav span.custom-next {
    position: relative;
    right: -8px;
}