.page-container {
    display: flex;
    min-height: calc(100vh - 60px);
    width: 100%;
    /* margin-top: 60px; */
    position: relative;
}

.hamburger-icon {
    display: none;
    position: fixed;
    top: 71px;
    /* Slightly adjusted for better spacing */
    left: 15px;
    z-index: 1050;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 35px;
    /* Smaller width */
    height: 35px;
    /* Smaller height */
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hamburger-icon span {
    display: block;
    width: 18px;
    /* Smaller line width */
    height: 2px;
    background-color: #333;
    margin: 4px auto;
    /* Center lines and reduce spacing */
    transition: 0.3s;
}

.menubar-container {
    background-color: #f8f9fa;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.signout-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.signout-button {
    padding: 6px 12px;
    background-color: #cc3342;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li {
    margin-top: 0.6rem;
    margin-bottom: 1rem;
}

.menu a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.menu a:hover {
    color: #007bff;
}


.close-icon {
    display: none;
    position: absolute;
    top: 15px;
    /* Align horizontally with hamburger */
    right: 15px;
    /* Same left padding as hamburger */
    width: 35px;
    /* Same width as hamburger */
    height: 35px;
    /* Same height as hamburger */
    line-height: 35px;
    /* Center the X vertically */
    text-align: center;
    font-size: 20px;
    cursor: pointer;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu {
    padding: 2rem;
    padding-top: 60px;
    /* Make room for close icon */
}

.data-container {
    /* reduced from 2rem to 1 to make enough room for mobile display */
    padding: 1rem;
    flex-grow: 1;
    box-sizing: border-box;
}

.menu-link {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 10px 5px;
    border-radius: 5px;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-bottom: 1px solid #d2d1d1;
}

.menu-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.menu-link.active {
    background-color: #f0f0f0;
    color: #007bff;
    font-weight: 600;
}


/* Desktop styles */
@media (min-width: 768px) {
    .menubar-container {
        width: 27%;
    }

    .data-container {
        width: 73%;
    }
}


/* Mobile styles */

@media (max-width: 767px) {
    .hamburger-icon {
        display: block;
    }

    .menubar-container.active~.hamburger-icon {
        display: none !important;
        /* Force hide when menu is active */
    }

    .menubar-container {
        position: fixed;
        left: 0;
        top: 60px;
        height: calc(100vh - 60px);
        width: 250px;
        transform: translateX(-100%);
        z-index: 1000;
        background-color: #f8f9fa;
    }

    .menubar-container.active {
        transform: translateX(0);
    }

    .close-icon {
        display: block;
    }

    .data-container {
        width: 100%;
        /* padding-left: 1rem; removed bcz dont know why it was added */
    }

    .menu-link.active {
        background-color: #f0f0f0;
    }
}