.mega-menu {
    position: absolute;
    top: 60px !important;
    background: #fff;
    min-width: 300px;
    max-width: fit-content;
    z-index: 999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    display: none;
    padding: 1rem;
    border-radius: 6px;
    text-align: left;
}

#megaMenuContent {
    display: flex;
    /* flex-wrap: wrap; */
    gap: 1rem;
}

#megaMenuContent .mega-column {
    display: flex;
    flex-direction: column;
    max-width: 250px;
    min-width: 250px;
    width: 100%;
}

.submenu-link {
    display: block;
    padding: 0.4rem 0.6rem;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
}

.submenu-link:hover {
    background: #f0f0f0;
}

.submenu-link.has-children {
    cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: #fff;
    z-index: 1050;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out, visibility 0s linear 0.3s;
    overflow-y: auto;
    visibility: hidden;
}

.mobile-drawer.active {
    transform: translateX(0);
    visibility: visible;
    transition-delay: 0s;
}

.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1040;
    display: none;
}

.drawer-backdrop.show {
    display: block;
}

.drawer-layer {
    display: none;
    padding: 1rem;
}

.drawer-layer.active {
    display: block;
}

.drawer-link {
    display: block;
    padding: 0.6rem 0.8rem;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.drawer-link:hover {
    background: #f8f9fa;
}

.logout-button {
    color: var(--color-light) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}