* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    height: 100%;
    width: 100%;
    
}

/* body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #87CEEB;
    color: #333;
    overflow: hidden;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    direction: right;
    font-family:Arial, Helvetica, sans-serif; 
    font-size:16px; color:#FFFFFF; 
    text-align: center;
    background-color:#000000;
} */

body {
    font-family: 'Varela Round', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    background: #87CEEB;
    color: #FFFFFF;
    overflow: hidden;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    /* direction: rtl; */
    background-color: #000000;
}

/* Loading Screen */
#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.logo-container {
    position: relative;
    overflow: hidden;
}

.loader-logo {
    display: block;
    max-width: 300px;
    height: auto;
}

/* Wipe reveal effect - covers logo from right, reveals from left */
.wipe-reveal {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    transition: width 0.3s ease-out;
}

.loading-text {
    color: #ffffff;
    font-family: 'Varela Round', sans-serif;
    font-size: 24px;
    font-weight: 500;
}

#pano {
    width: 100vw;
    height: 100vh;
    vertical-align: middle;
    text-align: left;
    direction: ltr !important;
    position: absolute;
    overflow: hidden;
} 

.main-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%);
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><rect width="1920" height="1080" fill="%2387CEEB"/><rect x="200" y="200" width="800" height="600" fill="%23ffffff" opacity="0.1"/><rect x="1000" y="150" width="600" height="700" fill="%23ffffff" opacity="0.15"/></svg>') center/cover;
}

.top-thumbnails {
    position: absolute;
    top: 20px;
    left: 50%;
    color: #f1f1f1;
    transform: translateX(-50%);
    display: flex;
    text-shadow: #000000 1px 1px 2px;
    gap: 10px;
    z-index: 10;
    direction: rtl;
}

.thumbnail {
    width: 120px;
    height: 60px;
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    
}

 .thumbnail.enabled {
    pointer-events: auto;
    opacity: 1.0;
} 

.thumbnail:hover {
    /* border-color: #c5b3b3; */
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: #e4e4e4;
    border-width: 6px;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #00D4AA;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    z-index: 5;
}

/* .info-boxes {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
} */

/* .info-box {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    color: #333;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
} */

/* .info-box:hover {
    background: #00D4AA;
    color: white;
}

.info-box-1 { top: -200px; right: -100px; }
.info-box-2 { top: -150px; right: 50px; }
.info-box-3 { top: -100px; right: -150px; }
.info-box-4 { top: -50px; right: 100px; }
.info-box-5 { top: 0px; right: -50px; }
.info-box-6 { top: 50px; right: -200px; } */

.numbered-marker {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #00D4AA;
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    z-index: 15;
}

.marker-2 { top: 40%; right: 25%; }
.marker-3 { top: 35%; right: 45%; }

