﻿

@keyframes ringPulse {
    0% {
        width: 16px;
        height: 16px;
        opacity: 0.9;
    }

    100% {
        width: 90px;
        height: 90px;
        opacity: 0;
    }
}

.tooltip-title {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 20;
}
/*.label-connector {
    position: absolute;
    bottom: 85%;
    left: 50%;
    width: 1px;
    height: 80px;
    background: red;
    transform: translateX(-50%);
    z-index: 5;
}*/

/*.label-container {
    position: absolute;
    bottom: calc(100% + 80px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    z-index: 20;
    white-space: nowrap;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 4px 8px, rgba(0, 0, 0, 0.3) 0px 7px 14px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}*/

/*.label-container img {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    padding: 4px;
    background: #FFF;
    margin-right: 6px;
}

.label-container span {
    font-family: 'Roboto', sans-serif;
    color: white;
    font-size: 35px;
    padding: 4px 8px;
    border-radius: 6px;*/
/* Viền chữ */
/*text-shadow: -1px -1px 0 red, 1px -1px 0 red, -1px 1px 0 red, 1px 1px 0 red;
}*/
/*.hotspot-preview {
    position: absolute;
    width: 150px;
    height: 100px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    z-index: 10000;
    overflow: hidden;
    display: none;
    transform: translateY(-110px);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.hotspot-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pnlm-hotspot-base:hover .hotspot-preview {
    opacity: 1;
}*/









/* --- PHẦN CSS ĐÃ ĐƯỢC TỐI ƯU --- */
.label-container {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
}

/* Dot dưới cùng */
.logo-red-dot {
    width: 20px;
    height: 6px;
    background: radial-gradient(ellipse at center, rgba(255,0,0,0.8), rgba(139,0,0,0.5));
    border-radius: 50% / 50%;
    box-shadow: 0 0 6px rgba(255, 0, 0, 0.5);
    transform: rotateX(50deg);
    position: relative;
    z-index: 1;
    margin-top: 8px;
}


.label-icon-wrapper {
    position: relative;
    width: 40px;
    height: 40px;
    margin-top: 4px;
}
.label-icon-wrapper .logo-img {
    width: 40px;
    height: 40px;
}
.label-icon-wrapper .preview-img {
    width: 80px;
    height: 80px;
    top: -12px !important;
    left: -10px !important;
}
.label-icon-wrapper .logo-img,
.label-icon-wrapper .preview-img {
    position: absolute;
    object-fit: cover;
    border-radius: 50%;
    top: 6px;
    left: 10px;
    border: 1px solid #007bff;
    background: #FFF;
}

.label-container span {
    position: absolute;
    top: 40px;
    left: -40px;
    color: #FFF;
    font-size: 12px;
    font-family: 'Roboto', sans-serif;
    text-shadow: 0px 0px 7px #fff;
    z-index: 4;
    font-weight: 500;
    border-radius: 4px;
    white-space: nowrap;
    width: 100%;
    display: inline-table;
    text-align: center;
    pointer-events: none;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 4px 7px, rgba(0, 0, 0, 0.3) 0px 7px 14px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    background: #007bff;
    padding: 1px;
}

.label-container span {
    transition: all 0.3s ease-in-out;
}

.label-container:hover span {
    min-width: 50px;
    font-size: 19px;
    margin-bottom: 15px;
    opacity: 0.9;
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 4px 7px, rgba(0, 0, 0, 0.3) 0px 7px 14px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    position: absolute;
    top: 75px;
    left: -3px;
    background: #007bff;
    color: #FFF;
}

/*.label-container .logo-img {
    animation: pulseLogo 2s infinite ease-in-out, shakeLogo 2s infinite ease-in-out;
}*/
/* Logo ban đầu hiển thị */
.label-icon-wrapper .logo-img {
    opacity: 1;
    z-index: 2;
    cursor: pointer;
}

/* Preview ẩn */
.label-icon-wrapper .preview-img {
    opacity: 0;
    transform: scale(1);
    z-index: 3;
}

.preview-img {
    transition: all 0.3s ease-in-out;
}

.label-container:hover .logo-img {
    opacity: 0;
}

/* Khi hover vào toàn bộ container → Hiện preview (cho cả icon và span hover) */
.label-container:hover .preview-img {
    opacity: 1;
    transform: scale(1.1); /* Giữ hiệu ứng phóng to */
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.6);
}

