    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    /* Global scrollbar styles */
    ::-webkit-scrollbar {
        width: 3px;
        height: 3px;
    }
    
    ::-webkit-scrollbar-track {
        background: #f1f1f1; /* Light background */
    }
    
    ::-webkit-scrollbar-thumb {
        background: #282c34; /* Dark gray/blue scrollbar */
        border-radius: 10px;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: #1f2329; /* Slightly darker on hover */
    }
    
    /* For Firefox */
    * {
        scrollbar-width: thin;
        scrollbar-color: #282c34 #f1f1f1;
    }


    body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        background-color: #f4f6f8;
        display: flex;
        min-height: 100vh;
    }

    /* Left Panel (Navigation) */
    .left-panel {
        background-color: #282c34;
        color: white;
        width: 230px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        position: fixed;
        height: 100%;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: width 0.3s ease;
    }

    .left-panel h1 {
        color: #4CAF50;
        font-size: 22px;
        margin-bottom: 20px;
        text-align: center;
        font-weight: bold;
    }


    .left-panel-close-button {
        display: none;
        position: absolute;
        top: 25px;
        right: 20px;
        cursor: pointer;
        font-size: 18px;

    }



    .left-panel .user-profile {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        justify-content: center;
    }

    .left-panel .user-profile img {
        border-radius: 50%;
        width: 70px;
        height: 70px;
        object-fit: cover;
        margin-right: 10px;
    }

    .left-panel .user-profile h3 {
        color: #fff;
        font-size: 16px;
        margin: 0;
    }
    
    #user-name-show {
        font-size: 10px;
    }

    .left-panel .nav-links {
        list-style: none;
        padding-left: 0;
        font-size: 14px;
        margin-top: 20px;
        height: calc(100vh - 100px); /* Set a height limit for scrolling */
        overflow-y: auto; /* Enable vertical scrolling */
        border-top: 2px solid #444;
        border-bottom: 2px solid #444;
    }





    
    /* Hide scrollbar but allow scrolling */
    .left-panel .nav-links::-webkit-scrollbar {
        display: none; /* Hides the scrollbar */
    }

    .left-panel .nav-links {
        -ms-overflow-style: none;  /* For IE and Edge */
        scrollbar-width: none;  /* For Firefox */
    }

    .left-panel .nav-links li {
        padding: 12px 0;
        border-bottom: 1px solid #444;
        transition: background-color 0.3s, transform 0.3s;
        position: relative;
    }

    .left-panel .nav-links li a {
        color: white;
        text-decoration: none;
        display: flex;
        align-items: center;
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 5px;
        transition: background-color 0.3s, transform 0.3s;
        cursor: pointer;
    }

    .left-panel .nav-links li a i {
        margin-right: 10px;
    }

    .left-panel .nav-links li a:hover {
        background-color: #3b4f57;
    }

    .left-panel .nav-links li.active a {
        background-color: #4CAF50;
    }

    /* Ensure the submenu is hidden initially */
    .left-panel .nav-links li ul {
        max-height: 0;  /* Initially hide the submenu */
        overflow: hidden;  /* Prevent content from overflowing */
        list-style: none;
        padding-left: 0;
        background-color: #333;
        border-radius: 5px;
        transition: max-height 0.3s ease-out;  /* Slide effect on max-height */
    }

    /* When the submenu is open (with .sub-open class) */
    .left-panel .nav-links li.sub-open > ul {
        max-height: 1000px;  /* Set a large enough max-height to accommodate all submenu items */
    }

    /* Highlight active menu item when submenu is open */
    .left-panel .nav-links li.sub-open > a {
        background-color: #3b4f57;  /* Active background */
        color: white;  /* Change text color */
    }

    /* Rotate the arrow when submenu is open */
    .left-panel .nav-links li.sub-open > a .submenu-arrow {
        transform: rotate(180deg);  /* Rotate the arrow */
        color: #4CAF50;  /* Arrow color when open */
    }


    .left-panel .nav-links li ul li a {
        padding: 10px 20px;
        font-size: 13px;
        color: #bbb;
        display: flex;
        align-items: center;
    }

    .left-panel .nav-links li ul li a i {
        margin-right: 10px;
    }

    .left-panel .nav-links li ul li a:hover {
        background-color: #3b4f57;
    }

    /* Rotate the arrow when submenu is visible */
    .left-panel .nav-links li.sub-open > a .submenu-arrow {
        transform: rotate(180deg);
    }

    .submenu-arrow {
        margin-left: auto;
        transition: transform 0.3s ease;
    }

    /* Main Content Area */
    .main-content {
        margin-left: 230px;
        padding: 10px;
        width: 100%;
        background-color: #ffffff;
    }

    header {
        position: sticky;
        top: 10px;
        background-color: #4CAF50;
        color: white;
        padding: 10px;
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        border-radius: 5px;
        margin-bottom: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Navbar Search Field */
    .navbar input {
        padding: 8px 12px;
        border-radius: 5px;
        font-size: 14px;
        border: none;
        outline: none;
        margin-left: 10px;
    }

    .navbar a {
        color: white;
        text-decoration: none;
        font-size: 24px;
        font-weight: 600;
        transition: color 0.3s;
    }

    .navbar a:hover {
        color: #137554;
    }

    .hamburger-container,
    .nav-icons-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .nav-icons-container {
        gap: 10px;
    }

    /* Hamburger Icon */
    .hamburger-menu {
        font-size: 24px;
        cursor: pointer;
        margin: 0 auto;
        height: 100%;
    }
    /* When the left panel is hidden, expand the main content */
    .main-content-expand {
        margin-left: 0;  /* Expand content to full width */
        transition: margin-left 0.3s ease;
        width: 100%;

    }

    /* When the left panel is shown, reduce the width of the main content */
    .main-content-normal {
        margin-left: 230px;  /* Adjust based on your left panel's width */
        transition: margin-left 0.3s ease;
        width: calc(100% - 230px);
    }

    /* Left Panel Hidden Class */
    .left-panel-hidden {
        transform: translateX(-100%);  /* Hide the left panel */
        transition: transform 0.3s ease;
    }

    /* Left Panel Show Class */
    .left-panel-show {
        transform: translateX(0);  /* Show the left panel */
        transition: transform 0.3s ease;
    }


/* Media query for screen sizes 780px or below */
@media screen and (max-width: 780px) {
    .left-panel-show {
        z-index: 2; /* Apply z-index of 2 on .left-panel when screen size is 780px or less */
        transform: translateX(-100%);  /* Hide the left panel */
    }
    .left-panel-hidden {
        z-index: 5; /* Apply z-index of 2 on .left-panel when screen size is 780px or less */
        transform: translateX(0);  /* Show the left panel */
    }

    .main-content-normal {
        margin-left: 0;  /* Adjust based on your left panel's width */
        width: 100%;

    }
    
    .left-panel h1 {
        text-align: left;
    }


    .left-panel-close-button {
        display: block;
    }
}


.hidden {
  display: none;
}
