.navbar-mainmenu {
  position: relative; }

.menuList-main {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 0; }

.menuList-main > .menu-item {
  position: relative; }

.menuList-main > .menu-item > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.3s ease; }

.menuList-main > .menu-item > a svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform 0.3s ease; }

.menuList-main > .menu-item:hover > a svg {
  transform: rotate(180deg); }

/* Level 1 Submenu */
.menuList-submain.level-1 {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(0, 0, 0, 0.75);
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }

.menu-item.has-submenu:hover > .menuList-submain.level-1 {
  opacity: 1;
  visibility: visible;
  transform: translateY(0); }

.menuList-submain.level-1 > .submenu-item {
  position: relative; }
  .menuList-submain.level-1 > .submenu-item:last-child a {
    border-bottom: none; }

.menuList-submain.level-1 > .submenu-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  border-bottom: 1px solid #DbDbDb; }

.menuList-submain.level-1 > .submenu-item > a svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  opacity: 0.7;
  transition: transform 0.3s ease; }

.menuList-submain.level-1 > .submenu-item:hover > a {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff; }

.menuList-submain.level-1 > .submenu-item:hover > a svg {
  transform: translateX(5px);
  opacity: 1; }

/* Level 2 Submenu */
.menuList-submain.level-2 {
  position: absolute;
  top: 0;
  left: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }

.submenu-item.has-submenu:hover > .menuList-submain.level-2 {
  opacity: 1;
  visibility: visible;
  transform: translateX(0); }

.menuList-submain.level-2 > .submenu-item:last-child a {
  border-bottom: none; }

.menuList-submain.level-2 > .submenu-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  border-bottom: 1px solid #DbDbDb; }

.menuList-submain.level-2 > .submenu-item > a svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  opacity: 0.7;
  transition: transform 0.3s ease; }

.menuList-submain.level-2 > .submenu-item:hover > a {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff; }

.menuList-submain.level-2 > .submenu-item:hover > a svg {
  transform: translateX(5px);
  opacity: 1; }

/* Level 3 Submenu */
.menuList-submain.level-3 {
  position: absolute;
  top: 0;
  left: 100%;
  background-color: #2a2a2a;
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  z-index: 1002;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }

.submenu-item.has-submenu:hover > .menuList-submain.level-3 {
  opacity: 1;
  visibility: visible;
  transform: translateX(0); }

.menuList-submain.level-3 > .submenu-item > a {
  display: block;
  padding: 12px 20px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease; }

.menuList-submain.level-3 > .submenu-item:hover > a {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff; }

/* Active states */
.menu-item.active > a,
.submenu-item.active > a {
  color: #ffffff;
  font-weight: 600; }

.mobile-menu-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease; }

body.show-menu .mobile-menu-wrapper, .mobile-menu-wrapper.active {
  opacity: 1;
  visibility: visible; }

.mobile-menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px); }

.mobile-menu-sidebar {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto; }

body.show-menu .mobile-menu-wrapper .mobile-menu-sidebar, .mobile-menu-wrapper.active .mobile-menu-sidebar {
  transform: translateX(0); }

/* Mobile Menu Header */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px; }

.mobile-menu-logo {
  flex: 1; }

.mobile-menu-logo img {
  max-width: 100px;
  height: auto; }

.mobile-menu-close {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease; }

.mobile-menu-close:hover {
  opacity: 0.7; }

/* Mobile Menu Search */
.mobile-menu-search {
  padding: 10px; }

.mobile-menu-search form {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  overflow: hidden; }

.mobile-menu-search input {
  flex: 1;
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 14px;
  outline: none; }

.mobile-menu-search input::placeholder {
  color: rgba(255, 255, 255, 0.5); }

.mobile-menu-search button {
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease; }

.mobile-menu-search button:hover {
  opacity: 0.7; }

/* Mobile Menu Content */
.mobile-menu-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px 0; }

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0; }

.mobile-menu-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  transition: background-color 0.3s ease; }

.mobile-menu-arrow {
  width: 10px;
  height: 10px;
  transition: transform 0.3s ease; }

.mobile-menu-item.has-submenu.active > a .mobile-menu-arrow {
  transform: rotate(180deg); }

.mobile-submenu-item.has-submenu.active > a .mobile-menu-arrow {
  transform: rotate(180deg); }

/* Mobile Submenu */
.mobile-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: rgba(0, 0, 0, 0.2);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease; }

.mobile-menu-item.has-submenu.active > .mobile-submenu {
  max-height: 2000px; }

.mobile-submenu-item.has-submenu.active > .mobile-submenu {
  max-height: 2000px; }

.mobile-submenu-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05); }

.mobile-submenu-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 14px 40px;
  color: #FFF !important;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s ease; }

.mobile-submenu.level-2 .mobile-submenu-item > a {
  padding-left: 60px; }

.mobile-submenu.level-3 .mobile-submenu-item > a {
  padding-left: 80px; }

/* Responsive */
@media (max-width: 768px) {
  .mobile-menu-sidebar {
    max-width: 100%; }
  .menuList-main {
    display: none; } }

@media (min-width: 769px) {
  .mobile-menu-wrapper {
    display: none; } }

.customLabel {
  position: absolute;
  top: .25rem;
  left: .25rem;
  z-index: 1;
  display: flex;
  gap: .25rem; }
  .customLabel li {
    padding: .125rem .5rem;
    border-radius: .25rem;
    font-size: 90%; }
