.badge.bg-secondary a {
  color: inherit !important;
  text-decoration: none !important;
}


.navbar-nav .dropdown-menu {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px) saturate(140%);
  border-radius: 1rem;
  box-shadow: 0 8px 40px 0 rgba(30,40,90,0.18), 0 1.5px 6px 0 rgba(0,0,0,0.07);
  border: 1.5px solid #e6eaff;
  margin-top: 0.6rem;
  min-width: 240px;
  padding: 0.7rem 0.3rem;
  transition: box-shadow 0.22s cubic-bezier(.4,2,.6,1), background 0.22s;
}

.navbar-nav .dropdown-menu .dropdown-item {
  font-weight: 700;
  color: #1a2236;
  padding: 1.05rem 2.5rem 1.05rem 1.35rem;
  font-size: 1.13rem;
  border-radius: 0.55rem;
  margin: 0.22rem 0;
  border-left: 5px solid transparent;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg,rgba(255,255,255,0.5),rgba(245,247,255,0.7));
  box-shadow: 0 1px 3px 0 rgba(60,60,90,0.04);
  transition: background 0.19s, color 0.19s, border-left 0.19s, transform 0.18s;
  cursor: pointer;
}

.navbar-nav .dropdown-menu .dropdown-item:hover,
.navbar-nav .dropdown-menu .dropdown-item:focus {
  background: linear-gradient(90deg,#e9f0ff 60%,#f7faff 100%);
  color: #0056d6;
  border-left: 5px solid #4f8cff;
  transform: scale(1.045);
  box-shadow: 0 3px 12px 0 rgba(76,142,255,0.07);
  z-index: 2;
}

.navbar-nav .dropdown-menu .dropdown-item.active,
.navbar-nav .dropdown-menu .dropdown-item:active {
  background: linear-gradient(90deg,#4f8cff 60%,#a0c4ff 100%);
  color: #fff;
  border-left: 5px solid #0056d6;
  box-shadow: 0 2px 8px 0 rgba(76,142,255,0.13);
}

.navbar-nav .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.38em;
  vertical-align: 0.13em;
  content: "";
  border-top: 0.4em solid;
  border-right: 0.4em solid transparent;
  border-left: 0.4em solid transparent;
}

.navbar-nav .dropdown-menu .dropdown-item:not(:last-child) {
  border-bottom: 1px solid #f2f4fa;
}

@media (max-width: 991px) {
  .navbar-nav .dropdown-menu {
    min-width: 100%;
    box-shadow: 0 4px 16px 0 rgba(30,40,90,0.12);
  }
  .navbar-nav .dropdown-menu .dropdown-item {
    font-size: 1.04rem;
    padding: 0.95rem 1.2rem 0.95rem 1.1rem;
  }
}
