/**
 * INOffice24 CRM — Accounts-like shell (structure + scroll + collapse).
 * Works WITH Vuexy menu-expanded / menu-collapsed (260 ↔ 80). Do not hardcode left/width against those.
 */
:root {
  /* Vuexy / Accounts violet primary (not forest) */
  --ink: #1a1630;
  --ink-soft: #2f2a4a;
  --foam: #f5f4fb;
  --mist: #e4e1f5;
  --sand: #eeecf8;
  --accent: #7367f0;
  --accent-bright: #9e95f5;
  --accent-soft: rgba(115, 103, 240, 0.16);
  --sidebar-bg: #16122b;
  --sidebar-fg: #f8f7ff;
  --app-bg: #f3f2f8;
  --glass-border: #1a163014;
  --btn-ink: #7367f0;
  --btn-ink-hover: #5e50ee;
  --radius-panel: 1.75rem;
  --radius-ui: 1.25rem;
  --radius-ctl: 0.625rem;
  --ino-pad: 0.65rem;
  --ino-gap: 0.7rem;
  --ino-sidebar: 260px;
  --ino-rail: 80px;
  --ino-topbar: 4.5rem;
  --ino-sidebar-foot: 2.75rem;
}

@media (min-width: 1024px) {
  :root {
    --ino-pad: 1rem;
    --ino-gap: 0.85rem;
  }
}

/* ——— Sticky frame (Accounts): page doesn't scroll; panels do ——— */
html.ino-shell,
html.ino-shell body.ino-accounts-shell {
  height: 100%;
  max-height: 100%;
  overflow: hidden !important;
}

html.ino-shell body.ino-accounts-shell {
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif !important;
  color: var(--ink);
  background: var(--app-bg) !important;
  font-size: 15px;
  line-height: 1.55;
  padding: var(--ino-pad) !important;
  box-sizing: border-box;
}

body.ino-accounts-shell.menu-expanded,
body.ino-accounts-shell:not(.menu-collapsed) {
  --ino-sidebar: 260px;
}

body.ino-accounts-shell.menu-collapsed {
  --ino-sidebar: var(--ino-rail);
}

/* Pref from localStorage (html class set in <head>) — no open→close flash. Desktop only: mobile uses the drawer. */
@media (min-width: 1200px) {
  html.ino-pref-collapsed body.ino-accounts-shell {
    --ino-sidebar: var(--ino-rail);
  }
  html.ino-pref-collapsed body.ino-accounts-shell .main-menu.menu-fixed {
    width: var(--ino-rail) !important;
  }
  html.ino-pref-collapsed body.ino-accounts-shell .header-navbar.floating-nav {
    left: calc(var(--ino-pad) + var(--ino-rail) + var(--ino-gap)) !important;
  }
  html.ino-pref-collapsed body.ino-accounts-shell .app-content.content {
    margin-left: calc(var(--ino-rail) + var(--ino-gap)) !important;
  }
  html.ino-pref-collapsed body.ino-accounts-shell .main-menu .navbar-brand .brand-logo img.ino-logo-full {
    display: none !important;
  }
  html.ino-pref-collapsed body.ino-accounts-shell .main-menu .navbar-brand .brand-logo img.ino-logo-mark {
    display: block !important;
  }
  html.ino-pref-collapsed body.ino-accounts-shell .main-menu .ino-app-version-brand {
    display: none !important;
  }
  html.ino-pref-expanded body.ino-accounts-shell {
    --ino-sidebar: 260px;
  }
}

/* ——— Sidebar panel ——— */
body.ino-accounts-shell .main-menu.menu-fixed {
  background: var(--sidebar-bg) !important;
  color: var(--sidebar-fg) !important;
  top: var(--ino-pad) !important;
  left: var(--ino-pad) !important;
  height: calc(100vh - 2 * var(--ino-pad)) !important;
  width: var(--ino-sidebar) !important;
  border-radius: var(--radius-panel) !important;
  box-shadow: 0 22px 50px -28px rgba(0, 0, 0, 0.52) !important;
  border: 1px solid rgba(7, 21, 15, 0.35) !important;
  margin: 0 !important;
  overflow: hidden !important;
  z-index: 1031;
  transition: width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), background 0s;
}

/* Collapsed rail stays rail — flyouts, not widen */
body.ino-accounts-shell.menu-collapsed .main-menu.menu-fixed,
body.ino-accounts-shell.menu-collapsed .main-menu.menu-fixed.expanded {
  width: var(--ino-rail) !important;
}