.right-panel {
    position: fixed;
    right: 0;
    top: 0;
    width: 60px;
    height: 100vh;
    background: linear-gradient(180deg, 
                        rgba(101, 106, 109, 0.9) 0%, 
                        rgba(63, 65, 66, 0.9) 30%, 
                        rgba(33, 34, 34, 0.9) 70%, 
                        rgba(0, 0, 0, 0.9) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 15px 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: -3px 0 25px rgba(0, 0, 0, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    /* transition: transform 0.3s ease; */
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.right-panel:hover {
    width: 150px;
    padding: 15px 12px;
}

/* .right-panel.minimized {
    transform: translateX(100%);
    width: 60px;
    padding: 15px 6px;
}  */

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 3px 3px;
    /* border-radius: 8px; */
    text-align: center;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.icon {
    width: 45px;
    height: 45px;
    /* background: rgba(255, 255, 255, 0.25); */
    /* border-radius: 8px; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 1px solid rgba(255, 255, 255, 0.35); */
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.3); */
    transition: all 0.2s ease;
}

.icon svg {
    color: rgba(255, 255, 255, 0.9);
    width: 22px;
    height: 22px;
    stroke-width: 1.8;
}

/* .nav-item:hover .icon {
    background: rgba(255, 255, 255, 0.35);
} */

.nav-item:hover .icon svg {
    color: rgba(255, 255, 255, 1);
}

.separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    /* margin: 8px 20px; */
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
}

.label {
    color: rgba(255, 255, 255, 0.95);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    text-align: center;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    display: none;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.right-panel:hover .label {
    font-size: 16px;
    display: contents;
    opacity: 1;
    transform: translateX(0);
}

/* Specific styling for first item - LIFE BY LIV */
/* .nav-item:first-child .label {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.9);
} */
#hover-animation {
    filter: brightness(0) invert(1);
}
/* .nav-item:first-child .icon {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
} */



.minimize-toggle {
    position: fixed;
    top: 80%;
    right: 150px;
    transform: translateY(-50%);
    width: 30px;
    height: 60px;
    background: rgba(95, 165, 188, 0.95);
    border: none;
    border-radius: 15px 0 0 15px;
    cursor: pointer;
    /* display: flex; */
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    z-index: 101;
    transition: all 0.3s ease;
}

.minimize-toggle:hover {
    background: #b3a8a8;
}

.minimize-toggle.panel-hidden {
    right: 0;
    border-radius: 15px 0 0 15px;
}

.bottom-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.bottom-control {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.bottom-control:hover {
    background: #00D4AA;
    color: white;
    border-color: #00D4AA;
}

/* Lock panel expanded when popup is open */
.right-panel.locked {
    width: 150px;
    padding: 15px 12px;
}

.right-panel.locked .label {
    font-size: 16px;
    display: contents;
    opacity: 1;
    transform: translateX(0);
}

.watermark {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: #666;
    z-index: 20;
}

.watermark-logo {
    width: 20px;
    height: 20px;
    background: #fa2c2c;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .right-panel {
        width: 100px;
        padding: 6px 0;
        gap: 4px;
    }
    
    .nav-item {
        padding: 2px 2px;
    }
    
    .icon {
        width: 35px;
        height: 35px;
    }
    
    .icon svg {
        width: 18px;
        height: 18px;
    }
    
    .label {
        display: contents;
        font-size: 12px;
    }
    
    .separator {
        margin: 4px 12px;
    }
    
    .top-thumbnails {
        top: 10px;
        left: 10px;
        transform: none;
        flex-direction: column;
        gap: 5px;
    }
    
    .thumbnail {
        width: 80px;
        height: 60px;
    }
    
    .thumbnail div {
        font-size: 14px !important;
        background-size: 80px 60px !important;
    }
    
    .panel-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .minimize-toggle {
        right: 100px;
        width: 25px;
        height: 50px;
    }
    
    .minimize-toggle.panel-hidden {
        right: 0;
    }
    
    .watermark {
        display: none;
    }
    
    #hover-animation {
        width: 35px !important;
        height: 35px !important;
    }
}

/* #apartmentContainer {
    width: 100vw;
    height: 100%;
    border: none;
    display: block;
} */

/* Popup Modal Old Styles */
/* #popupModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.4s ease;
}

#popupModal.show {
  display: block;
  opacity: 1;
} */

.popup-content {
  background: white;
  max-width: 100%;
  height: 100vh;
  margin: 5vh auto;
  padding: 20px;
  overflow-y: auto;
  border-radius: 10px;
  position: relative;
}



#closePopupBtn {
  position: sticky;
  top: 5px;
  left: 5px;
  font-size: 18px;
  background: none;
  border: none;
  cursor: pointer;
}


/* Fullscreen Modal Styles */
.fullscreen-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100% - 60px);  /* Leave space for right panel */
    height: 100%;
    background-color: transparent;
    z-index: 99;  /* Lower than right panel (100) */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fullscreen-modal.show {
    display: block;
    opacity: 1;
}

.fullscreen-modal-content {
    position: relative;
    width: 100%;
    height: 100vh;
    background: white;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Side Popup Modal - next to right panel */
#popupModal {
    display: none;
    position: fixed;
    top: 0;
    right: 100px;  /* Leave space for right panel */
    left: auto;
    width: 500px;
    height: 100vh;
    background: none;
    background-color: transparent;
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(20px);
}

#popupModal.show {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

#popupModal .popup-content {
    position: relative;
    width: 100%;
    height: 100%;
    background: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    /* box-shadow: -5px 0 25px rgba(0, 0, 0, 0.25); */
    border-radius: 8px 0 0 8px;
}

#popupModal #apartmentContainer {
    position: relative;
    width: 100%;
    height: 100%;
}

