/* Add this keyframes animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 144, 226, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(74, 144, 226, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 144, 226, 0);
  }
}

/* Updated toggle button with animation */
#ai-search-toggle {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #009eff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  font-size: 24px;
  cursor: pointer;
  z-index: 1001;
  animation: pulse 2.5s infinite;
  transition: transform 0.2s ease;
  letter-spacing: 1px;
  font-weight: 600;
}

#ai-search-toggle:hover {
  transform: scale(1.05);
}

  #ai-search-box {
    position: fixed;
    bottom: 85px;
    left: 20px;
    width: 360px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 16px;
    display: none;
    z-index: 1000;
    font-family: 'Segoe UI', sans-serif;
  }

  #ai-search-box h4 {
    margin: 0 0 12px;
    color: #009eff;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  #ai-search-box h4 img {
    width: 20px;
    height: 20px;
  }

  #ai-search-input {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
  }

  #ai-search-submit {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    background-color: #009eff;
    color: white;
    cursor: pointer;
  }

  #ai-search-submit:hover {
    background-color: #357bd8;
  }