body.ino-accounts-shell .main-menu .navbar-header {
  width: 100% !important;
  overflow: hidden;
  background: transparent !important;
  border-bottom: 1px solid rgba(248, 255, 251, 0.08);
  height: auto !important;
  min-height: 3.5rem;
  padding: 0.65rem 0.75rem !important;
  display: flex !important;
  align-items: center !important;
}
body.ino-accounts-shell .main-menu .navbar-header .nav.navbar-nav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  gap: 0.35rem;
}
body.ino-accounts-shell .main-menu .navbar-header .nav-item {
  float: none !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.ino-accounts-shell .main-menu .navbar-header .nav-item.me-auto {
  margin-right: auto !important;
  flex: 1 1 auto;
  min-width: 0;
}
body.ino-accounts-shell .main-menu .navbar-header .nav-toggle {
  display: none !important;
}

body.ino-accounts-shell .main-menu .navbar-header .navbar-brand.ino-brand {
  display: flex !important;
  align-items: center !important;
  margin-top: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
body.ino-accounts-shell .main-menu .navbar-brand .brand-logo {
  display: inline-flex !important;
  align-items: center !important;
  max-width: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
body.ino-accounts-shell .main-menu .navbar-brand .brand-logo img.ino-logo-full {
  display: block !important;
  width: 128px !important;
  max-width: 128px !important;
  height: 32px !important;
  max-height: 32px !important;
  object-fit: contain !important;
  opacity: 1 !important;
  visibility: visible !important;
}
body.ino-accounts-shell .main-menu .navbar-brand .brand-logo img.ino-logo-mark {
  display: none !important;
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  object-fit: contain !important;
}
body.ino-accounts-shell.menu-collapsed .navbar-brand .brand-logo img.ino-logo-full {
  display: none !important;
}
body.ino-accounts-shell.menu-collapsed .navbar-brand .brand-logo img.ino-logo-mark {
  display: block !important;
}
body.ino-accounts-shell.menu-collapsed .main-menu .navbar-header .nav-item.me-auto {
  justify-content: center;
  margin-right: 0 !important;
}

body.ino-accounts-shell .main-menu .shadow-bottom {
  display: none !important;
}

body.ino-accounts-shell .main-menu.menu-fixed {
  display: flex !important;
  flex-direction: column !important;
}
body.ino-accounts-shell .main-menu-content {
  flex: 1 1 auto;
  min-height: 0;
  height: auto !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}
body.ino-accounts-shell .ino-sidebar-foot {
  flex: 0 0 auto;
  padding: 0.65rem 1rem 0.85rem;
  border-top: 1px solid rgba(248, 255, 251, 0.08);
  text-align: center;
}
body.ino-accounts-shell .ino-app-version {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(248, 247, 255, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.ino-accounts-shell.menu-collapsed .ino-app-version {
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}
body.ino-accounts-shell.menu-collapsed .ino-app-version-brand {
  display: none !important;
}

body.ino-accounts-shell .main-menu.menu-dark .navigation,
body.ino-accounts-shell .main-menu.menu-dark .navigation li a,
body.ino-accounts-shell .main-menu .menu-title,
body.ino-accounts-shell .main-menu .navigation-header span {
  color: rgba(248, 255, 251, 0.88) !important;
  font-family: inherit;
  font-size: 0.875rem;
}

body.ino-accounts-shell .main-menu .navigation-header {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.7rem !important;
  opacity: 0.55;
}

body.ino-accounts-shell .main-menu.menu-dark .navigation > li > a,
body.ino-accounts-shell .main-menu.menu-dark .navigation > li ul li > a {
  border-radius: 1.25rem !important;
  margin: 0.12rem 0.55rem;
  padding: 0.55rem 0.85rem !important;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Expanded accordion: simple show/hide (no max-height fight with Vuexy) */
body.ino-accounts-shell:not(.menu-collapsed) .main-menu.menu-dark .navigation > li:not(.open) > ul.menu-content,
body.ino-accounts-shell:not(.menu-collapsed) .main-menu.menu-dark .navigation > li:not(.open) > ul {
  display: none !important;
}
body.ino-accounts-shell:not(.menu-collapsed) .main-menu.menu-dark .navigation > li.open > ul.menu-content,
body.ino-accounts-shell:not(.menu-collapsed) .main-menu.menu-dark .navigation > li.open > ul,
body.ino-accounts-shell:not(.menu-collapsed) .main-menu.menu-dark .navigation > li.ino-sub-animating > ul.menu-content {
  display: flow-root !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.ino-accounts-shell:not(.menu-collapsed) .main-menu.menu-dark .navigation > li.ino-sub-animating > ul.menu-content {
  overflow: hidden !important;
}
body.ino-accounts-shell .main-menu.menu-dark .navigation li.nav-item a:hover > *,
body.ino-accounts-shell .main-menu.menu-dark .navigation li.nav-item ul.menu-content li a:hover > * {
  transform: none !important;
}

/* Collapsed rail: NEVER widen; flyout panels outside (Accounts-style) */
body.ino-accounts-shell.menu-collapsed .main-menu.menu-fixed,
body.ino-accounts-shell.menu-collapsed .main-menu.menu-fixed.expanded {
  width: var(--ino-rail) !important;
  overflow: visible !important;
}
body.ino-accounts-shell.menu-collapsed .main-menu-content {
  overflow: visible !important;
}
body.ino-accounts-shell.menu-collapsed .main-menu .navigation,
body.ino-accounts-shell.menu-collapsed .main-menu .navigation > li.has-sub {
  overflow: visible !important;
  position: relative;
}
body.ino-accounts-shell.menu-collapsed .main-menu .navigation > li.has-sub > ul.menu-content,
body.ino-accounts-shell.menu-collapsed .main-menu .navigation > li.has-sub > ul {
  display: block !important;
  height: auto !important;
  position: absolute !important;
  left: calc(100% + 0.65rem) !important;
  top: 0 !important;
  z-index: 1200 !important;
  min-width: 14.5rem;
  width: max-content;
  max-width: 18rem;
  max-height: min(70vh, 28rem) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  margin: 0 !important;
  padding: 0.45rem !important;
  border-radius: 1.15rem !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  /* Same surface as the rail (no separate submenu tint); rows inside stay transparent */
  background: var(--sidebar-bg) !important;
  background-image: none !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateX(-4px);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease !important;
}
/* Flyout driven by JS .ino-flyout-open (hover with close delay / click) + keyboard focus */
body.ino-accounts-shell.menu-collapsed .main-menu .navigation > li.has-sub:focus-within > ul.menu-content,
body.ino-accounts-shell.menu-collapsed .main-menu .navigation > li.has-sub.ino-flyout-open > ul.menu-content {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(0);
}
/* Collapsed rail: icons on the horizontal center of the bar */
body.ino-accounts-shell.menu-collapsed .main-menu .navigation > li > a {
  display: flex !important;
  justify-content: center !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.ino-accounts-shell.menu-collapsed .main-menu .navigation > li > a > svg,
body.ino-accounts-shell.menu-collapsed .main-menu .navigation > li > a > i {
  margin: 0 !important;
  flex: 0 0 auto;
}
body.ino-accounts-shell.menu-collapsed .main-menu .navigation > li.navigation-header {
  display: flex !important;
  justify-content: center !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body.ino-accounts-shell.menu-collapsed .main-menu .navigation > li.navigation-header > svg {
  margin: 0 !important;
}

/* Collapsed: hide titles, keep icons; no open-inline max-height */
body.ino-accounts-shell.menu-collapsed .main-menu .navigation > li > a .menu-title,
body.ino-accounts-shell.menu-collapsed .main-menu .navigation > li > a .badge {
  display: none !important;
}
body.ino-accounts-shell.menu-collapsed .main-menu .navigation > li.has-sub > ul .menu-title,
body.ino-accounts-shell.menu-collapsed .main-menu .navigation > li.has-sub > ul .menu-item {
  display: inline !important;
}
body.ino-accounts-shell.menu-collapsed .main-menu .navigation > li.has-sub > ul li a {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  margin: 0.1rem 0 !important;
}
body.ino-accounts-shell.menu-collapsed .main-menu .navigation > li.has-sub > ul li a:hover {
  background: transparent !important;
  color: #fff !important;
}
body.ino-accounts-shell.menu-collapsed .main-menu .navigation > li.has-sub > ul li.active > a {
  background: transparent !important;
  color: var(--accent-bright) !important;
  font-weight: 600;
}

/* Hover: text only — no tile backgrounds on menu/submenu */
body.ino-accounts-shell .main-menu.menu-dark .navigation > li > a:hover,
body.ino-accounts-shell .main-menu.menu-dark .navigation > li ul li > a:hover {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #fff !important;
}

body.ino-accounts-shell .main-menu.menu-dark .navigation li a i,
body.ino-accounts-shell .main-menu.menu-dark .navigation li a svg {
  color: var(--accent-bright) !important;
  stroke: var(--accent-bright) !important;
}

body.ino-accounts-shell .collapse-toggle-icon,
body.ino-accounts-shell .toggle-icon,
body.ino-accounts-shell .modern-nav-toggle {
  color: var(--accent-bright) !important;
}
body.ino-accounts-shell .modern-nav-toggle svg,
body.ino-accounts-shell .collapse-toggle-icon {
  color: var(--accent-bright) !important;
  stroke: var(--accent-bright) !important;
}

/* Single collapse control: top-left menu icon (desktop rail / mobile drawer) */
body.ino-accounts-shell .header-navbar .ino-menu-toggle-wrap {
  display: flex !important;
  margin-right: 0.35rem !important;
}
body.ino-accounts-shell .header-navbar .ino-menu-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-ctl);
  cursor: pointer;
  transition: background-color 0.2s ease;
}
body.ino-accounts-shell .header-navbar .ino-menu-toggle:hover {
  background: var(--accent-soft);
}
body.ino-accounts-shell .header-navbar .ino-menu-toggle svg {
  width: 20px !important;
  height: 20px !important;
}

/* ——— Top bar: sticky in frame, not inside content scroll ——— */
body.ino-accounts-shell .header-navbar.floating-nav,
body.ino-accounts-shell .header-navbar.navbar-shadow {
  position: fixed !important;
  top: var(--ino-pad) !important;
  left: calc(var(--ino-pad) + var(--ino-sidebar) + var(--ino-gap)) !important;
  right: var(--ino-pad) !important;
  width: auto !important;
  max-width: none !important;
  height: var(--ino-topbar);
  margin: 0 !important;
  padding: 0 !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 244, 251, 0.82)) !important;
  backdrop-filter: saturate(160%) blur(14px) !important;
  -webkit-backdrop-filter: saturate(160%) blur(14px) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: var(--radius-panel) !important;
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.2) !important;
  z-index: 1030;
  transition: left 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Override Vuexy collapsed left:80px (viewport) — use frame math */
body.ino-accounts-shell.menu-collapsed .header-navbar.floating-nav,
body.ino-accounts-shell.menu-collapsed .navbar.floating-nav {
  left: calc(var(--ino-pad) + var(--ino-rail) + var(--ino-gap)) !important;
}

body.ino-accounts-shell .header-navbar .navbar-container {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  height: 100% !important;
  min-height: 100%;
  width: 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 1rem !important;
  gap: 0.75rem;
}
body.ino-accounts-shell .header-navbar .bookmark-wrapper,
body.ino-accounts-shell .header-navbar .navbar-nav {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  height: 100%;
}
body.ino-accounts-shell .header-navbar .nav-item,
body.ino-accounts-shell .header-navbar .ino-topbar-item {
  display: flex !important;
  align-items: center !important;
  margin: 0 0.35rem 0 0 !important;
  padding: 0 !important;
  float: none !important;
}
/* Respect Bootstrap visibility utilities on top-bar items (the flex rule above would override them) */
body.ino-accounts-shell .header-navbar .nav-item.d-none {
  display: none !important;
}
@media (min-width: 992px) {
  body.ino-accounts-shell .header-navbar .nav-item.d-lg-block {
    display: flex !important;
  }
}
body.ino-accounts-shell .header-navbar .ino-topbar-form,
body.ino-accounts-shell .header-navbar form {
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
}
body.ino-accounts-shell .header-navbar .nav-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.35rem 0.45rem !important;
  line-height: 1 !important;
}
body.ino-accounts-shell .header-navbar .dropdown-user-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem;
}
body.ino-accounts-shell .header-navbar .uk-input,
body.ino-accounts-shell .header-navbar .uk-select {
  height: 36px !important;
  margin: 0 !important;
}

body.ino-accounts-shell .header-navbar .nav-link,
body.ino-accounts-shell .header-navbar .user-name,
body.ino-accounts-shell .header-navbar .user-status {
  color: var(--ink-soft) !important;
}

body.ino-accounts-shell .header-navbar .uk-input,
body.ino-accounts-shell .header-navbar .uk-select,
body.ino-accounts-shell .header-navbar .form-control {
  border-radius: var(--radius-ctl) !important;
  border: 1px solid rgba(7, 21, 15, 0.14) !important;
  background: rgba(245, 244, 251, 0.85) !important;
  color: var(--ink) !important;
}

body.ino-accounts-shell .header-navbar-shadow {
  display: none !important;
}

/* ——— Main column: fills remaining frame; ONLY this scrolls ——— */
body.ino-accounts-shell .app-content.content {
  position: relative !important;
  margin: 0 !important;
  margin-left: calc(var(--ino-sidebar) + var(--ino-gap)) !important;
  margin-top: calc(var(--ino-topbar) + var(--ino-gap)) !important;
  padding: 0 !important;
  width: auto !important;
  max-width: none !important;
  height: calc(100vh - 2 * var(--ino-pad) - var(--ino-topbar) - var(--ino-gap)) !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
  transition: margin-left 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body.ino-accounts-shell.menu-collapsed .app-content.content {
  margin-left: calc(var(--ino-rail) + var(--ino-gap)) !important;
}

body.ino-accounts-shell .app-content .content-wrapper {
  display: block;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: rgba(255, 255, 255, 0.92) !important;
  border-radius: var(--radius-panel) !important;
  border: 1px solid var(--glass-border) !important;
  /* Soft even elevation — avoid large negative-spread shadows (triangular corner artifacts) */
  box-shadow: 0 1px 2px rgba(26, 22, 48, 0.04), 0 8px 24px rgba(26, 22, 48, 0.06) !important;
  filter: none !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.85rem 1.1rem 1.25rem !important;
  margin: 0 !important;
  isolation: isolate;
}
body.ino-accounts-shell .app-content .content-wrapper::before,
body.ino-accounts-shell .app-content .content-wrapper::after {
  display: none !important;
  content: none !important;
  box-shadow: none !important;
}

/* Avoid double “card” height forcing outer scroll */
body.ino-accounts-shell .app-content .content-body {
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Page footer removed — version is in sidebar */
body.ino-accounts-shell footer.footer {
  display: none !important;
}

/* ——— Mobile / overlay: Vuexy hides fixed sidebar ——— */
@media (max-width: 1199.98px) {
  body.ino-accounts-shell {
    --ino-sidebar: 0px;
    --ino-rail: 0px;
    overflow-x: hidden !important;
  }
  body.ino-accounts-shell .main-menu.menu-fixed {
    left: var(--ino-pad) !important;
    width: 260px !important;
    transform: translate3d(-120%, 0, 0);
  }
  body.ino-accounts-shell.menu-open .main-menu.menu-fixed {
    transform: translate3d(0, 0, 0);
  }
  body.ino-accounts-shell .header-navbar.floating-nav,
  body.ino-accounts-shell.menu-collapsed .header-navbar.floating-nav {
    left: var(--ino-pad) !important;
  }
  body.ino-accounts-shell .app-content.content,
  body.ino-accounts-shell.menu-collapsed .app-content.content {
    margin-left: 0 !important;
    left: 0 !important;
  }
}

/* Phone top bar: row 1 = menu + avatar, row 2 = date / company / language */
@media (max-width: 767.98px) {
  body.ino-accounts-shell {
    --ino-topbar: 6.6rem;
  }
  body.ino-accounts-shell .header-navbar .navbar-container {
    position: relative;
    flex-wrap: wrap !important;
    align-content: center !important;
    row-gap: 0.45rem;
    padding: 0.45rem 0.7rem !important;
  }
  body.ino-accounts-shell .header-navbar .bookmark-wrapper {
    width: 100%;
    height: 40px !important;
  }
  body.ino-accounts-shell .header-navbar .navbar-nav.ms-auto {
    width: 100%;
    height: auto !important;
    margin: 0 !important;
    gap: 0.4rem;
    flex-wrap: nowrap !important;
  }
  body.ino-accounts-shell .header-navbar .ino-topbar-item {
    flex: 1 1 6rem;
    min-width: 0;
    margin: 0 !important;
  }
  body.ino-accounts-shell .header-navbar .ino-topbar-item:first-child {
    flex-basis: 8rem;
  }
  body.ino-accounts-shell .header-navbar .ino-topbar-item:nth-child(3) {
    flex: 0 1 5.5rem;
  }
  body.ino-accounts-shell .header-navbar .ino-topbar-item form,
  body.ino-accounts-shell .header-navbar .ino-topbar-item .uk-input,
  body.ino-accounts-shell .header-navbar .ino-topbar-item .uk-select {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }
  body.ino-accounts-shell .header-navbar .ino-topbar-item .uk-input,
  body.ino-accounts-shell .header-navbar .ino-topbar-item .uk-select {
    padding-left: 0.5rem !important;
    padding-right: 0.35rem !important;
    font-size: 0.8rem !important;
  }
  body.ino-accounts-shell .header-navbar .dropdown-user {
    position: absolute !important;
    top: 0.45rem;
    right: 0.7rem;
    height: 40px;
    margin: 0 !important;
  }
  body.ino-accounts-shell .header-navbar .dropdown-user .avatar img {
    width: 34px;
    height: 34px;
  }
}

/* ——— One content surface: flatten nested cards inside .content-wrapper ——— */
body.ino-accounts-shell .content-wrapper .card,
body.ino-accounts-shell .content-wrapper .card.card-browser-states,
body.ino-accounts-shell .content-wrapper .uk-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin-bottom: 1rem;
}
body.ino-accounts-shell .content-wrapper .card .card-header,
body.ino-accounts-shell .content-wrapper .card .card-body,
body.ino-accounts-shell .content-wrapper .card .card-footer {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding-left: 0.15rem;
  padding-right: 0.15rem;
}
body.ino-accounts-shell .content-wrapper .card .card-header {
  border-bottom: 1px solid var(--mist) !important;
  margin-bottom: 0.35rem;
  padding-bottom: 0.65rem;
}
body.ino-accounts-shell .content-wrapper .card .card-title,
body.ino-accounts-shell .card .card-header,
body.ino-accounts-shell .card .card-title,
body.ino-accounts-shell h1,
body.ino-accounts-shell h2,
body.ino-accounts-shell h3,
body.ino-accounts-shell h4 {
  color: var(--ink) !important;
  font-family: inherit;
}
body.ino-accounts-shell .modal .card,
body.ino-accounts-shell .dropdown-menu .card {
  background: var(--foam) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: var(--radius-ui) !important;
  box-shadow: 0 14px 36px -28px rgba(0, 0, 0, 0.18) !important;
}

body.ino-accounts-shell .btn-primary,
body.ino-accounts-shell .btn.btn-primary,
body.ino-accounts-shell .uk-button-primary {
  background: var(--btn-ink) !important;
  border-color: var(--btn-ink) !important;
  color: #fff !important;
  border-radius: var(--radius-ctl) !important;
  font-weight: 600;
  box-shadow: 0 10px 28px -16px rgba(0, 0, 0, 0.45);
}

body.ino-accounts-shell .btn-primary:hover,
body.ino-accounts-shell .btn.btn-primary:hover {
  background: var(--btn-ink-hover) !important;
  border-color: var(--btn-ink-hover) !important;
}

body.ino-accounts-shell .btn-outline-primary {
  color: var(--accent) !important;
  border-color: var(--accent) !important;
  border-radius: var(--radius-ctl) !important;
}

body.ino-accounts-shell .form-control,
body.ino-accounts-shell .uk-input,
body.ino-accounts-shell .uk-select,
body.ino-accounts-shell .uk-textarea {
  border-radius: var(--radius-ctl) !important;
  border-color: rgba(7, 21, 15, 0.16) !important;
  background: rgba(238, 236, 248, 0.9) !important;
  color: var(--ink) !important;
}

body.ino-accounts-shell .form-control:focus,
body.ino-accounts-shell .uk-input:focus,
body.ino-accounts-shell .uk-select:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(115, 103, 240, 0.18) !important;
}

body.ino-accounts-shell .table thead th {
  color: var(--ink-soft) !important;
  font-weight: 600;
  border-bottom-color: var(--mist) !important;
}

body.ino-accounts-shell .table td {
  font-size: 0.875rem;
  border-color: rgba(215, 235, 225, 0.7) !important;
}

body.ino-accounts-shell .badge-light-primary,
body.ino-accounts-shell .badge.badge-light-primary {
  background: rgba(115, 103, 240, 0.14) !important;
  color: var(--accent) !important;
}

body.ino-accounts-shell .btn.scroll-top {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  border-radius: 999px !important;
  bottom: calc(var(--ino-pad) + 3rem) !important;
  right: calc(var(--ino-pad) + 1rem) !important;
}

body.ino-accounts-shell .bg-primary,
body.ino-accounts-shell .badge-primary {
  background-color: var(--accent) !important;
}
body.ino-accounts-shell .text-primary {
  color: var(--accent) !important;
}
body.ino-accounts-shell a {
  color: var(--accent);
}
body.ino-accounts-shell a:hover {
  color: var(--ink-soft);
}

/* ——— Login (blank-page): no sticky shell ——— */
body.blank-page.ino-login,
body.blank-page {
  height: auto !important;
  max-height: none !important;
  overflow: auto !important;
  padding: 0 !important;
  background-color: #f3f2f8 !important;
  background-image:
    radial-gradient(900px 480px at 12% 18%, rgba(158, 149, 245, 0.22), transparent 60%),
    radial-gradient(700px 420px at 88% 12%, rgba(115, 103, 240, 0.16), transparent 55%),
    radial-gradient(800px 500px at 50% 100%, rgba(26, 22, 48, 0.1), transparent 55%),
    linear-gradient(160deg, #f6f5fb, #ebe8f6 40%, #f3f2f8) !important;
}

html:has(> body.blank-page.ino-login) {
  height: 100%;
  min-height: 100%;
}
body.blank-page.ino-login {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  background-attachment: fixed !important;
}
body.blank-page.ino-login > .uk-grid {
  margin: 0 auto !important;
  padding: 1rem !important;
  box-sizing: border-box;
}
body.blank-page.ino-login > .uk-grid > * {
  padding-left: 0 !important;
}

body.blank-page .uk-card,
body.blank-page .uk-card-default {
  background: rgba(245, 244, 251, 0.82) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  border-radius: 1.25rem !important;
  box-shadow: 0 18px 50px -28px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

body.blank-page .form-label {
  color: rgba(7, 21, 15, 0.7);
  font-weight: 500;
}

body.blank-page .btn-primary {
  border-radius: 999px !important;
  height: 47px;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--btn-ink) !important;
  border-color: var(--btn-ink) !important;
}

body.blank-page a {
  color: var(--accent);
}


/* ——— Logo size ——— */
body.ino-accounts-shell .main-menu .navbar-header .navbar-brand {
  margin: 0 !important;
}
/* brand-logo rules: see navbar-header block above */

/* ——— Kill ALL Vuexy submenu / row backgrounds (expanded) ——— */
body.ino-accounts-shell .main-menu.menu-dark {
  background: var(--sidebar-bg) !important;
}
body.ino-accounts-shell .main-menu.menu-dark .navigation,
body.ino-accounts-shell .main-menu.menu-dark .navigation > li {
  background: transparent !important;
  background-image: none !important;
}
body.ino-accounts-shell:not(.menu-collapsed) .main-menu.menu-dark .navigation,
body.ino-accounts-shell:not(.menu-collapsed) .main-menu.menu-dark .navigation li,
body.ino-accounts-shell:not(.menu-collapsed) .main-menu.menu-dark .navigation ul,
body.ino-accounts-shell:not(.menu-collapsed) .main-menu.menu-dark .navigation .menu-content,
body.ino-accounts-shell:not(.menu-collapsed) .main-menu.menu-dark .navigation > li .active,
body.ino-accounts-shell:not(.menu-collapsed) .main-menu.menu-dark .navigation > li ul .active,
body.ino-accounts-shell:not(.menu-collapsed) .main-menu.menu-dark .navigation > li ul li.active,
body.ino-accounts-shell:not(.menu-collapsed) .main-menu.menu-dark .navigation > li.open > a,
body.ino-accounts-shell:not(.menu-collapsed) .main-menu.menu-dark .navigation > li.sidebar-group-active > a,
body.ino-accounts-shell:not(.menu-collapsed) .main-menu.menu-dark .navigation > li ul .open > a,
body.ino-accounts-shell:not(.menu-collapsed) .main-menu.menu-dark .navigation > li ul .sidebar-group-active > a {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* Open parent: no filled bar (avoid double bar with child active) */
body.ino-accounts-shell .main-menu.menu-dark .navigation > li.open > a,
body.ino-accounts-shell .main-menu.menu-dark .navigation > li.sidebar-group-active > a,
body.ino-accounts-shell .main-menu.menu-dark .navigation > li.open:not(.menu-item-closing) > a,
body.ino-accounts-shell .main-menu.menu-dark .navigation > li ul .open > a,
body.ino-accounts-shell .main-menu.menu-dark .navigation > li ul .sidebar-group-active > a {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: rgba(248, 247, 255, 0.95) !important;
}

/* Active = color only, no background pill */
body.ino-accounts-shell .main-menu.menu-dark .navigation > li:not(.has-sub).active > a,
body.ino-accounts-shell .main-menu.menu-dark .navigation > li ul li.active > a,
body.ino-accounts-shell .main-menu.menu-dark .navigation > li ul .active > a {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: var(--accent-bright) !important;
  font-weight: 600;
}

/* Parent with only itself active (e.g. settings) */
body.ino-accounts-shell .main-menu.menu-dark .navigation > li.has-sub.active:not(.open) > a,
body.ino-accounts-shell .main-menu.menu-dark .navigation > li.has-sub.sidebar-group-active:not(.open) > a {
  background: transparent !important;
}

/* Kill leftover Vuexy navy/gradient on submenu rows */
body.ino-accounts-shell .main-menu.menu-dark .navigation > li ul .active .hover > a,
body.ino-accounts-shell .main-menu.menu-dark .navigation > li ul .active :hover > a,
body.ino-accounts-shell .main-menu.menu-dark .navigation > li .active .hover > a,
body.ino-accounts-shell .main-menu.menu-dark .navigation > li .active :hover > a,
body.ino-accounts-shell .main-menu.menu-dark .navigation li a,
body.ino-accounts-shell .main-menu.menu-dark .navigation li ul li a {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

body.ino-accounts-shell.menu-collapsed .main-menu .navigation li.active > a {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: var(--accent-bright) !important;
}

/* Also soften sidebar panel shadow (same triangular risk) */
body.ino-accounts-shell .main-menu.menu-fixed {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 10px 28px rgba(0, 0, 0, 0.18) !important;
}
body.ino-accounts-shell .header-navbar.floating-nav {
  box-shadow: 0 1px 2px rgba(26, 22, 48, 0.04), 0 8px 20px rgba(26, 22, 48, 0.06) !important;
}

/* ——— Dashboard layout restore ——— */
body.ino-accounts-shell .content-wrapper.row {
  display: block !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}
body.ino-accounts-shell .ino-dash-stats {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-left: -0.5rem !important;
  margin-right: -0.5rem !important;
  margin-bottom: 1rem !important;
}
body.ino-accounts-shell .ino-dash-stats > [class*="col-"] {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
  margin-bottom: 0.75rem;
}
/* Section cards inside main container (stats + panels) */
body.ino-accounts-shell .content-wrapper .ino-section-card,
body.ino-accounts-shell .content-wrapper .ino-stat-card.ino-section-card,
body.ino-accounts-shell .content-wrapper .ino-dash-panels .ino-section-card {
  background: rgba(255, 255, 255, 0.78) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: var(--radius-ui) !important;
  box-shadow: 0 1px 2px rgba(26, 22, 48, 0.04), 0 10px 28px rgba(26, 22, 48, 0.05) !important;
  margin-bottom: 0 !important;
  overflow: hidden;
}
body.ino-accounts-shell .content-wrapper .ino-section-card .card-header,
body.ino-accounts-shell .content-wrapper .ino-section-card .card-body {
  background: transparent !important;
  border: 0 !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}
body.ino-accounts-shell .content-wrapper .ino-section-card .card-header {
  border-bottom: 1px solid var(--mist) !important;
  padding-top: 0.85rem !important;
  padding-bottom: 0.75rem !important;
  margin-bottom: 0 !important;
}
body.ino-accounts-shell .ino-stat-card.ino-section-card .card-header {
  border-bottom: 0 !important;
  min-height: 0 !important;
  margin-bottom: 0 !important;
  padding: 1.35rem 1.25rem 1.4rem !important;
}
body.ino-accounts-shell .content-wrapper .ino-stat-card.ino-section-card {
  min-height: 7.5rem;
}
body.ino-accounts-shell .ino-stat-label {
  font-size: 0.9rem !important;
  font-weight: 600;
  line-height: 1.3 !important;
  color: rgba(26, 22, 48, 0.58);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.45rem;
}
body.ino-accounts-shell .ino-stat-value {
  font-size: 1.65rem !important;
  font-weight: 700;
  line-height: 1.15 !important;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.02em;
}
body.ino-accounts-shell .ino-stat-value.ino-stat-danger {
  color: #c62828 !important;
}
/* Soft distinct tints for the 4 top stats */
body.ino-accounts-shell .ino-stat-tint-violet {
  background: linear-gradient(155deg, rgba(115, 103, 240, 0.16), rgba(255, 255, 255, 0.88) 55%) !important;
  border-color: rgba(115, 103, 240, 0.22) !important;
}
body.ino-accounts-shell .ino-stat-tint-mint {
  background: linear-gradient(155deg, rgba(45, 180, 140, 0.15), rgba(255, 255, 255, 0.88) 55%) !important;
  border-color: rgba(45, 180, 140, 0.22) !important;
}
body.ino-accounts-shell .ino-stat-tint-sky {
  background: linear-gradient(155deg, rgba(56, 140, 220, 0.15), rgba(255, 255, 255, 0.88) 55%) !important;
  border-color: rgba(56, 140, 220, 0.22) !important;
}
body.ino-accounts-shell .ino-stat-tint-rose {
  background: linear-gradient(155deg, rgba(230, 90, 110, 0.14), rgba(255, 255, 255, 0.88) 55%) !important;
  border-color: rgba(230, 90, 110, 0.22) !important;
}
body.ino-accounts-shell .ino-dash-panels {
  margin-left: -0.5rem !important;
  margin-right: -0.5rem !important;
  margin-bottom: 0.75rem !important;
}
body.ino-accounts-shell .ino-dash-panels > [class*="col-"] {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}
body.ino-accounts-shell .ino-dash-panels .card-header h2 {
  font-size: 1.05rem !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

/* Feather / menu icons: no tile, just accent stroke */
body.ino-accounts-shell .main-menu .navigation li a i,
body.ino-accounts-shell .main-menu .navigation li a svg,
body.ino-accounts-shell .header-navbar .ficon,
body.ino-accounts-shell .header-navbar [data-feather] {
  background: transparent !important;
  box-shadow: none !important;
  color: var(--accent-bright) !important;
  stroke: var(--accent-bright) !important;
}
body.ino-accounts-shell .main-menu .navigation li.active > a i,
body.ino-accounts-shell .main-menu .navigation li.active > a svg,
body.ino-accounts-shell .main-menu .navigation li ul .active > a i,
body.ino-accounts-shell .main-menu .navigation li ul .active > a svg {
  color: #fff !important;
  stroke: #fff !important;
}

/* UIKit / content icon buttons */
body.ino-accounts-shell .uk-icon-button,
body.ino-accounts-shell a.uk-icon-button {
  background: var(--accent-soft) !important;
  color: var(--accent) !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.ino-accounts-shell .uk-icon-button:hover,
body.ino-accounts-shell a.uk-icon-button:hover {
  background: rgba(115, 103, 240, 0.28) !important;
  color: var(--ink) !important;
}
body.ino-accounts-shell .uk-icon-button svg,
body.ino-accounts-shell .uk-icon-button i {
  color: inherit !important;
  stroke: currentColor !important;
  background: transparent !important;
}

/* Vuexy light-* icon tiles in content */
body.ino-accounts-shell .avatar.bg-light-primary,
body.ino-accounts-shell .avatar.bg-light-success,
body.ino-accounts-shell .avatar.bg-light-danger,
body.ino-accounts-shell .avatar.bg-light-warning,
body.ino-accounts-shell .avatar.bg-light-info,
body.ino-accounts-shell .bg-light-primary,
body.ino-accounts-shell .bg-light-secondary {
  background: var(--accent-soft) !important;
  box-shadow: none !important;
}
body.ino-accounts-shell .avatar .avatar-content,
body.ino-accounts-shell .avatar .avatar-icon {
  background: transparent !important;
  color: var(--accent) !important;
}
body.ino-accounts-shell .bg-label-primary,
body.ino-accounts-shell .bg-label-secondary {
  background: var(--mist) !important;
  color: var(--ink-soft) !important;
}

/* Bootstrap primary → purple */
body.ino-accounts-shell,
body.blank-page {
  --bs-primary: #7367f0;
  --bs-primary-rgb: 115, 103, 240;
}
body.ino-accounts-shell .btn-primary,
body.blank-page .btn-primary {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}
