.ey-app-menu,
.ey-app-menu * {
	box-sizing: border-box;
}

.ey-app-menu {
	width: 100%;
	font-family: inherit;
}

.ey-app-menu__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	width: 256px;
	min-height: 600px;
	background: #131318;
	color: #ededf2;
}

.ey-app-menu__workspace {
	display: flex;
	align-items: center;
	gap: 11px;
	margin: 10px;
	padding: 15px 16px;
	border-radius: 12px;
	background: #1c1c24;
	transition: background-color .18s ease, transform .18s ease;
}

.ey-app-menu__workspace:hover {
	transform: translateY(-1px);
}

.ey-app-menu__logo {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	border-radius: 10px;
	background: linear-gradient(135deg, #f5d90a, #a78bfa);
	color: #0c0c0f;
	font-weight: 700;
}

.ey-app-menu__workspace-text,
.ey-app-menu__profile-text {
	min-width: 0;
}

.ey-app-menu__workspace strong,
.ey-app-menu__profile strong,
.ey-app-menu__workspace small,
.ey-app-menu__profile small {
	display: block;
}

.ey-app-menu__workspace strong,
.ey-app-menu__profile strong {
	font-size: 14px;
	font-weight: 600;
}

.ey-app-menu__workspace small,
.ey-app-menu__profile small {
	margin-top: 3px;
	color: #85858f;
	font-size: 11px;
}

.ey-app-menu__workspace-chevron,
.ey-app-menu__more {
	width: 17px;
	height: 17px;
	margin-inline-start: auto;
	color: #85858f;
	flex: 0 0 auto;
}

.ey-app-menu__nav {
	flex: 1;
	overflow-y: auto;
	padding: 8px 11px;
	scrollbar-width: thin;
}

.ey-app-menu__menu,
.ey-app-menu__sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ey-app-menu__menu-item {
	position: relative;
	margin: 0;
}

.ey-app-menu__link {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 42px;
	padding: 10px 13px;
	border-radius: 10px;
	color: #ededf2;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: background-color .16s ease, color .16s ease;
}

.ey-app-menu__link:hover,
.current-menu-item > .ey-app-menu__link,
.current-menu-ancestor > .ey-app-menu__link {
	background: #1c1c24;
}

.ey-app-menu__indicator {
	width: 7px;
	height: 7px;
	flex: 0 0 7px;
	border-radius: 50%;
	background: #85858f;
	opacity: .65;
}

.current-menu-item > .ey-app-menu__link .ey-app-menu__indicator,
.current-menu-ancestor > .ey-app-menu__link .ey-app-menu__indicator {
	background: #f5d90a;
	opacity: 1;
}

.ey-app-menu__label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ey-app-menu__submenu-toggle {
	position: absolute;
	inset-inline-end: 7px;
	top: 7px;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: #85858f;
	cursor: pointer;
}

.ey-app-menu__submenu-toggle svg {
	width: 16px;
	height: 16px;
	transition: transform .18s ease;
}

[dir="rtl"] .ey-app-menu__submenu-toggle svg {
	transform: rotate(180deg);
}

.ey-app-menu__menu-item.is-submenu-open > .ey-app-menu__submenu-toggle svg {
	transform: rotate(90deg);
}

[dir="rtl"] .ey-app-menu__menu-item.is-submenu-open > .ey-app-menu__submenu-toggle svg {
	transform: rotate(90deg);
}

.ey-app-menu__sub-menu {
	display: none;
	padding-inline-start: 14px;
}

.ey-app-menu__menu-item.is-submenu-open > .ey-app-menu__sub-menu,
.ey-app-menu__menu-item.current-menu-ancestor > .ey-app-menu__sub-menu {
	display: block;
}

.ey-app-menu__sub-menu .ey-app-menu__link {
	min-height: 36px;
	font-size: .92em;
}

.ey-app-menu__footer {
	margin-top: auto;
	padding: 11px;
	border-top: 1px solid #26262f;
}

.ey-app-menu__quick-actions {
	display: flex;
	gap: 6px;
	margin-bottom: 7px;
}

.ey-app-menu__quick-link {
	display: grid;
	place-items: center;
	min-height: 38px;
	flex: 1;
	border-radius: 9px;
	color: #85858f;
	text-decoration: none;
	transition: background-color .16s ease, color .16s ease;
}

.ey-app-menu__quick-link svg {
	width: 18px;
	height: 18px;
	stroke-width: 1.8;
}

.ey-app-menu__profile {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 10px;
	border-radius: 12px;
	color: #ededf2;
	text-decoration: none;
	transition: background-color .18s ease;
}

.ey-app-menu__avatar {
	position: relative;
	display: grid;
	place-items: center;
	overflow: visible;
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	border-radius: 11px;
	background: linear-gradient(135deg, #4ade80, #a78bfa);
	color: #101014;
	font-weight: 700;
}

.ey-app-menu__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}

.ey-app-menu__avatar::after {
	content: "";
	position: absolute;
	inset-inline-end: -2px;
	bottom: -2px;
	width: 11px;
	height: 11px;
	border: 2px solid #131318;
	border-radius: 50%;
	background: #4ade80;
}

.ey-app-menu__notice {
	padding: 16px;
	border: 1px dashed #c8c8c8;
	background: #fff;
	color: #222;
	text-align: center;
}

.ey-app-menu.is-mobile-collapsed .ey-app-menu__panel {
	width: var(--ey-collapsed-width, 74px) !important;
}

.ey-app-menu.is-mobile-collapsed .ey-app-menu__workspace {
	justify-content: center;
	padding: 11px;
}

.ey-app-menu.is-mobile-collapsed .ey-app-menu__workspace-text,
.ey-app-menu.is-mobile-collapsed .ey-app-menu__workspace-chevron,
.ey-app-menu.is-mobile-collapsed .ey-app-menu__label,
.ey-app-menu.is-mobile-collapsed .ey-app-menu__submenu-toggle,
.ey-app-menu.is-mobile-collapsed .ey-app-menu__profile-text,
.ey-app-menu.is-mobile-collapsed .ey-app-menu__more {
	display: none;
}

.ey-app-menu.is-mobile-collapsed .ey-app-menu__link,
.ey-app-menu.is-mobile-collapsed .ey-app-menu__profile {
	justify-content: center;
}

.ey-app-menu.is-mobile-collapsed .ey-app-menu__indicator {
	width: 10px;
	height: 10px;
	flex-basis: 10px;
}

.ey-app-menu.is-mobile-collapsed .ey-app-menu__quick-actions {
	flex-direction: column;
}

.ey-app-menu.is-mobile-collapsed .ey-app-menu__sub-menu {
	display: none !important;
}

/* Fixed full-site sidebar mode */
.ey-app-menu--fixed {
	position: static;
	width: 0;
	height: 0;
}

.ey-app-menu--fixed .ey-app-menu__panel {
	position: fixed;
	top: var(--ey-sidebar-top, 0px);
	bottom: 0;
	height: calc(100dvh - var(--ey-sidebar-top, 0px));
	min-height: 0 !important;
	max-height: none;
	z-index: var(--ey-sidebar-z, 9999);
	border-radius: 0;
}

.ey-app-menu--fixed.ey-app-menu--right .ey-app-menu__panel {
	right: 0;
	left: auto;
}

.ey-app-menu--fixed.ey-app-menu--left .ey-app-menu__panel {
	left: 0;
	right: auto;
}

body.ey-app-menu-has-fixed-sidebar {
	transition: padding .2s ease;
}

body.ey-app-menu-has-fixed-sidebar.ey-app-menu-push-right {
	padding-right: var(--ey-fixed-sidebar-width, 256px) !important;
}

body.ey-app-menu-has-fixed-sidebar.ey-app-menu-push-left {
	padding-left: var(--ey-fixed-sidebar-width, 256px) !important;
}

/* Keep WordPress admin bar visible on the frontend. */
body.admin-bar .ey-app-menu--fixed .ey-app-menu__panel {
	top: calc(var(--ey-sidebar-top, 0px) + 32px);
	height: calc(100dvh - var(--ey-sidebar-top, 0px) - 32px);
}

@media (max-width: 782px) {
	body.admin-bar .ey-app-menu--fixed .ey-app-menu__panel {
		top: calc(var(--ey-sidebar-top, 0px) + 46px);
		height: calc(100dvh - var(--ey-sidebar-top, 0px) - 46px);
	}
}

/* Per-menu-item Elementor icons */
.ey-app-menu__item-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 19px;
	height: 19px;
	flex: 0 0 19px;
	color: #85858f;
	line-height: 1;
}

