.mac-parts-dictionary .dictionary-search {
  margin: 1.25rem 0;
  padding: 1rem;
  border: 1px solid #dbe5ef;
  border-radius: 12px;
  background: #fff;
}

.mac-parts-dictionary .dictionary-search__label {
  display: block;
  margin-bottom: .5rem;
  color: #435160;
  font-weight: 700;
  text-align: center;
}

.mac-parts-dictionary .dictionary-search__controls {
  display: flex;
  gap: .625rem;
}

.mac-parts-dictionary .dictionary-search__input {
  min-width: 0;
  flex: 1;
  padding: .7rem .85rem;
  border: 1px solid #bfcfdd;
  border-radius: 8px;
  color: #26384b;
}

.mac-parts-dictionary .dictionary-search__submit {
  padding: .7rem 1rem;
  border: 0;
  border-radius: 8px;
  background: #258dcc;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.mac-parts-dictionary .dictionary-search__result {
  min-height: 1.25rem;
  margin: .65rem 0 0;
  color: #526577;
}

.mac-parts-dictionary .dictionary-search__result.is-error {
  color: #a13a3a;
}

.mac-parts-dictionary .dictionary-table tr.dictionary-search-match td {
  background: #dff3ff !important;
  border-top: 3px solid #258dcc;
  border-bottom: 3px solid #258dcc;
  box-shadow: inset 0 0 0 1px rgba(37, 141, 204, .25);
  animation: dictionary-search-pulse 1.8s ease-out;
}

.mac-parts-dictionary .dictionary-table tr.dictionary-search-match td:first-child {
  border-left: 3px solid #258dcc;
}

.mac-parts-dictionary .dictionary-table tr.dictionary-search-match td:last-child {
  border-right: 3px solid #258dcc;
}

.mac-parts-dictionary .dictionary-table tr.dictionary-search-match a,
.mac-parts-dictionary .dictionary-table tr.dictionary-search-match strong {
  color: #075e91;
}

.mac-parts-dictionary .dictionary-search-filtered-out {
  display: none;
}

@keyframes dictionary-search-pulse {
  0%, 40% { background: #a9e2ff !important; }
  100% { background: #dff3ff !important; }
}

@media (max-width: 575px) {
  .mac-parts-dictionary .dictionary-search__controls {
    flex-direction: column;
  }

  .mac-parts-dictionary .dictionary-search__submit {
    width: 100%;
  }
}
