/* SEARCH MODULE STYLES */

.search-head {
  margin-bottom: 20px;
}

.search-box {
  background: var(--surface);
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, .03);
}

.input-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  z-index: 2;
  pointer-events: none;
}

.input {
  width: 100%;
  padding: 12px 12px 12px 42px;
  /* indent for icon */
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14px;
  outline: none;
  box-shadow: var(--shadow-sm);
}

.input:focus {
  border-color: #94a3b8;
  box-shadow: var(--shadow-sm);
}

.filters {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

select.filter-input,
input.filter-input {
  appearance: none;
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
}

select.filter-input {
  padding-right: 34px;
  background-image:
    linear-gradient(45deg, transparent 50%, #94A3B8 50%),
    linear-gradient(135deg, #94A3B8 50%, transparent 50%);
  background-position:
    calc(100% - 14px) calc(50% - 2.5px),
    calc(100% - 9px) calc(50% - 2.5px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

select.filter-input:hover,
input.filter-input:hover {
  background-color: #F8FAFC;
  border-color: #CBD5E1;
}

select.filter-input:focus,
input.filter-input:focus {
  outline: none;
  border-color: var(--brand-dark);
}

.search-results-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 12px;
}