@keyframes pulseLogo {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes shakeLogo {
    0% {
        transform: scale(1) rotate(0deg);
    }

    25% {
        transform: scale(1.1) rotate(20deg);
    }

    50% {
        transform: scale(1.05) rotate(-20deg);
    }

    75% {
        transform: scale(1.1) rotate(20deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

.logo-red-dot {
    width: 20px;
    height: 6px;
    background: radial-gradient(ellipse at center, rgba(255,0,0,0.8), rgba(139,0,0,0.5));
    border-radius: 50% / 50%;
    margin-top: 8px;
    box-shadow: 0 0 6px rgba(255, 0, 0, 0.5);
    transform: rotateX(50deg);
    transition: all 0.3s ease;
    overflow: visible;
    position: absolute;
    bottom: 0;
    z-index: 0;
}

    .logo-red-dot::after, .logo-red-dot::before {
        content: '';
        position: absolute;
        z-index: -1;
    }

    .logo-red-dot::after {
        left: 50%;
        top: 50%;
        width: 30px;
        height: 6px;
        border: 2px solid rgba(255, 0, 0, 0.5);
        border-radius: 50% / 50%;
        transform: translate(-50%, -50%) rotateX(50deg) scaleX(1);
        opacity: 0.6;
        animation: pulse-horizontal 1s infinite ease-out;
    }

/*.logo-red-dot::before {
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100px;
    background: radial-gradient(ellipse at bottom, rgba(255, 0, 0, 0.3), transparent 80%);
    filter: blur(12px);
    opacity: 0.7;
    pointer-events: none;
    animation: glow-up 3s ease-in-out infinite, gradient-shift 2.5s ease-in-out infinite;
    clip-path: polygon(50% 100%, 30% 0%, 70% 0%);
}*/

@keyframes pulse-horizontal {
    0% {
        transform: translate(-50%, -50%) rotateX(50deg) scaleX(1);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) rotateX(50deg) scaleX(3);
        opacity: 0;
    }
}

@keyframes glow-up {
    0%, 100% {
        transform: translateX(-50%) scale(1) translateY(0);
        opacity: 0.6;
    }

    50% {
        transform: translateX(-48%) scale(1.05) translateY(-5px);
        opacity: 0.8;
    }
}

@keyframes gradient-shift {
    0%, 100% {
        background: radial-gradient(ellipse at bottom, rgba(255, 0, 0, 0.3), transparent 80%);
    }

    50% {
        background: radial-gradient(ellipse at top, rgba(255, 80, 80, 0.35), transparent 80%);
    }
}

.welcome-overlay {
    display: none;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

    .welcome-overlay.fade-in {
        display: flex;
        opacity: 1;
    }

    .welcome-overlay.fade-out {
        opacity: 0;
    }

.welcome-overlay {
    position: absolute;
    z-index: 1000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backdrop-filter: blur(4px);
    background-color: rgba(0,0,0,0.7);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.welcome-text {
    font-size: 32px;
    font-weight: normal;
    color: white;
    text-align: center;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    padding: 20px;
}

.welcome-char {
    opacity: 0;
    display: inline-block;
    animation: fadeInChar 0.4s forwards;
}

@keyframes fadeInChar {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.start-btn {
    background: linear-gradient(135deg, #00b4db, #0083b0);
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, background 0.4s ease;
    opacity: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: scale(1);
}

    .start-btn:hover {
        transform: scale(1.03); /* nhỏ hơn scale 1.07 trước đó */
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        background: linear-gradient(135deg, #0083b0, #00b4db);
    }

    .start-btn:active {
        transform: scale(0.98);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }

    .start-btn i {
        transition: transform 0.3s ease;
    }

    .start-btn:hover i {
        transform: rotate(5deg) scale(1.1);
    }

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 10px rgba(0, 180, 219, 0.4);
    }

    50% {
        box-shadow: 0 0 20px rgba(0, 180, 219, 0.8);
    }

    100% {
        box-shadow: 0 0 10px rgba(0, 180, 219, 0.4);
    }
}

/* Chỉ thêm khi được kích hoạt qua class */
.start-btn.glow {
    animation: glowPulse 1.8s infinite ease-in-out;
}








.pnlm-hotspot {
    width: 0 !important;
    height: 0 !important;
}

.pnlm-about-msg {
    display: none !important;
}

.pnlm-controls-container {
    display: none;
}

.label-container {
    cursor: pointer;
    pointer-events: auto;
}

.custom-hotspot {
    cursor: pointer;
    pointer-events: auto;
}



html, body {
    height: 100%;
    margin: 0;
    background-color: black;
    overflow: hidden;
}

#panorama {
    width: 100%;
    height: 100%;
}

/* Container chứa tất cả các nút điều khiển */
.controls-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 10px;
    border-radius: 20px;
    align-items: center;
}

/* Nút điều khiển chung */
.control-btn {
    background: #007bff;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid #FFF;
    transition: all 0.2s;
}

.control-btn:hover {
    background: #FFF;
    transform: scale(1.1);
    border: 1px solid #007bff;
    color: #007bff;
}

/* Nhóm nút zoom */
.zoom-controls {
    display: flex;
    gap: 5px;
}

/* Nhóm nút điều hướng */
.navigation-controls {
    display: flex;
    gap: 5px;
    align-items: center;
}

/* Container nút lên/xuống */
.up-down-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}








/* Style cho danh sách panorama */
.panorama-list-container {
    position: fixed;
    bottom: -300px;
    left: 0;
    width: 100%;
    height: 150px;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    transition: bottom 0.5s ease;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0;
}

    .panorama-list-container.show {
        bottom: 90px;
    }

.panorama-scroll {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 0 20px;
    height: 100%;
}

.panorama-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    min-width: 200px;
}

    .panorama-card:hover {
        transform: scale(1.05);
    }

    .panorama-card .title {
        color: white;
        font-weight: bold;
        margin-bottom: 10px;
        text-align: center;
        font-size: 16px;
    }

    .panorama-card img {
        width: 100%;
        height: 125px;
        object-fit: cover;
        border-radius: 5px;
        border: 2px solid transparent;
    }

    /* Highlight ảnh hiện tại */
    .panorama-card.current img {
        border-color: #4CAF50;
        box-shadow: 0 0 10px #4CAF50;
    }

    .panorama-card:hover img {
        border-color: #fff;
    }

/* Hide scrollbar but allow scrolling */
.panorama-scroll::-webkit-scrollbar {
    display: none;
}

.panorama-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.pnlm-container {
    background: none !important;
}


.controls-container.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.controls-container {
    opacity: 1;
    transition: opacity 0.5s ease;
}




.loading-spinner {
    /* Các style hiện có của bạn */
    transition: all 0.3s ease;
}

    .loading-spinner i {
        margin-right: 8px;
    }

        .loading-spinner i.fa-spin {
            animation: fa-spin 2s infinite linear;
        }

/* Custom Loading */
#customLoading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Ẩn message click to load mặc định */
.pnlm-load-box {
    display: none !important;
}

.loading-text {
    color: #fff;
    margin-top: 20px;
    font-size: 18px;
}

/* Blur effect during loading */
.pnlm-render-container.blur {
    filter: blur(10px);
    transition: filter 0.5s ease;
}

/* Improved loading box */
.pnlm-load-box {
    background: rgba(0,0,0,0.8) !important;
    border-radius: 10px !important;
    padding: 15px 20px !important;
    color: white !important;
    font-size: 14px !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
}

/* Panorama list transition */
.panorama-list-container {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Ảnh chào mừng */
#welcomeScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    z-index: 999;
}

    #welcomeScreen img {
        width: 70%;
        max-width: 500px;
        margin-bottom: 20px;
    }

/* Hiệu ứng mờ khi chuyển cảnh */
#panorama {
    transition: opacity 0.5s ease-in-out;
}

