.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-muted);
  pointer-events: none;
}

.sf-input {
  padding: 10px 40px 10px 40px;
  border-radius: 8px;
  background: var(--gc-border-dark, rgba(0, 0, 0, 0.2));
}

.sf-clear {
  position: absolute;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 6px;
  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: rgba(255, 255, 255, 0.1);
  color: var(--text-main, #fff);
}

.sf-clear svg {
  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: var(--gc-inner-bg, rgba(0, 0, 0, 0.15));
  border-radius: 8px;
}

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

/* Utility class for screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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