/* Left-menu icon for the "HR-assistant" item (intranet sidebar, data-id
   "iha_chat"). Mirrors the working scheme of the other ithive modules (e.g.
   ithive.assessment360): two glyph files — a white one for dark surfaces and a
   #525C69 one for light surfaces — switched per theme AND per menu mode, because
   the Air sidebar is light while docked/expanded (even under the dark theme) but
   dark in the collapsed sliding overlay. Painting the glyph as the icon
   background with font-size:0 also hides the name-initial the core renders for
   this icon-less item. Injected on main:OnEpilog by MessengerAssetHandler only
   when the current user may see the bot.

   hrassistant_dark.svg  = white glyph  (dark surface: collapsed sliding overlay);
   hrassistant_light.svg = #525C69 glyph (light surface: docked/expanded menu). */

li[data-id="iha_chat"] .menu-item-icon,
.template-air.bitrix24-dark-theme .menu-sliding-mode li[data-id="iha_chat"] .menu-item-icon {
    background-image: url("/images/ithive.hrassistant/icon/hrassistant_dark.svg");
    background-repeat: no-repeat;
    background-position: center;
    font-size: 0;
}

.bitrix24-dark-theme .menu-sliding-mode li[data-id="iha_chat"] .menu-item-icon,
.bitrix24-default-theme li[data-id="iha_chat"] .menu-item-icon,
.bitrix24-dark-theme li[data-id="iha_chat"] .menu-item-icon {
    background-image: url("/images/ithive.hrassistant/icon/hrassistant_light.svg");
}