#popupModal #apartmentContainer iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

#popupModal #closePopupBtn {
    position: absolute;
    top: 5px;
    left: 55px;
    z-index: 2001;
    pointer-events: auto;
}

#closePopupBtn {
    position: absolute;
    top: 10px;
    right: 55px;
    z-index: 10;
    background: rgba(90, 90, 90, 0.7);
    color: white;
    border: none;
    font-size: 24px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    direction: ltr;
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    left: 15px;
    z-index: 10;
    background: rgba(90, 90, 90, 0.7);
    color: white;
    border: none;
    font-size: 24px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    direction: ltr;
}

#closePopupBtn:hover,
.modal-close-btn:hover {
    background: rgba(255, 0, 0, 0.9);
    transform: scale(1.1);
}

.popup-content iframe,
.fullscreen-modal-content iframe {
    width: 100%;
    height: 100vh;
    border: none;
    display: block;
}



/* Video Modal Styles - Add this to your style.css */

.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.show {
    opacity: 1;
}

.video-modal-content {
    position: relative;
    background: #000;
    width: 90%;
    height: 90%;
    margin: 5% auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.video-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

#videoContainer {
    width: 100%;
    height: 100%;
}

#videoContainer iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Mobile responsiveness for video modal */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        height: 85%;
        margin: 7.5% auto;
    }
    
    .video-close-btn {
        top: 10px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    .watermark {
        display: none;
    }

    .label {
        display: contents;
        font-size: 12px;
    }
}
/* Mobile Fullscreen Modal for Apartment/Floor Plans */

#mobileFullscreenModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100% - 60px);  /* Leave space for right panel */
    height: 100%;
    background: #fff;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

#mobileFullscreenModal.show {
    display: block;
    opacity: 1;
    visibility: visible;
}

