.pharmora-letter-filter {
  margin: -8px 0 20px;
  max-width: 560px;
}

.pharmora-letter-filter__label {
  display: block;
  margin: 0 0 8px;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  font-weight: 500;
}

.pharmora-letter-filter__control {
  position: relative;
}

.pharmora-letter-filter__control::before {
  content: "⌕";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(var(--muted-foreground));
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
}

.pharmora-letter-filter input {
  width: 100%;
  min-height: 44px;
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  padding: 0 14px 0 42px;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  box-shadow: var(--shadow-card);
  font: inherit;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.pharmora-letter-filter input:focus,
.pharmora-letter-filter input:focus-visible {
  border-color: hsl(var(--border)) !important;
  box-shadow: none !important;
  outline: none !important;
}

.pharmora-letter-filter__hint {
  margin: 7px 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.8125rem;
}

.pharmora-letter-filter-empty {
  grid-column: 1 / -1;
  border: 1px dashed hsl(var(--border));
  border-radius: 14px;
  padding: 22px;
  background: hsl(var(--card));
  color: hsl(var(--muted-foreground));
  text-align: center;
  font-size: 0.875rem;
}
