/* Custom Mobile Menu Styling - Clean Design */

/* Side Menu Container */
.side_menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100vh;
    background: #ffffff !important;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translate3d(-360px, 0, 0);
    transition: transform 0.3s ease;
    z-index: 99999;
    overflow-y: auto;
}

.side_menu.menu-opened {
    transform: translate3d(0, 0, 0) !important;
}

/* Mobile Menu Header */
.mobile_menu_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

/* Logo Styling */
.mobile_menu_header .mobile_logo {
    flex: 1;
}

.mobile_menu_header .mobile_logo img {
    max-height: 40px;
    width: auto;
}

/* Mobile Header Logo Override */
.mobile_main_menu .mobile_menu_left img {
    max-width: none !important;
    height: 51px !important;
    width: 90% !important;
}

/* Close Button */
.close_nav {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.close_nav:hover {
    background: #f5f5f5;
}

.close_nav i {
    font-size: 24px;
    color: #333333 !important;
}

/* Navigation Wrapper */
.mobile_nav_wrapper {
    padding: 0;
}

.mobile_nav_bottom {
    padding: 0;
}

/* Menu Items */
.side_menu .menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side_menu .menu>.nav-item {
    border-bottom: 1px solid #f0f0f0;
}

.side_menu .menu>.nav-item:last-child {
    border-bottom: none;
}

.side_menu .menu>.nav-item>.nav-link {
    display: block;
    padding: 1rem 1.5rem;
    color: #333333 !important;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent !important;
}

.side_menu .menu>.nav-item>.nav-link:hover {
    background: #f8f8f8 !important;
    color: #000000 !important;
    padding-left: 1.75rem;
}

.side_menu .menu>.nav-item.active>.nav-link {
    color: #4F46E5 !important;
    background: #f0f0ff !important;
}

/* Remove dropdown arrows */
.side_menu .mobile_dropdown_icon {
    display: none !important;
}

/* Submenu styling */
.side_menu .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: #f8f8f8 !important;
}

.side_menu .dropdown-menu .nav-item {
    border-bottom: 1px solid #e5e5e5;
}

.side_menu .dropdown-menu .nav-link {
    padding: 0.75rem 1.5rem 0.75rem 2.5rem !important;
    color: #666666 !important;
    font-size: 14px !important;
}

.side_menu .dropdown-menu .nav-link:hover {
    background: #eeeeee !important;
    color: #333333 !important;
}

/* Dark mode override - force light theme */
.side_menu.dark_menu {
    background: #ffffff !important;
}

.side_menu.dark_menu .nav-link {
    color: #333333 !important;
}

/* Hide dark switcher in mobile menu */
.side_menu .dark-switcher {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .side_menu {
        width: 280px;
    }
}
