#myUniqueNav {
  background-color: #fff;
}

#myUniqueNav .brand-logo {
  color: #000;
}

#myUniqueNav .nav-item > a {
  color: #000;
}

#myUniqueNav .nav-item.active > a {
  /* background-color: #666; */
  color: rgb(36, 37, 41);
  border-bottom: 3px solid #555ed9;
  margin-bottom: -1px;
}

#myUniqueNav .dropdown-menu {
  background-color: #fff;
}

#myUniqueNav .dropdown-menu > li > a {
  color: #000;
}

#myUniqueNav .dropdown-menu > li > a:hover,
#custom-mobile-dev .dropdown-menu > li > a:hover {
  background-color: #555ed9;
  color: #fff;
}
#myUniqueNav .nav-item > a:focus,
#myUniqueNav .nav-item > a:hover {
  background-color: transparent;
  /* background-color: #666; */
  border-bottom: 3px solid #555ed9;
  margin-bottom: -1px;
}
#myUniqueNav .navbar-header {
  margin-left: 0px;
}
/* Toggle Button Styles */
#myUniqueNav .navbar-toggle {
  /* background-color: #555ed9; */
  border: none;
}

#myUniqueNav .navbar-toggle .icon-bar {
  background-color: #555ed9;
}

/* Custom Mobile Development Sidebar Styles */
#custom-mobile-dev {
  position: fixed;
  top: 0px; /* Height of navbar */
  left: -335px; /* Hidden by default */
  width: 335px;
  height: calc(100%); /* Full height minus navbar height */
  background-color: #fff;
  transition: left 0.3s ease;
  padding: 15px 10px;
  z-index: 99999;
  overflow: auto;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}

#custom-mobile-dev.active {
  left: 0; /* Show sidebar */
}

#custom-mobile-dev .nav-item > a {
  color: #000;
  margin: 0;
  font-weight: 600;
}

#custom-mobile-dev .nav-item > a:hover {
  background-color: #555ed9;
  color: #fff;
}

/* Show dropdown on hover */
/* .navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  display: none;
} */

#custom-mobile-dev li.active a {
  color: white;
  background-color: #555ed9 !important;
  display: flex;
  justify-content: space-between;
  margin: 0px;
}

#custom-mobile-dev li.active:hover a {
  /* color:black; */
  background-color: #555ed9 !important;
  /* display: flex;
    justify-content: space-between; */
}
.close-mobile-sidebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 10px;
  margin: 10px 0px;
}

.visible-mobile-nav {
  display: none;
}

@media screen and (max-width: 1200px) {
  .desktop-navbar-menus {
    display: none;
  }

  #myUniqueNav .navbar-toggle {
    display: block !important;
    float: right;
    margin-right: 0px;
  }
  #myUniqueNav .navbar-header {
    width: 100%;
  }

  .visible-mobile-nav {
    display: flex !important;
    align-items: center;
  }
}

/* TOP-LEVEL DROPDOWN BUTTON */
.mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  font-weight: 600;
  color: #000;
  background-color: #fff;
  cursor: pointer;
  border-radius: 6px;
  margin: 5px 10px;
  transition: background-color 0.3s;
}

.mobile-dropdown-toggle:hover {
  background-color: #f0f0f0;
}

.mobile-dropdown-toggle.active {
  background-color: #555ed9 !important;
  color: #fff !important;
}

.mobile-dropdown-toggle .caret-icon {
  transition: transform 0.3s ease;
}

.mobile-dropdown-toggle.active .caret-icon {
  transform: rotate(180deg);
}

/* SUBMENU WRAPPER */
.mobile-submenu {
  display: none;
  flex-direction: column;
  /* margin: 0 10px; */
  border-radius: 0 0 8px 8px;
  background: #f7f7f7;
  padding: 8px 0;
  animation: slideDown 0.3s ease forwards;
}

.mobile-submenu.open {
  display: flex;
  padding: 5px 7px;
}

/* LINKS INSIDE SUBMENU */
.mobile-submenu li {
  list-style: none;
}

.mobile-submenu li a {
  display: block;
  padding: 10px 18px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
}

.mobile-submenu li a:hover {
  background-color: #e0e0e0;
  color: #555ed9;
  border-radius: 4px;
}

/* NESTED SUBMENU OFFSET */
.mobile-submenu .mobile-dropdown-toggle {
  background-color: #eaeaea;
  font-weight: 600;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 5px;
}

.mobile-submenu .mobile-submenu {
  margin-left: 20px;
  background-color: #f1f1f1;
  border-radius: 6px;
}

.profile-icon.active {
  background-color: #ffdf80 !important;
  color: black !important;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}
