Custom_Responsive_Menu_Plugin::instance();

/** assets/css/custom-menu.css **/
.crm-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 0 20px;
}
.crm-menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 25px 0;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.crm-item a {
    padding: 0 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    line-height: 60px;
}

.crm-item a:hover { color: #0073aa; }
.crm-submenu {
    display: none;
    position: absolute;
    background: #fff;
    list-style: none;
    margin: 0;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.crm-item.has-children:hover .crm-submenu { display: block; }
.crm-logo-wrapper {
    margin: 0 30px;
    display: flex;
    align-items: center;
    line-height: 60px;
}

.crm-logo-wrapper a{
	display: flex;
	align-items: center;
}

.crm-arrow { margin-left:5px; font-size:0.7em; }

/* Sidebar mobile */
.crm-toggle { display: none; position: fixed; top: 15px; left: 15px; font-size: 1.5em; cursor: pointer; z-index: 1001; }
.crm-sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: #fff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 1000;
}
.crm-sidebar.open { left: 0; }
.crm-sidebar .crm-container { display: flex !important; flex-direction: column; align-items: center; padding: 20px 0; width: auto; }
.crm-sidebar .crm-menu, .crm-sidebar .crm-logo-wrapper { display: block; width: 100%; }
.crm-sidebar .crm-item a, .crm-sidebar .crm-logo-wrapper { padding: 15px; border-bottom: 1px solid #eee; text-align: left; }
.crm-sidebar.open { left: 0; }
.crm-sidebar .crm-container { flex-direction: column; align-items: center; padding: 20px 0; width: auto; }
.crm-sidebar .crm-menu, .crm-sidebar .crm-logo-wrapper { display: block; width: 100%; }
.crm-sidebar .crm-item a, .crm-sidebar .crm-logo-wrapper { padding: 15px; border-bottom: 1px solid #eee; text-align: left; }

@media (max-width: 768px) {
    .crm-container { display: none; }
    .crm-toggle { display: block; }
    .crm-sidebar { display: block; }
}