/* Three dots menu styles */
.three-dots {
  position: absolute;
  right: 12px;
  top: 20%; /* Center vertically within site-header */
  transform: translateY(-50%); /* Added for vertical centering */
  color: white; /* Removed transparency */
  font-size: 32px; /* Doubled from 20px */
  cursor: pointer;
  transition: color 0.3s ease;
  opacity: 0;
  visibility: hidden;
  letter-spacing: 2px;
  padding: 4px;
  line-height: 1; /* Adjust line-height for better vertical alignment */
}

.three-dots:hover {
  color: #ffe725;
}

.result-box:hover .three-dots {
  opacity: 1;
  visibility: visible;
}

.dots-menu-popup {
  position: fixed; /* Changed from absolute to fixed */
  background: #ffcf25; /* Changed from #FFE725 to #FFCF25 */
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 1000;
  min-width: 96px;
}

.dots-menu-item {
  padding: 6px 12px;
  color: #666666; /* Changed to specified grey */
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 11px;
  white-space: nowrap;
  font-weight: 500; /* Added font weight */
}

.dots-menu-item:hover {
  background: rgba(255, 255, 255, 0.3); /* Semi-transparent white */
}

.dots-menu-popup.active {
  display: block;
}
