/* Admin left menu: light blue-grey sidebar, blue hover, red active marker */
.menu-wrapper,
.admin__menu,
.admin__menu ul.level-0,
.admin__menu li.level-0 { background: #eaf1f9 !important; }
.admin__menu li.level-0 { border-bottom: 1px solid #d3e0ee !important; }
.admin__menu .level-0 > a {
    background: #eaf1f9 !important; color: #1f3a5c !important;
    border-left: 4px solid transparent; transition: background .15s, color .15s;
}
.admin__menu .level-0 > a:before,
.admin__menu .level-0 > a span { color: #3f6593 !important; }

/* hover: solid blue block + white text + yellow marker */
.admin__menu .level-0:hover > a,
.admin__menu .level-0 > a:hover,
.admin__menu .level-0 > a:focus {
    background: #007bdb !important; color: #fff !important;
    border-left-color: #ffe9a8; text-shadow: none;
}
.admin__menu .level-0:hover > a:before,
.admin__menu .level-0 > a:hover:before,
.admin__menu .level-0:hover > a span { color: #fff !important; }

/* current page */
.admin__menu .level-0._active > a,
.admin__menu .level-0._current > a {
    background: #cfe2f6 !important; color: #0b2a4d !important;
    border-left-color: #c8102e; font-weight: 600;
}
.admin__menu .level-0._active > a:before,
.admin__menu .level-0._current > a:before { color: #c8102e !important; }

/* flyout submenu: dark navy so it stands apart from the light sidebar */
.admin__menu .submenu { background: #2a4468 !important; box-shadow: 6px 0 14px rgba(20,50,90,.3); }
.admin__menu .level-0 > .submenu { min-height: 0 !important; height: auto !important; padding-bottom: 2rem; border-radius: 0 0 6px 0; }
.admin__menu .submenu .submenu-title { color: #fff !important; }
.admin__menu .submenu a { color: #d6e2f3 !important; }
.admin__menu .submenu li:not(.parent) > a:hover,
.admin__menu .submenu li:not(.parent) > a:focus,
.admin__menu .submenu li._active > a { background: #007bdb !important; color: #fff !important; }
.admin__menu .submenu .submenu-group-title { color: #ffe9a8 !important; }
.admin__menu .submenu-close { color: #fff !important; }

/* fixed full-height strip behind the menu (Magento default #373330) */
.menu-wrapper:before { background-color: #eaf1f9 !important; border-right: 1px solid #d3e0ee; }
.menu-wrapper .logo { background: #eaf1f9 !important; }
.menu-wrapper .logo:hover { background: #cfe2f6 !important; }
.menu-wrapper .logo-img { filter: none; }
._keyfocus .menu-wrapper .logo:focus + .admin__menu .level-0:first-child > a { background-color: #cfe2f6 !important; }

/* PackPhoto shortcut items: icon before label (SVG, no emoji) */
.admin__menu .submenu li.item-scan-pack > a,
.admin__menu .submenu li.item-scan-delivery > a { display: flex; align-items: center; gap: 8px; }
.admin__menu .submenu li.item-scan-pack > a:before,
.admin__menu .submenu li.item-scan-delivery > a:before {
  content: ""; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 7px;
  background-repeat: no-repeat; background-position: center; background-size: 22px 22px;
}
.admin__menu .submenu li.item-scan-pack > a:before {
  background-color: #1f9d55;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 8h3l2-3h6l2 3h3v11H4z'/><circle cx='12' cy='13' r='3.5'/></svg>");
}
.admin__menu .submenu li.item-scan-delivery > a:before {
  background-color: #f0641e;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M2 6h11v10H2zM13 9h5l4 4v3h-9z'/><circle cx='7' cy='18' r='2' fill='white'/><circle cx='17' cy='18' r='2' fill='white'/></svg>");
}
