/* ==========================================================================
   Sidebar Navigation
   ========================================================================== */

/* Default sidebar styles (desktop) */
.sidebar {
    width: 146px; /* Match your screenshot width */
    height: 100vh;
    background-color: #003366; /* Dark blue as in your screenshot */
    position: fixed; /* Fixed on desktop, adjusted on mobile */
    top: 0;
    left: 0;
    z-index: 1001;
    transition: transform 0.3s ease; /* Smooth transition for mobile */
    transform: translateX(0); /* Default position on desktop */
    padding: 0; /* Remove padding to handle logo and nav spacing internally */
}

/* Logo at the top of the sidebar (for both desktop and mobile) */
.sidebar-logo {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Optional: subtle divider */
}

.sidebar-logo .boost-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 28px; /* Larger for desktop visibility */
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}


.sidebar .logo img {
    max-width: 100%;
    height: auto;
}

/* Navigation links */
.nav-tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align items to the left for side-by-side layout */
    color: white;
    padding-bottom: 20px; /* Add padding to the bottom */
    overflow-y: auto; /* Enable scrolling if content overflows on mobile */
    height: calc(100vh - 100px); /* Adjust height to account for logo and padding */
}

.nav-tabs .router-link {
    display: flex;
    flex-direction: row; /* Ensure icons and text are side-by-side */
    align-items: center; /* Vertically center icon and text */
    text-decoration: none;
    padding: 10px 6px; /* Increase padding for better spacing */
    width: 100%;
    color: white;
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap; /* Prevent text from wrapping */
    overflow: hidden; /* Hide any overflow if text is too long */
    text-overflow: ellipsis; /* Add ellipsis (...) if text overflows */
}

.nav-tabs .router-link img {
    width: 24px; /* Slightly smaller icons to match your screenshot */
    margin-right: 12px; /* Increase spacing between icon and text for clarity */
}

.nav-tabs .router-link span {
    color: inherit;
    max-width: calc(100% - 36px); /* Ensure text doesn’t overflow beyond icon + margin */
}

.nav-tabs .router-link:hover,
.nav-tabs .router-link.active {
    background-color: #004d99; /* Slightly lighter blue for hover/active */
    color: white;
    padding: 10px 7px;
    width: 100%;
}

.nav-tabs .router-link.active img {
    filter: none; /* Reset invert for active state to show black icons */
}

.nav-tabs .spaceTopSide {
    margin-top: 25px;
    align-items: center;
}

/*
    background-color: rgba(255, 255, 255, 1);
*/
.nav-tabs .router-link-active {
    background-color: #004d99; /* Slightly lighter blue for hover/active */
    color: white;
    padding: 10px 7px;
    width: 100%;
}

.hamburger-bar {
    display: none !important; /* Hidden by default on desktop */
    position: fixed; /* Ensure it stays fixed at the top */
    top: 0;
    left: 0;
    width: 100%;
    height: 60px; /* Fixed height for a sleek bar */
    background-color: #003366; /* Dark blue to match your design */
    z-index: 1001; /* High z-index to stay above other content */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    padding: 0 20px; /* Horizontal padding for spacing */
    display: flex;
    align-items: center;
    justify-content: space-between; /* Ensure logo and icon are spaced evenly */
    transition: all 0.3s ease; /* Smooth transition for animations */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Optional: subtle bottom border */
}

.hamburger-bar {
    position: -webkit-fixed; /* For Safari compatibility */
    position: fixed !important; /* Force fixed positioning to override potential conflicts */
}

.hamburger-bar:hover {
     /*  background-color: #004d99; Slightly lighter blue on hover for interactivity */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}
.hamburger-bar {
    color: white;
}

.hamburger-icon {
    font-size: 24px; /* Standard hamburger icon size */
    color: white !important; /* White icon for contrast */
    cursor: pointer;
    transition: transform 0.3s ease; /* Smooth rotation or scale on hover */
}

.hamburger-icon:hover {
    transform: scale(1.1); /* Slight scale on hover for feedback */
}


/* Mobile-specific styles (screens < 768px) */
@media (max-width: 768px) {
    .hamburger-bar {
        display: flex !important; /* Show bar on mobile */
    }


    .sidebar {
        transform: translateX(-100%); /* Hide sidebar off-screen by default on mobile */
    }

    .sidebar.active {
        transform: translateX(0); /* Show sidebar when active */
    }

    /* Ensure main content adjusts for sidebar on mobile */
    .main-router {
        margin-left: 0; /* No margin on mobile when sidebar is hidden */
        width: 100%;
        margin-top: 60px; /* Push content down to account for hamburger height */
        transition: margin-left 0.3s ease, margin-top 0.3s ease;
    }

    .sidebar.active + .main-router {
        margin-left: 250px; /* Adjust main content when sidebar is open */
    }
}

/* Version tag */
.version-tag {
    font-size: 0.7em !important;
    font-weight: 200 !important;
    cursor: pointer;
    position: absolute;
    bottom: 10px;
    left: 20px;
    color: white;
}

@media (max-width: 768px) {
    .version-tag {
        display: none; /* Hide version tag on mobile */
    }
}