/*! Strand UI | MIT License | dillingerstaffing.com */

/* cf: search-trigger */

.strand-search-trigger {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  text-align: start;
  cursor: pointer;
  padding-block: 0;
}

.strand-search-trigger__label {
  flex: 1;
  min-inline-size: 0;
  font-size: var(--strand-text-sm);
  color: var(--strand-gray-500);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.strand-search-trigger--icon {
  inline-size: var(--strand-touch-target);
  block-size: var(--strand-touch-target);
  justify-content: center;
  padding: 0;
}

.strand-search-trigger--icon .strand-search-trigger__label {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.strand-search-trigger:hover {
  border-color: var(--strand-gray-300);
}

.strand-search-trigger:hover .strand-search-trigger__label,
.strand-search-trigger:hover .strand-search-field__icon {
  color: var(--strand-gray-600);
}
