/* MOBILE MENU FIX - Force menu toggle to be always visible */

/* Force menu toggle to be visible and in front of everything */
.menu-toggle {
    position: fixed !important;
    top: 15px !important;
    right: 15px !important;
    z-index: 9999999 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid #27ae60 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    padding: 12px !important;
    margin: 0 !important;
    width: 48px !important;
    height: 48px !important;
}

.menu-toggle:hover {
    background: rgba(39, 174, 96, 0.1) !important;
    transform: scale(1.05) !important;
}

.menu-toggle.active {
    background: rgba(39, 174, 96, 0.15) !important;
    border-color: #229954 !important;
}

/* Hamburger lines styling */
.hamburger-line {
    width: 24px !important;
    height: 3px !important;
    background: #27ae60 !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px) !important;
    background: #229954 !important;
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0 !important;
    transform: scale(0) !important;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px) !important;
    background: #229954 !important;
}

/* Make header not interfere with fixed menu */
.header .header-top,
.app-header .header-top {
    padding-right: 70px !important; /* Leave space for fixed menu button */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .menu-toggle {
        top: 12px !important;
        right: 12px !important;
        width: 44px !important;
        height: 44px !important;
        padding: 10px !important;
    }
    
    .hamburger-line {
        width: 22px !important;
        height: 2.5px !important;
    }
    
    .header .header-top,
    .app-header .header-top {
        padding-right: 60px !important;
    }
}

@media (max-width: 480px) {
    .menu-toggle {
        top: 10px !important;
        right: 10px !important;
        width: 42px !important;
        height: 42px !important;
        padding: 9px !important;
    }
    
    .hamburger-line {
        width: 20px !important;
        height: 2px !important;
    }
    
    .header .header-top,
    .app-header .header-top {
        padding-right: 55px !important;
    }
}

/* Hide any other menu toggles that might conflict */
.header-right .menu-toggle {
    display: none !important;
}

/* Make sure dropdown menu appears correctly */
.dropdown-menu {
    top: 65px !important;
    right: 15px !important;
    z-index: 9999998 !important;
}

@media (max-width: 768px) {
    .dropdown-menu {
        top: 58px !important;
        right: 12px !important;
    }
}

@media (max-width: 480px) {
    .dropdown-menu {
        top: 55px !important;
        right: 10px !important;
    }
} 