
.search-input-wrapper {
  position: relative;
}

#clearSearch {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  font-size: 20px;
  color: #999;
  cursor: pointer;
  display: none;
  padding: 10px !important;
}
#clearSearch:hover {
  color: #333;
}

/* Loader */
.suggest-loader {
  padding: 16px;
  display: flex;
  justify-content: center;
}

.suggest-loader::after {
  content: "";
  width: 22px;
  height: 22px;
  border: 3px solid #ddd;
  border-top-color: #00703C;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.search-wrapper {
  position: relative;
  max-width: 600px;
}

#searchInput {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

/* Suggest Container */
.search-suggest-container {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 8px;
  margin-top: 6px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  z-index: 1000;
}

/* versteckt */
.hidden {
  display: none;
}

/* Tabs */
#suggestTabs {
  display: flex;
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid #eee;
}
#suggestTabs button:hover {
  color: currentColor !important;
}
#suggestTabs button {
  padding: 6px 12px;
  border: none;
  background: #f2f5f3;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
}
#suggestTabs button.active {
  background: #4599d4;
  color: #fff;
}
#suggestTabs button.active:hover {
  color: #fff !important;
}

/* Ergebnisse */
#suggestContent {
  max-height: 300px;
  overflow-y: auto;
}
.suggest-item {
  padding: 6px 14px;
  cursor: pointer;
  border-bottom: 1px solid #f1f1f1;
}
.suggest-item a{
  color: black !important;
  text-decoration: none !important;
}
.suggest-item:hover {
  background: #f3f8f5;
}
.suggest-item strong {
  display: block;
  font-weight: 600;
}
.suggest-empty {
  padding: 14px;
  color: #777;
}