.nav-search-wrapper {
  position: relative;
  width: 260px;
}

/* Dropdown aligned to search box */
.nav-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #0c0d10;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: none;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
  z-index: 1080;
  max-height: 340px;
  overflow-y: auto;
  padding: 0.25rem 0.25rem 0.35rem;
}

/* VIEW MORE BUTTON IN DROPDOWN  */
/* Each result group (Groups / Teams / Posts / Users) */
.nav-search-group{
  padding: 0.35rem 0 0.55rem;
}

/* "View more" footer button */
.nav-search-viewmore{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;

  width: calc(100% - 16px);
  margin: .45rem 8px 0;

  padding: .55rem .75rem;

  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .2px;

  color: #FFDF00;
  text-decoration: none;

  border-radius: 12px;

  /* footer separation */
  border: 1px solid rgba(255, 223, 0, 0.22);
  background: rgba(255, 223, 0, 0.06);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);

  transition: background .15s ease, border-color .15s ease, transform .15s ease, opacity .15s ease;
  opacity: 1;
}

/* add a subtle divider above the footer */
.nav-search-viewmore::before{
  content: "";
  position: absolute;
  /* this uses the link itself as a reference; ensure it's positioned */
}

/* Ensure the link can host pseudo elements if you later want more */
.nav-search-viewmore{
  position: relative;
}

/* hover/focus states */
.nav-search-viewmore:hover,
.nav-search-viewmore:focus{
  background: rgba(255, 223, 0, 0.10);
  border-color: rgba(255, 223, 0, 0.40);
  transform: translateY(-1px);
  text-decoration: none;
}

/* keyboard accessibility */
.nav-search-viewmore:focus{
  outline: 2px solid rgba(255, 223, 0, 0.35);
  outline-offset: 2px;
}

/* optional: add a chevron without changing HTML */
.nav-search-viewmore::after{
  content: "›";
  font-size: 1.1rem;
  line-height: 1;
  opacity: .9;
  transform: translateY(-0.5px);
}


/* HR line between blocks in the dropdown : Straight line */
/* .nav-search-group + .nav-search-group {
  border-top: 1px solid rgba(255, 223, 0, 0.4); 
  margin-top: 0.25rem;
  padding-top: 0.4rem;
} */


/* HR line between blocks in the dropdown : blurred line */
/* .nav-search-group + .nav-search-group {
  position: relative;
  margin-top: 0.25rem;
  padding-top: 0.4rem;
}

.nav-search-group + .nav-search-group::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0.6rem;
  right: 0.6rem;
  height: 1px;
  background: #FFDF00;
  opacity: 0.7;
  filter: blur(1px);  👈 this controls the blur amount 
} */



/* === Glowing golden divider between result blocks === */
.nav-search-group + .nav-search-group {
  position: relative;
  margin-top: 0.3rem;
  padding-top: 0.6rem;
}

/* Create a blurred glowing line */






@keyframes glowPulse {
  0%, 100% { opacity: 0.85; filter: blur(2.5px); }
  50% { opacity: 1; filter: blur(3.5px); }
}

.nav-search-group + .nav-search-group::before {
  animation: glowPulse 3s ease-in-out infinite;
}





















/* Group header */
.nav-search-group-header {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #FFDF00;
  padding: 0 0.6rem 0.2rem;
}


/* Item layout: thumb + text */
.nav-search-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.6rem;
  margin: 0 0.1rem 0.12rem;
  border-radius: 6px;
  text-decoration: none;
  background: transparent;
  transition: background 0.12s ease, transform 0.08s ease;
}

.nav-search-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

/* Thumbnail container */
.nav-search-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
}

.nav-search-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-search-thumb-placeholder {
  font-size: 1rem;
  color: #666;
}

/* Text part */
.nav-search-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nav-search-item-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: #f3f3f3;
  line-height: 1.2;
}

.nav-search-sub {
  font-size: 0.7rem;
  color: #8a8a8a;
  margin-top: 1px;
}

.nav-search-empty {
  padding: 0.4rem 0.6rem 0.5rem;
  font-size: 0.8rem;
  color: #888;
}

/* Scroll styling (optional, subtle) */
.nav-search-dropdown::-webkit-scrollbar {
  width: 6px;
}
.nav-search-dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}







/* Mobile tweak */
@media (max-width: 768px) {
  .nav-search-wrapper {
    width: 100%;
  }
}
