/* Mega Menu Styles - Premium Dark Theme */
.nav-item.dropdown.mega-menu-item {
    position: static;
}

.mega-menu-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #020617; /* Midnight Dark */
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
    z-index: 999;
    padding: 0;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

.nav-item.dropdown.mega-menu-item:hover .mega-menu-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-sidebar {
    background-color: rgba(255, 255, 255, 0.02);
    padding: 20px 0;
    height: 100%;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.mega-menu-sidebar-title {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.mega-menu-sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.2s;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    margin-bottom: 5px;
}

.mega-menu-sidebar-link:hover, .mega-menu-sidebar-link.active {
    background-color: rgba(56, 189, 248, 0.1); /* Cyan opacity */
    color: #38bdf8;
}

.mega-menu-list-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.4) !important;
}

.mega-menu-list li {
    margin-bottom: 12px;
}

.mega-menu-list li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s;
}

.mega-menu-list li a:hover {
    color: #38bdf8;
    padding-left: 5px;
}

.tab-content {
    min-height: 350px;
}

.mega-menu-wrapper .bg-light {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.mega-menu-wrapper .text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}
.mega-menu-wrapper .fw-bold {
    color: #fff !important;
}

