/* === FORMS: inputs, selects, search bar === */

.mh-input,
.mh-select {
  width: 100%;
  height: 52px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 0 18px;
  font-size: 1rem;
  outline: none;
  background: var(--white);
  color: var(--gray-800);
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

/* Remove Safari's native search field decorations */
.mh-input[type="search"]::-webkit-search-decoration,
.mh-input[type="search"]::-webkit-search-cancel-button,
.mh-input[type="search"]::-webkit-search-results-button,
.mh-input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  display: none;
}

.mh-input::placeholder {
  color: var(--gray-400);
}

.mh-input:focus,
.mh-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 80, 122, 0.12);
}

.mh-search__row {
  display: grid;
  grid-template-columns: 1fr 220px 160px;
  gap: 12px;
  align-items: center;
}

.mh-search__field {
  position: relative;
}

.mh-search__field i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
}

.mh-search__field .mh-input,
.mh-search__field .mh-select {
  padding-left: 46px;
}

.mh-search__btn {
  height: 52px;
  border-radius: var(--radius-full);
  width: 100%;
}

