#ga_ai_search_container{
  position: relative;
  max-width: 496px;
  width: 100%;
}

#ga_ai_search_container > input{
  background-color: #FFF;
  border: none;
  outline: none !important;
  border-radius: 58px;
  padding: 12px;
  color: #000;
  font-size: 16px;
  line-height: 16px;
  height: 55px;
  text-indent: 10px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 130px;
}

#ga_ai_search_container > input::placeholder{
  color: #82858F;
  opacity: 1;
  font-weight: 300;
}

#ga_ai_search_container > button{
  position: absolute;
  right: 10px;
  top: 7px;
  bottom: 7px;
  background-color: #EEA825;
  border: none;
  border-radius: 47px;
  width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  appearance: none;
  color: #000;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  gap: 6.5px;
}

#ga_ai_search_container > button:hover{
  color: #FFF;
}

#ga_ai_search_container > button:hover svg path{
  fill: #FFF;
}

#ga_ai_search_container.processing > input,
#ga_ai_search_container.processing > button{
  pointer-events: none;
  user-select: none;
}

#ga_ai_search_container.processing{
  cursor: wait;
}

#ga_ai_search_container.processing .ga_ai_search_btn_hidden{
  display: none;
}

.loading-dots {
  display: none;
  gap: 2px;
  height: 40px;
}

#ga_ai_search_container.processing .loading-dots {
  display: inline-flex;
}

.loading-dots span {
  font-size: 40px;
  display: inline-block;
  animation: ga-search-bounce 1.5s infinite;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

.ga-ai-search-error {
  margin-top: 12px;
  color: #fff;
  font-size: 14px;
}

@keyframes ga-search-bounce {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

@media (max-width: 400px) {
  #ga_ai_search_container > button span{
    display: none;
  }

  #ga_ai_search_container > button{
    width: 55px;
    padding: 0;
  }
}
