/* Neuronix theme, admin console (openim-admin-front) only. Shared antd overrides and the
   colour variables are in theme.css. */

/* antd Pro side menu: selected entry in brand colours (upstream: grey fill, dark text). */
.ant-pro-sider .ant-menu-item-selected,
.ant-pro-base-menu-inline .ant-menu-item-selected {
  background-color: var(--ccs-primary-bg) !important;
  color: var(--ccs-primary) !important;
}
.ant-pro-sider .ant-menu-item-selected a,
.ant-pro-base-menu-inline .ant-menu-item-selected a { color: var(--ccs-primary) !important; }

/* Login page: Tailwind blue on the input icons and the Terms / Privacy links. */
/* (and "Click to Upload" in the user drawers) */
.text-\[\#4686fc\], .text-\[\#1890FFFF\] { color: var(--ccs-primary) !important; }

/* Letter avatars in the user lists: inline blue background. */
.ant-avatar[style*="background-color: rgb(32, 116, 222)"] { background-color: var(--ccs-primary) !important; }

/* Language switcher in the header (translate icon): the GUIs are English only (brand.js
   pins umi_locale), so a switch would be undone on the next load. */
.ant-pro-global-header-header-actions-item:has(> .ant-dropdown-trigger > i.anticon) { display: none !important; }

/* Login page: no illustration on the left; the form alone, centred. */
.flex > img[src*="/static/login_bg"] { display: none !important; }
.flex:has(> img[src*="/static/login_bg"]) > .ml-24 { margin-left: 0 !important; align-items: center; }