/* Spinner loading */
.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #fff;
    z-index: 999;
}

/* Hiệu ứng mờ khi chuyển cảnh */
#panorama {
    transition: opacity 0.5s ease-in-out;
}


.panorama-list-container {
    display: none;
}

.panorama-list-container.show {
    display: block;
}

.welcome-logo {
    width: 30%;
}
.logo2 {
    width: 40px;
    margin-bottom: 10px;
}
img.logo-listkk.logo1 {
    width: 80%;
    margin-bottom: 10px;
}
.welcome-overlay {
    opacity: 0;
    transition: opacity 1.2s ease;
}

    .welcome-overlay.fade-in {
        opacity: 1;
    }

    .welcome-overlay.fade-out {
        opacity: 0;
    }
#kkPanoramaList {
    position: fixed;
    text-align: center;
    top: 0;
    left: 0;
    width: 60px;
    height: 100%;
    background-color: rgb(255 255 255 / 48%);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 10;
    padding: 20px 10px;
    /* 🎯 TRANSITION MƯỢT ÁP DỤNG CHO WIDTH */
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* Dùng hàm mượt hơn */
}

#kkPanoramaList.show {
    /* TRẠNG THÁI MỞ: Trượt vào */
    width: 400px;
}


    .kk-panorama-card .title {
        font-size: 14px;
        color: #333;
        text-align: center;
    }
