:root {
  --ex-sidebar-width: 136px;
  --ex-sidebar-width-collapsed: 60px;
}
.ex-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--ex-sidebar-width);
  background: #fff;
  display: flex;
  flex-direction: column;
  z-index: 500;
  transition: width 0.2s ease;
  overflow-x: hidden;
}
.ex-sidebar.is-collapsed {
  width: var(--ex-sidebar-width-collapsed);
}
.ex-sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 14px;
  border-bottom: 1px solid #f0f0f2;
}
.ex-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #181d27;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
}
.ex-sidebar-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #750ef7;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex: 0 0 auto;
}
.ex-sidebar.is-collapsed .ex-sidebar-logo-text,
.ex-sidebar.is-collapsed .ex-sidebar-label {
  display: none;
}
.ex-sidebar-collapse-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid #e9eaeb;
  background: #fff;
  color: #414651;
  cursor: pointer;
  flex: 0 0 auto;
}
.ex-sidebar.is-collapsed .ex-sidebar-collapse-btn svg {
  transform: rotate(180deg);
}
.ex-sidebar-nav {
  flex: 1 1 auto;
  padding: 12px 8px;
  overflow-y: auto;
}
.ex-sidebar-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ex-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #414651;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.ex-sidebar-link:hover {
  background: #f5f0ff;
  color: #750ef7;
}
.ex-sidebar-link.is-current {
  background: #f3eaff;
  color: #750ef7;
  font-weight: 600;
}
.ex-sidebar-icon {
  display: inline-flex;
  flex: 0 0 auto;
}
.ex-sidebar-bottom {
  padding: 12px 8px;
  position: fixed;
  bottom: 0;
}
@media (min-width: 951px) {
  body.ex-has-sidebar .ex-app-main {
    margin-left: var(--ex-sidebar-width);
    transition: margin-left 0.2s ease;
  }
  body.ex-has-sidebar.ex-sidebar-collapsed .ex-app-main {
    margin-left: var(--ex-sidebar-width-collapsed);
  }
}
@media (max-width: 950px) {
  .ex-sidebar {
    left: 0;
    width: 260px;
    max-width: 80vw;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    box-shadow: 0 0 24px rgb(20 10 40 / 0.15);
  }
  .ex-sidebar.is-mobile-open {
    transform: translateX(0);
  }
  .ex-sidebar-collapse-btn {
    display: none;
  }
  .ex-sidebar-logo-text,
  .ex-sidebar-label {
    display: inline !important;
  }
  body.ex-has-sidebar .ex-app-main {
    margin-left: 0;
  }
}
:root {
  --ex-header-radius: 8px;
}
.ex-search-wrap {
  width: 100%;
}
.ex-search-wrap .ex-search-form {
  display: flex;
  align-items: center;
  width: 100%;
  height: 51px;
  box-sizing: border-box;
  padding: 0 16px;
  border: 1px solid #e9eaeb;
  border-radius: var(--ex-header-radius);
  background: #fff;
}
.ex-search-wrap .ex-search-input {
  flex: 1 1 auto;
  height: 100%;
  border: none;
  outline: none;
  font-size: 15px;
  background: #fff0;
  color: #42454b;
}
.ex-search-wrap .ex-search-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #717680;
  background: none;
  border: none;
  cursor: pointer;
  order: 2;
}
.ex-mobile-search-trigger,
.ex-sidebar-collapse-btn {
  border-radius: var(--ex-header-radius);
}
