 /* IMPROVED FLOATING NAVIGATION PANEL */
        .floating-navigation-panel {
            position: fixed;
            right: 2rem;
            top: 50%;
            transform: translateY(-50%);
            /* Glassmorphism styling */
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
            border-radius: 20px;
            padding: 2rem 1.5rem;
            min-width: 320px;
            max-height: 80vh;
            overflow-y: auto;
            z-index: 1099;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            font-family: Verdana, Geneva, sans-serif;
            display: none;
        }

        .floating-navigation-panel.visible {
            display: block;
        }

        .floating-navigation-panel.collapsed {
            transform: translateX(calc(100% - 60px)) translateY(-50%);
            padding: 1rem 0.5rem;
            min-width: 60px;
        }
.floating-navigation-panel.collapsed .panel-toggle-btn {
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    padding: 6px;
    min-width: 28px;
    height: 28px;
    font-size: 12px;
}


/* Show the panel */
.floating-navigation-panel {
    display: none; /* start hidden */
}

/* When visible */
.floating-navigation-panel.visible {
    display: block;
}



.panel-toggle-btn {
    font-size: 14px;
    font-weight: 600;
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        background: rgba(37, 99, 235, 0.9);
    color: white;
    border: none;
    backdrop-filter: blur(10px);
     border-radius: 10px;
     margin-bottom: 5px;
   



}


        /* PANEL HEADER */
        .panel-header {
            font-weight: 600;
            margin-bottom: 1.5rem;
            color: rgba(65, 15, 150, 0.9);
            font-size: 1.1rem;
            font-family: Verdana, Geneva, sans-serif;
            background: rgba(255, 255, 255, 0.2);
            padding: 0.75rem 1rem;
            border-radius: 12px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            text-align: center;
        }

        .collapsed .panel-header {
            display: none;
        }

        /* NAVIGATION ITEMS */
        .navigation-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 1rem;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            color: rgba(30, 41, 59, 0.8);
            font-family: Verdana, Geneva, sans-serif;
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
            backdrop-filter: blur(5px);
        }

        .navigation-item:hover {
            background: rgba(255, 255, 255, 0.25);
            color: #2563eb;
            text-decoration: none;
            backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            transform: translateX(-2px);
        }

        .navigation-item.active {
            background: rgba(37, 99, 235, 0.2);
            color: #1e40af;
            font-weight: 500;
            backdrop-filter: blur(15px);
            border: 1px solid rgba(37, 99, 235, 0.3);
            box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
        }

        .collapsed .navigation-item {
            justify-content: center;
            padding: 0.75rem;
            margin-bottom: 0.75rem;
        }

        .nav-item-icon {
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            backdrop-filter: blur(10px);
            flex-shrink: 0;
        }

        .nav-item-text {
            flex: 1;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .collapsed .nav-item-text {
            display: none;
        }

        .nav-item-progress {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: rgba(203, 213, 225, 0.6);
            transition: all 0.3s ease;
            flex-shrink: 0;
        }

        .navigation-item.active .nav-item-progress {
            background: #2563eb;
            box-shadow: 0 0 8px rgba(37, 99, 235, 0.6);
        }

        .collapsed .nav-item-progress {
            display: none;
        }

        /* EXPERT CONTROLS SECTION */
        .side-nav-expert-comments {
            margin-top: 2rem;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
        }

        .collapsed .side-nav-expert-comments {
            display: none;
        }

        .side-nav-expert-comments h4 {
            color: rgba(30, 41, 59, 0.9);
            font-size: 0.95rem;
            margin-bottom: 1rem;
            text-align: center;
            font-weight: 600;
        }

        .side-nav-expert-comments-btn {
            width: 100%;
            padding: 0.75rem 1rem;
            margin-bottom: 0.5rem;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            color: rgba(30, 41, 59, 0.8);
            font-size: 0.85rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            backdrop-filter: blur(10px);
        }

        .side-nav-expert-comments-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            color: #2563eb;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .side-nav-expert-comments-btn.active {
            background: rgba(37, 99, 235, 0.2);
            color: #1e40af;
            border-color: rgba(37, 99, 235, 0.3);
            box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
        }

        .side-nav-expert-comments-btn span {
            font-size: 1rem;
        }
/* CUSTOM GLASSMORPHISM SCROLLBAR STYLING */

/* WebKit browsers (Chrome, Safari, Edge) */
.floating-navigation-panel::-webkit-scrollbar {
    width: 8px; /* Slightly wider for better visibility */
}

.floating-navigation-panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05); /* Very subtle track */
    border-radius: 12px;
    margin: 15px 0; /* Space from top/bottom */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
}

.floating-navigation-panel::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        rgba(37, 99, 235, 0.8) 0%, 
        rgba(29, 78, 216, 0.9) 100%); /* Gradient thumb */
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Glass border effect */
    box-shadow: 
        0 2px 8px rgba(37, 99, 235, 0.3), /* Outer glow */
        inset 0 1px 0 rgba(255, 255, 255, 0.3); /* Inner highlight */
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.floating-navigation-panel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, 
        rgba(37, 99, 235, 0.95) 0%, 
        rgba(29, 78, 216, 1) 100%);
    box-shadow: 
        0 4px 12px rgba(37, 99, 235, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform: scaleX(1.1); /* Slight width increase on hover */
}

.floating-navigation-panel::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, 
        rgba(29, 78, 216, 1) 0%, 
        rgba(37, 99, 235, 0.9) 100%);
    box-shadow: 
        0 2px 6px rgba(37, 99, 235, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Corner where scrollbars meet (if both exist) */
.floating-navigation-panel::-webkit-scrollbar-corner {
    background: rgba(255, 255, 255, 0.05);
}

/* Firefox scrollbar styling */
.floating-navigation-panel {
    scrollbar-width: thin;
    scrollbar-color: rgba(37, 99, 235, 0.8) rgba(255, 255, 255, 0.05);
}
        /* ANIMATIONS */
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideInFromRight {
            from {
                transform: translateX(100%) translateY(-50%);
                opacity: 0;
            }
            to {
                transform: translateX(0) translateY(-50%);
                opacity: 1;
            }
        }

        .floating-navigation-panel.appearing {
            animation: slideInFromRight 0.5s ease-out;
        }

@media (max-width: 768px) {
    .floating-navigation-panel {
        right: 1rem;
        min-width: 280px;
    }
    
    .floating-navigation-panel.collapsed {
        transform: translateX(calc(100% - 50px)) translateY(-50%);
        min-width: 50px;
    }

    .panel-toggle-btn {
        width: 28px;   /* Slightly smaller on mobile */
        height: 28px;
        left: -32px;   /* Adjusted for mobile */
        font-size: 12px;
    }
}

        @media (max-width: 480px) {
            .floating-navigation-panel {
                right: 0.5rem;
                min-width: 240px;
            }
        }