/* Vị trí cố định cho nút KK */
#kkBtn {
    position: fixed;
    top: 120px; /* Bạn có thể chỉnh cao thấp tùy */
    left: 80px;
    z-index: 10;
    background-color: #007bff;
    color: white;
    border-radius: 0 8px 8px 0;
    border: 1px solid #FFF;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.5s, transform 0.5s;
    cursor: pointer;
}

#kkBtn:hover {
    background-color: #FFF;
    border: 1px solid #007bff;
    color: #007bff;
}
.kk-panorama-list-container.show {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    transition: left 0.4s ease, opacity 0.4s ease;
    opacity: 0; /* Thêm opacity */
    z-index: 1000;
    padding: 20px;
}
.list-content-kk.list-closed .kk-panorama-card .title, .list-content-kk.list-closed .logo1 {
    display: none;
}
.list-content-kk:not(.list-closed) .logo2{
    display: none;
}
.kk-panorama-list-container:not(.show) {
    width: 60px;
}
#kkPanoramaList.show {
    left: 0;
    opacity: 1; /* Khi show thì vừa trượt vừa fade */
}

.hidden {
    display: none !important;
}
/* Bên trong danh sách */
.kk-panorama-card {
    background: #007bff;
    margin-bottom: 15px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.3s;
    padding: 5px 15px;
}
.kk-panorama-card {
    transition: transform 0.5s;
}
.kk-panorama-card:hover {
    transform: translateY(-5px);
    background: #007bff;
    border: 1px solid #007bff;
}
.kk-panorama-card:hover .title{
    color: #007bff;
}
.kk-panorama-card img {
    object-fit: cover;
}
.kk-panorama-scroll .kk-panorama-card{
    display: flex;
    align-items: center;
}
.kk-panorama-scroll .kk-panorama-card .kk-panorama-icon{
    width: 30px;
}
.kk-panorama-card .title {
    padding: 4px;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    color: #FFF;
}
/* Hiệu ứng glow đã thêm rồi, giờ thêm hiệu ứng 'pulse' luôn cho nút */
.control-btn.kk-btn {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    position: fixed;
    z-index: 999;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 140, 255, 0.7);
    transition: all 0.3s ease;
    animation: pulseButton 2.5s infinite ease-in-out;
}


.control-btn.kk-btn.btn-right {
    left: 420px !important;
}


    .control-btn.kk-btn::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 120%;
        height: 120%;
        background: rgba(0, 140, 255, 0.3);
        border-radius: 50%;
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.7;
        animation: pulseGlow 2s infinite;
        z-index: -1;
    }

/* Keyframes: Vòng sáng ngoài pulse */
@keyframes pulseGlow {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.7;
    }
}


@keyframes pulseButton {
    0%, 100% {
        transform: translateY(-50%) scale(1);
    }

    50% {
        transform: translateY(-50%) scale(1.1);
    }
}



#transitionOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: black;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out;
    z-index: 999;
}
















#welcomeWrapper {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent; 
    z-index: 1000; 
    display: flex; 
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#welcomeWrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: -1; 
}

#welcomeOverlay {
    display: none;
    opacity: 0; 
    transition: opacity 1s ease-in-out; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#startBtn {
    opacity: 1; 
}

    #welcomeOverlay.fade-in {
        opacity: 1; 
    }


#startBtn {
    opacity: 1;
}

#welcomeWrapper.fade-out {
    opacity: 0;
    transition: opacity 1s;
    pointer-events: none;
}


#loadingSpinner {
    display: block; 
}

#panorama {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}


















.hotspot-type-2.street-view-arrow {
    width: 20px;
    height: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
    z-index: 10;
}

.hotspot-arrow-icon {
    width: 20px;
    height: 25px; 
    position: relative;
    top: 5px;
    animation: move-up-arrow 1.5s infinite;
}

.hotspot-type-2 .hotspot-arrow-icon::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 12px solid #007bff;
    border-top: none;
    border-left: none;
    transform: rotate(-135deg) !important;
    margin-left: -5px;
    margin-top: -10px;
}


@keyframes move-up-arrow {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0.5; 
        transform: translateY(-10px); 
    }

    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}


.hotspot-type-2 .hotspot-title-top {
    position: absolute;
    border: 2px solid #FFF;
    bottom: 50px;
    left: 50%;
    transform: translateX(-43%);
    background-color: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 0.9em;
    font-weight: 500;
    opacity: 1;
    visibility: visible;
    z-index: 100;
    cursor: pointer;
}