/* AI Search Button Styles */
.ai-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ai-search-btn svg {
  position: absolute;
  width: 32px;
  height: 32px;
  stroke-width: 2.5;
  stroke: url(#blueGradient);
  filter: drop-shadow(0 1px 3px rgba(51, 102, 204, 0.3));
  transition: all 0.3s ease;
}

.ai-search-btn:hover {
  transform: translateY(-2px);
}

.ai-search-btn:hover svg {
  stroke: url(#blueGradientHover);
  filter: drop-shadow(0 2px 8px rgba(51, 102, 204, 0.5));
}

.ai-search-btn:active {
  transform: translateY(-1px);
}

.ai-search-btn:active svg {
  stroke: url(#blueGradientActive);
}

.ai-text {
  position: absolute;
  top: 48%;
  left: 46%;
  transform: translate(-50%, -50%);
  font-size: 9px;
  font-weight: 700;
  color: #3366cc;
  letter-spacing: 0.1px;
  pointer-events: none;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.ai-search-btn:hover .ai-text {
  color: #2954b3;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.7);
}

.ai-search-btn:active .ai-text {
  color: #1e40af;
}

/* Navigation item styling */
#ai-search {
  padding: 0 !important;
  margin-left: 10px;
  display: flex;
  align-items: center;
}

#ai-search:hover {
  background: none !important;
}

/* Align with other nav items */
.navbar-nav .nav-item #ai-search {
  line-height: 1.2;
  margin-top: 0;
  display: flex;
  align-items: center;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .ai-search-btn {
    width: 35px;
    height: 35px;
  }
  
  .ai-text {
    font-size: 9px;
  }
  
  .ai-search-btn svg {
    width: 14px;
    height: 14px;
  }
}