#header.aksel-topbar {
  height: 4.8rem !important;
  min-height: 4.8rem;
  border-bottom: 1px solid #dce4ed !important;
  background: #fff !important;
  box-shadow: 0 5px 20px rgba(36, 52, 73, .045);
}

body.has-navbar-vertical-aside > .main { padding-top: 4.8rem !important; }
.aksel-topbar .navbar-nav-wrap { padding-right: 1.15rem; padding-left: 1.15rem; }
.aksel-topbar .navbar-brand-wrapper .navbar-brand { border: 0 !important; background: transparent !important; box-shadow: none !important; }
.aksel-topbar .aksel-navbar-brand-mark { width: 2rem; height: 2rem; min-width: 2rem; max-width: 2rem; padding: .38rem; object-fit: contain; }

.aksel-topbar-toggle,
.aksel-topbar-action-button {
  display: inline-flex;
  width: 2.65rem;
  height: 2.65rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #dce4ed !important;
  border-radius: .72rem !important;
  background: #f8fafc !important;
  color: #657589 !important;
  opacity: 1 !important;
  transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.aksel-topbar-toggle { margin-right: .9rem !important; }
.aksel-topbar-toggle:hover,
.aksel-topbar-action-button:hover { border-color: #b7cae9 !important; background: #eff5ff !important; color: #2862b5 !important; box-shadow: 0 4px 12px rgba(55, 125, 255, .09); }
.aksel-topbar-toggle i { font-size: 1.08rem; }

.aksel-global-search { position: relative; }
.aksel-topbar-search-field {
  position: relative;
  display: flex;
  width: min(34rem, calc(100vw - 33rem));
  min-width: 21rem;
  height: 2.7rem;
  align-items: center;
  border: 1px solid #dce4ed;
  border-radius: .78rem;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.aksel-global-search.is-open .aksel-topbar-search-field,
.aksel-topbar-search-field:focus-within { border-color: #a9c2eb; background: #fff; box-shadow: 0 0 0 3px rgba(55, 125, 255, .09); }
.aksel-topbar-search-field > i { flex: 0 0 auto; margin-left: .9rem; color: #718096; }
.aksel-topbar-search-field .form-control { height: 100%; padding: 0 .45rem; border: 0 !important; background: transparent !important; color: #29384a; font-size: .84rem; font-weight: 550; box-shadow: none !important; }
.aksel-topbar-search-field .form-control::placeholder { color: #93a0ae; }
.aksel-topbar-search-clear,
.aksel-global-search-mobile-field button { display: inline-flex; flex: 0 0 2.45rem; height: 2.45rem; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; color: #8390a0; }

.aksel-global-search-menu {
  position: absolute;
  top: calc(100% + .7rem);
  left: 0;
  z-index: 1200;
  display: none;
  width: 46rem;
  max-width: calc(100vw - 2rem);
  overflow: hidden;
  border: 1px solid #dce4ed;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 22px 52px rgba(15, 23, 42, .17);
}
.aksel-global-search.is-open > .aksel-global-search-menu { display: block; }
.aksel-global-search-panel { display: flex; min-height: 12rem; flex-direction: column; background: #fff; }
.aksel-global-search-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.05rem .82rem; border-bottom: 1px solid #e5ebf2; background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%); }
.aksel-global-search-heading { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.aksel-global-search-heading-icon,
.aksel-global-search-state-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border: 1px solid #cfe0f7; border-radius: .7rem; background: #eef5ff; color: #2964b8; }
.aksel-global-search-heading-icon { width: 2.35rem; height: 2.35rem; font-size: 1rem; }
.aksel-global-search-heading > span:last-child { display: flex; min-width: 0; flex-direction: column; line-height: 1.18; }
.aksel-global-search-heading small { color: #8b98a8; font-size: .66rem; font-weight: 650; letter-spacing: .035em; text-transform: uppercase; }
.aksel-global-search-heading strong { margin-top: .14rem; color: #24354a; font-size: .94rem; font-weight: 760; }
.aksel-global-search-total { display: inline-flex; min-width: 2rem; height: 1.8rem; align-items: center; justify-content: center; padding: 0 .62rem; border: 1px solid #d7e1ed; border-radius: 999px; background: #f7f9fc; color: #52657b; font-size: .72rem; font-weight: 750; }

.aksel-global-search-filters { display: flex; align-items: center; gap: .42rem; padding: .72rem 1.05rem; overflow-x: auto; border-bottom: 1px solid #e7edf4; background: #fff; scrollbar-width: thin; }
.aksel-global-search-filter { display: inline-flex; flex: 0 0 auto; height: 2rem; align-items: center; gap: .38rem; padding: 0 .66rem; border: 1px solid #dce4ed; border-radius: .58rem; background: #fff; color: #66768a; font-size: .7rem; font-weight: 700; line-height: 1; cursor: pointer; }
.aksel-global-search-filter:hover { border-color: #b7cae9; background: #f7faff; color: #2e5f9f; }
.aksel-global-search-filter.is-active { border-color: #9ebce8; background: #edf4ff; color: #245ea9; box-shadow: 0 2px 7px rgba(55, 125, 255, .08); }
.aksel-global-search-filter span:last-child { display: inline-flex; min-width: 1.25rem; height: 1.25rem; align-items: center; justify-content: center; padding: 0 .3rem; border-radius: 999px; background: rgba(73, 99, 132, .1); font-size: .62rem; font-weight: 800; }
.aksel-global-search-filter.is-active span:last-child { background: #d9e8ff; color: #1f5ba8; }

.aksel-global-search-body { min-height: 8.5rem; max-height: min(59vh, 34rem); padding: .65rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #c9d4e2 transparent; scrollbar-width: thin; }
.aksel-global-search-state { display: flex; min-height: 7.4rem; align-items: center; justify-content: center; gap: .62rem; padding: 1.2rem; color: #7c8b9d; font-size: .78rem; text-align: center; }
.aksel-global-search-state-icon { width: 2.2rem; height: 2.2rem; border-color: #dce4ed; background: #f8fafc; color: #8291a4; font-size: .95rem; }
.aksel-global-search-group + .aksel-global-search-group { margin-top: .65rem; padding-top: .65rem; border-top: 1px solid #e9eef4; }
.aksel-global-search-group-head { display: flex; align-items: center; gap: .46rem; padding: .12rem .34rem .5rem; color: #66768a; }
.aksel-global-search-group-head i { font-size: .86rem; }
.aksel-global-search-group-head strong { font-size: .68rem; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; }
.aksel-global-search-group-head span { display: inline-flex; min-width: 1.3rem; height: 1.3rem; align-items: center; justify-content: center; margin-left: auto; padding: 0 .34rem; border-radius: 999px; background: #eef2f7; color: #607086; font-size: .62rem; font-weight: 800; }
.aksel-global-search-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .42rem; }
.aksel-global-search-item { display: flex; min-width: 0; align-items: center; gap: .7rem; padding: .7rem; border: 1px solid #e1e7ef; border-radius: .7rem; background: #fff; color: inherit !important; transition: transform .14s ease, border-color .14s ease, background .14s ease, box-shadow .14s ease; }
.aksel-global-search-item:hover,
.aksel-global-search-item.is-keyboard-active { z-index: 1; border-color: #a9c2e9; background: #f8fbff; text-decoration: none !important; box-shadow: 0 5px 14px rgba(42, 70, 110, .09); transform: translateY(-1px); }
.aksel-global-search-item-icon { display: inline-flex; flex: 0 0 2.35rem; width: 2.35rem; height: 2.35rem; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: .68rem; font-size: 1rem; }
.aksel-global-search-item[data-search-type="product"] .aksel-global-search-item-icon { border-color: #c9e8df; background: #effaf7; color: #25806b; }
.aksel-global-search-item[data-search-type="customer"] .aksel-global-search-item-icon { border-color: #cfe0f7; background: #eef5ff; color: #2864b7; }
.aksel-global-search-item[data-search-type="quote"] .aksel-global-search-item-icon { border-color: #ded5f5; background: #f5f0ff; color: #7454ba; }
.aksel-global-search-item[data-search-type="invoice"] .aksel-global-search-item-icon { border-color: #f1dfb7; background: #fff8e8; color: #a86d12; }
.aksel-global-search-item-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; line-height: 1.2; }
.aksel-global-search-item-meta { display: flex; min-width: 0; align-items: center; gap: .36rem; margin-bottom: .25rem; }
.aksel-global-search-item-type,
.aksel-global-search-item-id { display: inline-flex; min-width: 0; height: 1.22rem; align-items: center; padding: 0 .38rem; border-radius: .32rem; font-size: .58rem; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; }
.aksel-global-search-item-type { background: #eef2f7; color: #607086; }
.aksel-global-search-item-id { border: 1px solid #d4deea; background: #fff; color: #344a63; font-variant-numeric: tabular-nums; }
.aksel-global-search-item-title,
.aksel-global-search-item-subtitle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aksel-global-search-item-title { color: #27384c; font-size: .78rem; font-weight: 750; }
.aksel-global-search-item-subtitle { margin-top: .2rem; color: #8491a1; font-size: .66rem; }
.aksel-global-search-item-arrow { flex: 0 0 auto; color: #a1adba; font-size: .78rem; }
.aksel-global-search-footer { display: flex; min-height: 2.25rem; align-items: center; justify-content: flex-end; gap: .8rem; padding: .45rem 1.05rem; border-top: 1px solid #e5ebf2; background: #fafbfd; color: #8794a3; font-size: .62rem; font-weight: 650; }
.aksel-global-search-footer span { display: inline-flex; align-items: center; gap: .3rem; }
.aksel-global-search-footer kbd { display: inline-flex; min-width: 1.25rem; height: 1.25rem; align-items: center; justify-content: center; padding: 0 .25rem; border: 1px solid #d5dde8; border-bottom-width: 2px; border-radius: .3rem; background: #fff; color: #66768a; font-family: inherit; font-size: .58rem; font-weight: 800; }

.aksel-topbar-actions { gap: .48rem; }
.aksel-topbar-account { display: flex !important; min-height: 2.85rem; align-items: center; gap: .65rem; padding: .28rem .42rem .28rem .32rem; border: 1px solid #dce4ed; border-radius: .8rem; background: #f8fafc; transition: background .16s ease, border-color .16s ease, box-shadow .16s ease; }
.aksel-topbar-account:hover { border-color: #b7cae9; background: #fff; box-shadow: 0 5px 14px rgba(42, 70, 110, .08); }
.aksel-topbar-account .avatar { flex: 0 0 auto; width: 2.15rem; height: 2.15rem; border: 1px solid #d6e0ed; background: #fff; box-shadow: 0 2px 7px rgba(36, 52, 73, .07); }
.aksel-brand-avatar { display: inline-flex; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(145deg, #fff 0%, #f3f6fa 100%) !important; }
.aksel-brand-avatar .avatar-img { width: 50%; height: 50%; margin: 0; object-fit: contain; border-radius: 0; }
.aksel-topbar-account-copy { display: flex; min-width: 0; max-width: 11rem; flex-direction: column; line-height: 1.25; }
.aksel-topbar-account-copy strong,
.aksel-topbar-account-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aksel-topbar-account-copy strong { color: #29384a; font-size: .76rem; font-weight: 750; }
.aksel-topbar-account-copy small { margin-top: .12rem; color: #8794a4; font-size: .66rem; }
.aksel-topbar-account-chevron { color: #8491a2; font-size: .82rem; }
.aksel-topbar-account-dropdown { width: 19rem; margin-top: .75rem !important; padding: 0 !important; overflow: visible; border: 1px solid #d9e2ec !important; border-radius: 1rem !important; background: #fff; box-shadow: 0 20px 48px rgba(15, 23, 42, .17) !important; }
.aksel-topbar-account-dropdown::before { position: absolute; top: -.42rem; right: 1.15rem; width: .82rem; height: .82rem; border-top: 1px solid #d9e2ec; border-left: 1px solid #d9e2ec; background: #f7faff; content: ''; transform: rotate(45deg); }
.aksel-account-menu-profile { position: relative; display: flex; align-items: center; gap: .78rem; padding: 1rem; overflow: hidden; border-radius: .94rem .94rem 0 0; background: linear-gradient(135deg, #f7faff 0%, #eef4fb 100%); }
.aksel-account-menu-profile::after { position: absolute; right: -2.5rem; bottom: -3.5rem; width: 8rem; height: 8rem; border: 1.4rem solid rgba(83, 112, 145, .055); border-radius: 50%; content: ''; }
.aksel-account-menu-mark { z-index: 1; display: inline-flex; flex: 0 0 3rem; width: 3rem; height: 3rem; align-items: center; justify-content: center; border: 1px solid #d4dfea; border-radius: .88rem; background: #fff !important; box-shadow: 0 5px 14px rgba(35, 54, 77, .09); }
.aksel-account-menu-mark img { width: 52%; height: 52%; object-fit: contain; }
.aksel-account-menu-copy { z-index: 1; display: flex; min-width: 0; flex: 1; flex-direction: column; line-height: 1.22; }
.aksel-account-menu-copy strong,
.aksel-account-menu-copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aksel-account-menu-copy strong { color: #26384d; font-size: .88rem; font-weight: 780; }
.aksel-account-menu-copy span { margin-top: .2rem; color: #718197; font-size: .68rem; font-weight: 600; }
.aksel-account-menu-live { z-index: 1; display: inline-flex; flex: 0 0 auto; align-items: center; gap: .32rem; padding: .28rem .46rem; border: 1px solid #bfe5d9; border-radius: 999px; background: #eefaf6; color: #23745f; font-size: .58rem; font-weight: 800; text-transform: uppercase; }
.aksel-account-menu-live i { width: .42rem; height: .42rem; border-radius: 50%; background: #2bb486; box-shadow: 0 0 0 3px rgba(43, 180, 134, .13); }
.aksel-account-menu-context { display: grid; gap: .38rem; padding: .82rem 1rem; border-top: 1px solid #e5ebf2; border-bottom: 1px solid #e5ebf2; background: #fff; }
.aksel-account-menu-context > div { display: flex; min-width: 0; align-items: center; gap: .65rem; padding: .42rem .48rem; border-radius: .62rem; }
.aksel-account-menu-context > div:hover { background: #f7f9fc; }
.aksel-account-menu-context-icon { display: inline-flex; flex: 0 0 2rem; width: 2rem; height: 2rem; align-items: center; justify-content: center; border: 1px solid #dce5ef; border-radius: .58rem; background: #f7f9fc; color: #5e728a; }
.aksel-account-menu-context > div > span:last-child { display: flex; min-width: 0; flex-direction: column; line-height: 1.2; }
.aksel-account-menu-context small { color: #8a98a9; font-size: .59rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.aksel-account-menu-context strong { overflow: hidden; margin-top: .14rem; color: #34475d; font-size: .72rem; font-weight: 730; text-overflow: ellipsis; white-space: nowrap; }
.aksel-account-menu-footer { padding: .58rem; border-radius: 0 0 .94rem .94rem; background: #fbfcfd; }
.aksel-topbar-logout { display: flex; width: 100%; align-items: center; gap: .65rem; margin: 0; padding: .62rem .68rem; border: 1px solid #efd8df; border-radius: .68rem; background: #fff8fa; color: #b93255 !important; }
.aksel-topbar-logout:hover { border-color: #e9c1ce; background: #fdeef2 !important; }
.aksel-account-menu-logout-icon { display: inline-flex; flex: 0 0 2rem; width: 2rem; height: 2rem; align-items: center; justify-content: center; border-radius: .58rem; background: #fbe6ec; }
.aksel-topbar-logout > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; line-height: 1.2; }
.aksel-topbar-logout strong { font-size: .72rem; font-weight: 780; }
.aksel-topbar-logout small { max-width: 11rem; overflow: hidden; margin-top: .12rem; color: #9d6574; font-size: .6rem; text-overflow: ellipsis; white-space: nowrap; }

.aksel-global-search-mobile-field { position: relative; display: flex; height: 2.65rem; align-items: center; margin: .65rem; border: 1px solid #dce4ed; border-radius: .72rem; background: #f8fafc; }
.aksel-global-search-mobile-field > i { margin-left: .8rem; color: #718096; }
.aksel-global-search-mobile-field .form-control { border: 0; background: transparent; box-shadow: none; }

[hidden] { display: none !important; }

@media (max-width: 991.98px) {
  .aksel-topbar .navbar-nav-wrap { padding-right: .75rem; padding-left: .75rem; }
  .aksel-topbar-account { padding: .25rem; }
  .aksel-topbar-account-copy,
  .aksel-topbar-account-chevron { display: none !important; }
  .aksel-topbar .navbar-brand-wrapper .navbar-brand { padding-left: 0; }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .aksel-global-search-menu { position: fixed; top: 4.9rem; right: 1rem; left: 1rem; width: auto; max-width: none; }
}

@media (max-width: 767.98px) {
  #header.aksel-topbar { height: 4.35rem !important; min-height: 4.35rem; }
  body.has-navbar-vertical-aside > .main { padding-top: 4.35rem !important; }
  .aksel-topbar-toggle { width: 2.45rem; height: 2.45rem; margin-right: .5rem !important; }
  .aksel-global-search--mobile .aksel-global-search-menu { position: fixed; top: 4.55rem; right: .5rem; left: .5rem; width: auto; max-width: none; }
  .aksel-global-search-grid { grid-template-columns: 1fr; }
  .aksel-global-search-footer { display: none; }
  .aksel-global-search-body { max-height: 55vh; }
  .aksel-global-search-head { padding: .82rem; }
  .aksel-global-search-filters { padding: .62rem .82rem; }
  .aksel-topbar-account-dropdown { position: fixed !important; top: 4.05rem !important; right: .65rem !important; left: auto !important; width: min(19rem, calc(100vw - 1.3rem)); margin-top: 0 !important; transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .aksel-global-search-item,
  .aksel-topbar-account,
  .aksel-topbar-toggle,
  .aksel-topbar-action-button { transition: none; }
}
