.sf-search-filter {
  margin-bottom: 1rem;
}

.sf-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.sf-icon {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 18px;
  color: var(--text-subtle);
  pointer-events: none;
}

.sf-input {
  padding: 12px 44px 12px 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg-body) 86%, #ffffff 14%);
}

.sf-clear {
  position: absolute;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted, rgba(255, 255, 255, 0.5));
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sf-clear:hover {
  background: var(--accent-soft);
  color: var(--text-main, #fff);
}

.sf-clear img {
  width: 16px;
  height: 16px;
}

.sf-clear[hidden] {
  display: none;
}

.sf-no-results {
  margin-top: 1rem;
  padding: 1rem;
  text-align: center;
  color: var(--text-muted, rgba(255, 255, 255, 0.5));
  font-size: 0.9rem;
  background: color-mix(in srgb, var(--gc-inner-bg) 90%, #ffffff 10%);
  border: 1px dashed var(--gc-border-dark);
  border-radius: 10px;
}

.sf-no-results[hidden] {
  display: none;
}

/* Hidden class applied by JS to filtered items */
.sf-hidden {
  display: none !important;
}
