/* Custom Sidebar Styles - Full Height with Forced Scrolling */

/* Make sidebar full height */
.sidebar-wrapper {
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
}

.sidebar-wrapper>div {
    height: 100% !important;
    max-height: 100vh !important;
}

/* Main sidebar container - THIS IS WHERE SCROLL HAPPENS */
.sidebar-main {
    height: calc(100vh - 80px) !important;
    max-height: calc(100vh - 80px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    position: relative !important;
}

#sidebar-menu {
    height: 100% !important;
    position: relative !important;
}

.sidebar-links {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: 20px !important;
    min-height: auto !important;
}

/* Remove the contact us section spacing */
.sidebar-img-section {
    display: none !important;
}

/* FORCE DISABLE SimpleBar scrolling - use native browser scroll instead */
#simple-bar {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.simplebar-wrapper {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.simplebar-mask {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: static !important;
}

.simplebar-offset {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.simplebar-content-wrapper {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: static !important;
}

.simplebar-content {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Hide SimpleBar scrollbar - we'll use native */
.simplebar-track {
    display: none !important;
}

.simplebar-scrollbar {
    display: none !important;
}

/* Custom scrollbar for sidebar-main (native browser scrollbar) */
.sidebar-main::-webkit-scrollbar {
    width: 8px;
}

.sidebar-main::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.sidebar-main::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.sidebar-main::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.4);
}

/* Ensure nav element doesn't restrict height */
.sidebar-main nav {
    height: auto !important;
    min-height: 100% !important;
}