header .top-nav {
  background-color: var(--color-ui-primary);
  padding: 8px 0;
}

header .top-nav .container-fluid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .top-nav.e-staff {
  background: linear-gradient(90deg, #351964 0%, #c1017d 99.99%, #c6007e 100%) !important;
}

header .top-nav.e-staff .profile-desktop .position {
  color: #fff;
}

header .mobile-toggle {
  display: flex;
}

@media screen and (min-width: 992px) {
  header .mobile-toggle {
    display: none;
  }
}

header .mobile-toggle button {
  padding: 0 12px;
  background-color: transparent;
  border: none;
}

header .mobile-toggle span {
  color: var(--color-ui-white);
  font-size: 16px;
  margin-top: 2px;
}

header .logo img {
  height: 32px;
}

@media screen and (min-width: 992px) {
  header .logo img {
    height: 48px;
  }
}

header .profile-desktop {
  display: flex;
  gap: 16px;
  display: none;
}

header .profile-desktop .profile {
  text-align: right;
  text-decoration: none;
  display: block;
  cursor: pointer;
}

header .profile-desktop .profile .name {
  color: var(--color-ui-white);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
}

header .profile-desktop .profile .position {
  color: var(--color-font-secondary);
  font-size: 12px;
  line-height: 18px;
}

header .profile-desktop .logout-button {
  display: flex;
  align-items: center;
}

@media screen and (min-width: 992px) {
  header .profile-desktop {
    display: flex;
  }
}

header .nav-section .mobile-menu.open {
  transform: translateX(0%);
}

header .nav-section .mobile-menu {
  background-color: var(--color-ui-primary);
  position: fixed;
  top: 48px;
  height: calc(100% - 48px);
  left: 0;
  transform: translateX(-100%);
  transition: all 0.3s ease-in-out;
  width: 349px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  z-index: 9000;
  max-height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media screen and (min-width: 992px) {
  header .nav-section .mobile-menu {
    display: none;
  }
}

header .nav-section .mobile-menu .menu-item {
  font-size: 22px;
  color: var(--color-ui-white);
  text-decoration: none;
  display: block;
  padding: 14px 24px;
  cursor: pointer;
}

header .nav-section .mobile-menu .sub-menu {
  display: none;
}

header .nav-section .mobile-menu .sub-menu ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

header .nav-section .mobile-menu .sub-menu ul li {
  padding-left: 58px;
}

header .nav-section .mobile-menu .sub-menu ul li a {
  font-size: 14px;
  padding: 8px 0;
  color: var(--color-ui-white);
  text-decoration: none;
  display: inline-block;
}

header .nav-section .mobile-menu .top-section {
  width: 100%;
  padding-top: 40px;
}

header .nav-section .mobile-menu .top-section .name {
  font-weight: 700;
  font-size: 22px;
  line-height: 26px;
  color: var(--color-ui-white);
  padding: 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--color-ui-border);
  display: block;
  text-decoration: none;
}

header .nav-section .mobile-menu .top-section .name div {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

header .nav-section .mobile-menu .top-section nav ul {
  padding: 0;
  margin: 0;
  padding-bottom: 16px;
}

header .nav-section .mobile-menu .top-section nav ul li {
  list-style: none;
}

header .nav-section .mobile-menu .top-section nav ul .menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

header .nav-section .mobile-menu .top-section nav ul .menu-item span {
  min-width: 25px;
}

header .nav-section .mobile-menu .bottom-section {
  padding-top: 15px;
  padding-bottom: 15px;
  width: 100%;
  border-top: 1px solid var(--color-ui-border);
}

header .nav-section .mobile-menu .bottom-section a {
  text-decoration: none;
}

header .nav-section .mobile-menu .has-sub-sub-menu {
  color: var(--color-ui-white);
  font-size: 14px;
  padding: 8px 0;
  color: var(--color-ui-white);
  text-decoration: none;
  display: inline-block;
}

header .nav-section .mobile-menu .has-sub-sub-menu .expand {
  cursor: pointer;
}

header .nav-section .mobile-menu .has-sub-sub-menu .expand .icon {
  margin-left: 10px;
}

header .nav-section .mobile-menu .has-sub-sub-menu .expand .icon svg {
  transform: rotate(180deg);
}

header .nav-section .mobile-menu .has-sub-sub-menu .sub-sub-menu {
  margin-top: 20px;
  display: none;
}

header .nav-section .mobile-menu .has-sub-sub-menu .sub-sub-menu ul {
  padding-bottom: 0;
}

header .nav-section .mobile-menu .has-sub-sub-menu .sub-sub-menu ul li {
  padding-left: 20px;
}

header .nav-section.e-staff .desktop-menu ul {
  justify-content: center;
}

@media screen and (min-width: 1300px) {
  header .nav-section.e-staff .desktop-menu ul {
    justify-content: flex-start;
  }
}

header .nav-section .desktop-menu {
  background-color: var(--color-ui-white);
  display: none;
  box-shadow: 0px 4px 20px rgba(111, 91, 144, 0.5);
  z-index: 1000;
  position: relative;
}

@media screen and (min-width: 992px) {
  header .nav-section .desktop-menu {
    display: flex;
  }
}

header .nav-section .desktop-menu ul {
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

header .nav-section .desktop-menu ul li.active .menu-item {
  background-color: var(--color-ui-secondary);
  color: var(--color-ui-white);
}

header .nav-section .desktop-menu ul li.active .menu-item svg * {
  fill: var(--color-ui-white) !important;
}

header .nav-section .desktop-menu ul li {
  list-style: none;
}

header .nav-section .desktop-menu ul li .menu-item {
  color: var(--color-ui-black);
  text-decoration: none;
  padding: 12px 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media screen and (min-width: 992px) {
  header .nav-section .desktop-menu ul li .menu-item {
    padding: 12px 10px;
  }
}

header .nav-section .desktop-menu ul li .menu-item span {
  display: flex;
  align-items: center;
  font-size: 14px;
}

header .nav-section .desktop-menu ul li .menu-item:hover {
  background-color: var(--color-ui-secondary);
  color: var(--color-ui-white);
}

header .nav-section .desktop-menu ul li .menu-item:hover svg * {
  fill: var(--color-ui-white) !important;
}

header .nav-section .desktop-menu ul .has-sub {
  position: relative;
}

header .nav-section .desktop-menu ul .has-sub:hover > .sub-menu {
  display: block !important;
}

header .nav-section .desktop-menu ul .has-sub.align-right .sub-menu {
  right: 0;
}

header .nav-section .desktop-menu ul .sub-menu {
  position: absolute;
  background-color: var(--color-ui-white);
  width: 200px;
  box-shadow: 0px 4px 20px rgba(111, 91, 144, 0.5);
  border-radius: 8px;
  padding: 16px 8px;
  display: none;
  z-index: 9900;
}

header .nav-section .desktop-menu ul .sub-menu ul {
  display: flex;
  flex-direction: column;
  font-size: 16px;
}

header .nav-section .desktop-menu ul .sub-menu ul a,
header .nav-section .desktop-menu ul .sub-menu ul span {
  text-decoration: none;
  color: var(--color-ui-primary);
  padding: 8px 12px;
  display: inline-block;
  font-size: 14px;
}

header .nav-section .desktop-menu ul .sub-menu ul span {
  cursor: pointer;
}

header .nav-section .desktop-menu ul .sub-menu ul span.icon {
  padding: 8px 0;
  padding-left: 8px;
}

header .nav-section .desktop-menu ul .has-sub-sub-menu {
  position: relative;
}

header .nav-section .desktop-menu ul .has-sub-sub-menu .sub-sub-menu {
  position: absolute;
  z-index: 9990;
  background-color: var(--color-ui-white);
  width: 200px;
  box-shadow: 0px 4px 20px rgba(111, 91, 144, 0.5);
  border-radius: 8px;
  padding: 16px 8px;
  right: 100%;
  display: none;
  top: 0;
}

header .nav-section .desktop-menu ul .has-sub-sub-menu:hover > .sub-sub-menu {
  display: block !important;
}

header .nav-section .desktop-menu ul .no-sub-sub {
  padding-left: 28px;
}