.mobile-fs-header {
    position: relative;
    width: 100%;
    height: 60px;
    background: linear-gradient(180deg, 
        rgba(78, 144, 196, 0.95) 0%, 
        rgba(85, 155, 195, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 70px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.mobile-fs-title {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-align: center;
}

.mobile-fs-close {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 0, 0, 0.8);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-fs-close:hover,
.mobile-fs-close:active {
    background: rgba(255, 0, 0, 1);
    transform: translateY(-50%) scale(0.95);
}

.mobile-fs-iframe {
    width: 100%;
    height: calc(100% - 60px);
    border: none;
    display: block;
}


/* Desktop - hide this modal, use window.open instead */
@media (min-width: 769px) {
    #mobileFullscreenModal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: calc(100% - 60px);  /* Leave space for right panel */
        height: 100vh;
        background: #fff;
        z-index: 99;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .label {
        display: flex;
        font-size: 12px;
    }
}



    /* ======================================
    HAMBURGER BUTTON STYLES
    ====================================== */

    .hamburger-btn {
        display: none;
        width: 50px;
        height: 50px;
        /* background: linear-gradient(180deg,
                            rgba(101, 106, 109, 0.95) 0%,
                            rgba(33, 34, 34, 0.95) 100%);
        border: 1px solid rgba(255, 255, 255, 0.3); */
        background: transparent;
        /* border-radius: 0; */
        border: none;
        outline: none;
        cursor: pointer;
        z-index: 200;
        padding: 12px 10px;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); */
        transition: all 0.3s ease;
    }

    /* .hamburger-btn:hover {
        background: linear-gradient(180deg, 
                            rgba(121, 126, 129, 0.95) 0%, 
                            rgba(53, 54, 54, 0.95) 100%);
        transform: scale(1.05);
    } */

    .hamburger-btn:active {
        transform: scale(0.95);
    }

    .hamburger-line {
        display: block;
        width: 26px;
        height: 3px;
        background-color: #fff;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .hamburger-btn.active .hamburger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .hamburger-btn.active .hamburger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 90;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mobile-overlay.show {
        display: none;
        opacity: 1;
    }

    /* ======================================
    MOBILE STYLES - REPLACE YOUR EXISTING @media (max-width: 768px)
    ====================================== */

    @media (max-width: 768px) {
        .hamburger-btn {
            display: flex;
            position: relative;
            margin: 5px auto;
        }

        /* Hide nav items when panel is closed */
        .right-panel .nav-item,
        .right-panel .separator {
            display: none;
        }

        /* Show nav items when panel is open */
        .right-panel.mobile-open .nav-item,
        .right-panel.mobile-open .separator {
            display: flex;
        }

        .right-panel.mobile-open .separator {
            display: block;
        }

        .right-panel {
            transform: translateX(0);
            width: 70px;
            height: auto;
            top: 0;
            padding: 10px 5px;
            border-radius: 0;
            transition: all 0.3s ease;
        }

        .right-panel.mobile-open {
            transform: translateX(0) !important;
            width: 80px;
            height: 100vh;
            top: 0;
            padding: 15px 5px;
            border-radius: 0;
        }

        .right-panel:hover {
            transform: translateX(0);
            width: 70px;
            height: auto;
        }

        .right-panel.mobile-open:hover {
            transform: translateX(0) !important;
            height: 100vh;
        }
        
        .right-panel.mobile-open .label {
            display: contents;
            font-size: 12px;
            opacity: 1;
            transform: translateX(0);
        }
        
        .popupModal,
        .fullscreen-modal,
        #mobileFullscreenModal {
            width: 100%;
        }
        
        .top-thumbnails {
            top: 40px;
            left: 20%;
            transform: translateX(-50%);
        }
        
        .nav-item {
            padding: 0px;
        }
        
        .icon {
            width: 30px;
            height: 30px;
        }
        
        .separator {
            margin: 5px 10px;
        }

        .video-modal-content {
            width: 95%;
            height: 85%;
            margin: 7.5% auto;
        }
        
        .video-close-btn {
            top: 10px;
            right: 15px;
            width: 35px;
            height: 35px;
            font-size: 20px;
        }
        
        .watermark {
            display: none;
        }

        .label {
            display: contents;
            font-size: 12px;
        }
    }

    /* ======================================
    LANDSCAPE MOBILE - REPLACE YOUR EXISTING landscape media query
    ====================================== */

    @media (max-width: 1000px) and (orientation: landscape) {
        .hamburger-btn {
            display: flex;
            position: relative;
            margin: 5px auto;
            width: 45px;
            height: 45px;
            right: 5px;
            padding: 10px 8px;
        }

        .hamburger-line {
            width: 24px;
            height: 2px;
        }

        .hamburger-btn.active .hamburger-line:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }

        .hamburger-btn.active .hamburger-line:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }

        /* Hide nav items when panel is closed */
        .right-panel .nav-item,
        .right-panel .separator {
            display: none;
        }

        /* Show nav items when panel is open */
        .right-panel.mobile-open .nav-item,
        .right-panel.mobile-open .separator {
            display: flex;
        }

        .right-panel.mobile-open .separator {
            display: block;
        }

        .right-panel {
            transform: translateX(0);
            width: 60px;
            height: auto;
            top: 0;
            padding: 5px;
            gap: 0px;
            border-radius: 0;
            transition: all 0.3s ease;
        }

        .right-panel.mobile-open {
            transform: translateX(0) !important;
            width: 100px;
            height: 100vh;
            top: 0;
            border-radius: 0;
        }

        .right-panel:hover {
            transform: translateX(0);
            width: 60px;
            height: auto;
        }

        .right-panel.mobile-open:hover {
            transform: translateX(0) !important;
            height: 100vh;
        }

        .right-panel.mobile-open .label {
            display: contents;
            font-size: 11px;
            opacity: 1;
            transform: translateX(0);
        }
        
        .nav-item {
            padding: 0px;
        }
        
        .icon {
            width: 30px;
            height: 30px;
        }
        
        .icon svg {
            width: 18px;
            height: 18px;
        }
        
        .label {
            display: contents;
            font-size: 11px;
        }
        
        .separator {
            margin: 3px 10px;
        }
        
        .top-thumbnails {
            top: 10px;
            left: 10px;
            transform: none;
            flex-direction: column;
            gap: 5px;
        }
        
        .thumbnail {
            width: 80px;
            height: 50px;
        }
        
        .thumbnail div {
            font-size: 12px !important;
            background-size: 80px 50px !important;
        }

        .popupModal,
        .fullscreen-modal,
        #mobileFullscreenModal {
            width: 100%;
        }
    }