.ey-app-menu__item-icon i,
.ey-app-menu__item-icon svg {
	display: block;
	width: 19px;
	height: 19px;
	font-size: 19px;
	color: inherit;
	fill: currentColor;
}

.current-menu-item > .ey-app-menu__link .ey-app-menu__item-icon,
.current-menu-ancestor > .ey-app-menu__link .ey-app-menu__item-icon {
	color: #f5d90a;
}

.ey-app-menu.is-mobile-collapsed .ey-app-menu__item-icon {
	margin: 0;
}


/* Manual collapse/expand button */
.ey-app-menu__collapse-toggle {
	position: absolute;
	top: 36px;
	inset-inline-start: -29px;
	z-index: 5;
	display: grid;
	place-items: center;
	width: 41px;
	height: 41px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 50%;
	color: #fff;
	background: #1b1b25;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
	cursor: pointer;
	transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.ey-app-menu__collapse-toggle:hover {
	background: #23232c;
}

.ey-app-menu__collapse-toggle svg {
	width: 12px;
	height: 12px;
	stroke-width: 2.2;
	transition: transform .2s ease;
}

[dir="rtl"] .ey-app-menu__collapse-toggle svg {
	transform: rotate(180deg);
}

.ey-app-menu.is-user-collapsed .ey-app-menu__collapse-toggle svg {
	transform: rotate(180deg);
}

[dir="rtl"].ey-app-menu.is-user-collapsed .ey-app-menu__collapse-toggle svg {
	transform: rotate(0deg);
}

/* Manual icons-only state */
.ey-app-menu.is-user-collapsed .ey-app-menu__panel {
	width: var(--ey-collapsed-width, 74px) !important;
}

.ey-app-menu.is-user-collapsed .ey-app-menu__workspace {
	justify-content: center;
	padding: 11px;
}

.ey-app-menu.is-user-collapsed .ey-app-menu__workspace-text,
.ey-app-menu.is-user-collapsed .ey-app-menu__workspace-chevron,
.ey-app-menu.is-user-collapsed .ey-app-menu__label,
.ey-app-menu.is-user-collapsed .ey-app-menu__submenu-toggle,
.ey-app-menu.is-user-collapsed .ey-app-menu__profile-text,
.ey-app-menu.is-user-collapsed .ey-app-menu__more {
	display: none;
}

.ey-app-menu.is-user-collapsed .ey-app-menu__link,
.ey-app-menu.is-user-collapsed .ey-app-menu__profile {
	justify-content: center;
}

.ey-app-menu.is-user-collapsed .ey-app-menu__indicator {
	width: 10px;
	height: 10px;
	flex-basis: 10px;
}

.ey-app-menu.is-user-collapsed .ey-app-menu__quick-actions {
	flex-direction: column;
}

.ey-app-menu.is-user-collapsed .ey-app-menu__sub-menu {
	display: none !important;
}

.ey-app-menu.is-user-collapsed .ey-app-menu__item-icon {
	margin: 0;
}

/* 1.4.0 dashboard visual refresh */
.ey-app-menu__panel {
	overflow: visible;
	background: linear-gradient(180deg, #15151d 0%, #101016 100%);
	padding: 28px 22px 22px;
}

.ey-app-menu__nav {
	overflow-y: auto;
	padding: 0;
}

.ey-app-menu__menu {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ey-app-menu__link {
	min-height: 58px;
	gap: 18px;
	padding: 14px 18px;
	border-radius: 14px;
	font-size: 16px;
	font-weight: 700;
}

.ey-app-menu__item-icon,
.ey-app-menu__item-icon i,
.ey-app-menu__item-icon svg {
	width: 24px;
	height: 24px;
	font-size: 24px;
	flex-basis: 24px;
}

.current-menu-item > .ey-app-menu__link,
.current-menu-ancestor > .ey-app-menu__link {
	background: rgba(255,255,255,.055);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.ey-app-menu__footer {
	padding: 20px 0 0;
	border-top: 1px solid rgba(255,255,255,.08);
}

.ey-app-menu__logout {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 58px;
	padding: 14px 18px;
	border-radius: 14px;
	color: #ededf2;
	text-decoration: none;
	font-size: 16px;
	font-weight: 700;
	transition: background-color .18s ease;
}

.ey-app-menu__logout:hover {
	background: rgba(255,255,255,.055);
}

.ey-app-menu__logout svg {
	width: 25px;
	height: 25px;
	flex: 0 0 25px;
	stroke-width: 1.8;
}

.ey-app-menu__profile {
	margin-top: 20px;
	padding: 14px;
	border: 1px solid rgba(255,255,255,.09);
	border-radius: 16px;
	background: rgba(255,255,255,.035);
	box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.ey-app-menu__profile:hover {
	background: rgba(255,255,255,.065);
}

.ey-app-menu__avatar {
	width: 52px;
	height: 52px;
	flex-basis: 52px;
	border-radius: 13px;
}

.ey-app-menu__profile strong {
	font-size: 16px;
}

.ey-app-menu__profile small {
	font-size: 13px;
}

.ey-app-menu__collapse-toggle {
	top: 36px;
	inset-inline-start: -29px;
	width: 58px;
	height: 58px;
	border-color: rgba(255,255,255,.1);
	background: #1b1b25;
	box-shadow: 0 10px 24px rgba(0,0,0,.35);
}

.ey-app-menu__collapse-toggle svg {
	width: 25px;
	height: 25px;
}

.ey-app-menu.is-user-collapsed .ey-app-menu__panel,
.ey-app-menu.is-mobile-collapsed .ey-app-menu__panel {
	padding-inline: 10px;
}

.ey-app-menu.is-user-collapsed .ey-app-menu__logout,
.ey-app-menu.is-mobile-collapsed .ey-app-menu__logout {
	justify-content: center;
	padding-inline: 10px;
}

.ey-app-menu.is-user-collapsed .ey-app-menu__logout span,
.ey-app-menu.is-mobile-collapsed .ey-app-menu__logout span {
	display: none;
}

.ey-app-menu.is-user-collapsed .ey-app-menu__profile,
.ey-app-menu.is-mobile-collapsed .ey-app-menu__profile {
	padding: 8px;
}

.ey-app-menu.is-user-collapsed .ey-app-menu__avatar,
.ey-app-menu.is-mobile-collapsed .ey-app-menu__avatar {
	width: 42px;
	height: 42px;
	flex-basis: 42px;
}


/* Toggle button above the sidebar */
.ey-app-menu,
.ey-app-menu__wrapper,
.ey-app-menu__sidebar,
.ey-app-menu__inner {
	overflow: visible !important;
}

.ey-app-menu__collapse-toggle {
	position: absolute !important;
	top: -22px !important;
	inset-inline-start: 18px !important;
	right: auto;
	left: auto;
	z-index: 99999 !important;
	width: 41px !important;
	height: 41px !important;
	border: 1px solid rgba(255, 255, 255, .1) !important;
	border-radius: 50% !important;
	background: #1b1b25 !important;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .35) !important;
	transform: none !important;
}

.ey-app-menu__collapse-toggle svg {
	width: 17px !important;
	height: 17px !important;
	display: block !important;
	overflow: visible !important;
}

.ey-app-menu__collapse-toggle:hover {
	background: #242432 !important;
	transform: translateY(-1px) !important;
}


/* Keep the collapse button below the WordPress admin bar */
.ey-app-menu--fixed .ey-app-menu__collapse-toggle {
	top: 8px !important;
	inset-inline-start: -29px !important;
	z-index: 100000 !important;
}

/* The fixed panel already starts below #wpadminbar, so the button follows it. */
body.admin-bar .ey-app-menu--fixed .ey-app-menu__collapse-toggle {
	top: 8px !important;
}


/* v1.4.5 */
body.admin-bar .ey-app-menu--fixed{
    top:32px !important; /* מתחיל מתחת לסרגל העליון */
}

.ey-app-menu--fixed .ey-app-menu__collapse-toggle{
    top:-10px !important; /* מעל התפריט */
    width:20px !important;
    height:20px !important;
    inset-inline-start:-10px !important;
    border-width:1px !important;
    border-radius:50% !important;
}

.ey-app-menu--fixed .ey-app-menu__collapse-toggle svg{
    width:10px !important;
    height:10px !important;
}


/* v1.4.6 — visible 30px collapse button */
.ey-app-menu,
.ey-app-menu__panel,
.ey-app-menu__wrapper {
    overflow: visible !important;
}

.ey-app-menu--fixed .ey-app-menu__collapse-toggle {
    position: absolute !important;
    top: 8px !important;
    inset-inline-start: auto !important;
    inset-inline-end: -15px !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 999999 !important;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    border-radius: 50% !important;
    color: #fff !important;
    background: #1b1b25 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .4) !important;
    transform: none !important;
}

.ey-app-menu--fixed .ey-app-menu__collapse-toggle svg {
    display: block !important;
    width: 14px !important;
    height: 14px !important;
    color: #fff !important;
    stroke: currentColor !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Left-positioned sidebar: place button on its right edge */
.ey-app-menu--left.ey-app-menu--fixed .ey-app-menu__collapse-toggle {
    inset-inline-end: auto !important;
    inset-inline-start: -15px !important;
}


/* v1.4.7 — typography scales with sidebar width */
.ey-app-menu__panel {
    container-type: inline-size;
    container-name: ey-sidebar;
}

/* Menu labels */
.ey-app-menu__item > span:not(.ey-app-menu__count):not(.ey-app-menu__status),
.ey-app-menu__item-label,
.ey-app-menu__nav a {
    font-size: clamp(13px, 5.2cqw, 18px) !important;
    line-height: 1.35 !important;
}

/* Logged-in user name */
.ey-app-menu__profile strong,
.ey-app-menu__user-name {
    font-size: clamp(12px, 4.8cqw, 17px) !important;
    line-height: 1.3 !important;
}

/* User role / description */
.ey-app-menu__profile small,
.ey-app-menu__user-role,
.ey-app-menu__user-description {
    font-size: clamp(10px, 3.8cqw, 13px) !important;
    line-height: 1.35 !important;
}

/* Logout label */
.ey-app-menu__logout,
.ey-app-menu__logout span {
    font-size: clamp(12px, 4.5cqw, 16px) !important;
}

/* Keep labels hidden when the menu is collapsed */
.ey-app-menu.is-collapsed .ey-app-menu__item > span,
.ey-app-menu.is-collapsed .ey-app-menu__profile-text,
.ey-app-menu.is-collapsed .ey-app-menu__logout span {
    display: none !important;
}

/* Fallback for browsers without container query units */
@supports not (font-size: 1cqw) {
    .ey-app-menu__item > span:not(.ey-app-menu__count):not(.ey-app-menu__status),
    .ey-app-menu__item-label,
    .ey-app-menu__nav a {
        font-size: 15px !important;
    }

    .ey-app-menu__profile strong,
    .ey-app-menu__user-name {
        font-size: 14px !important;
    }

    .ey-app-menu__profile small,
    .ey-app-menu__user-role,
    .ey-app-menu__user-description {
        font-size: 11px !important;
    }

    .ey-app-menu__logout,
    .ey-app-menu__logout span {
        font-size: 14px !important;
    }
}


/* v1.4.9 — custom SVG menu icons */
.ey-app-menu__item-icon--svg {
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	line-height: 0;
}

.ey-app-menu__item-icon--svg svg {
	display: block;
	width: 1em;
	height: 1em;
	max-width: 100%;
	max-height: 100%;
	fill: currentColor;
	stroke: currentColor;
}
