/* Menu Mobile Styles */
.mm-wrapper {
    overflow-x: hidden;
}

.mm-menu {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.1);
    color: #333;
    line-height: 24px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Header of mobile menu */
.mm-navbar {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: #ef9911;
    height: 60px;
    line-height: 60px;
}

.mm-navbar__title {
    color: #fff !important;
    font-size: 18px;
    font-weight: 600;
}

/* Menu items styling */
.mm-listitem {
    border-color: rgba(0, 0, 0, 0.1);
    color: #333;
}

.mm-listitem:after {
    left: 0;
}

.mm-listitem > a {
    padding: 12px 10px 12px 20px;
    color: #333 !important;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mm-listitem > a:hover {
    color: #ef9911 !important;
    background: rgba(239, 153, 17, 0.05);
}

/* Submenu styling */
.mm-listitem__text {
    padding-left: 20px;
}

.mm-listitem__btn {
    padding-right: 50px;
}

.mm-btn_next:after {
    border-color: #333;
    width: 8px;
    height: 8px;
    margin-top: -4px;
}

/* Active state */
.mm-listitem_selected > .mm-listitem__text {
    background: rgba(239, 153, 17, 0.05);
    color: #ef9911;
}

/* Animation */
.mm-menu.mm-menu_opened {
    display: block;
    transform: translate3d(0, 0, 0);
    transition: transform 0.4s ease;
}

/* Mobile menu trigger button */
.hamburger-menu {
    display: none;
    padding: 10px;
    cursor: pointer;
}

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

    /* Hide desktop menu on mobile */
    .menu-desktop {
        display: none;
    }
}

/* Custom scrollbar for menu */
.mm-panels {
    scrollbar-width: thin;
    scrollbar-color: #ef9911 #f1f1f1;
}

.mm-panels::-webkit-scrollbar {
    width: 6px;
}

.mm-panels::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.mm-panels::-webkit-scrollbar-thumb {
    background: #ef9911;
    border-radius: 3px;
}

/* Panel animation */
.mm-panel {
    transition: transform 0.4s ease;
}

.mm-panel_opened {
    transform: translate3d(0, 0, 0);
}

.mm-panel_opened-parent {
    transform: translate3d(-30%, 0, 0);
}

.mobile-compact {
    width: 40px;
    text-align: right;
    height: 37px;
}

 .mobile-compact {
    position: relative;
}

.mobile-compact svg {
    cursor: pointer;
    transition: background 0.3s;
}

.mobile-compact svg:hover {
}

.action-user {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 240px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    margin: 8px 0;
    z-index: 100;
}

.action-user li {
    list-style: none;
}

.action-user li a {
    display: block;
    padding: 8px 10px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s;
    font-size: 14px;
    text-align: left;
}

.action-user li a span.icon {
    font-size: 18px;
    margin-right: 5px;
    width: 18px;
    display: inline-block;
}

.action-user li a:hover {
    background: #f5f5f5;
}