.area-search-field {
  align-items: center;
  background: #f8fbff;
  border: 1px solid #d8e2f3;
  border-radius: 8px;
  color: #64748b;
  display: flex;
  gap: 8px;
  min-height: 40px;
  padding: 0 10px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.area-search-field:focus-within {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgb(29 78 216 / 12%);
}

.area-search-field svg {
  fill: none;
  flex: 0 0 auto;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 17px;
}

.area-search-field input {
  background: transparent;
  border: 0;
  color: #1f2937;
  font: inherit;
  min-width: 0;
  outline: 0;
  width: 100%;
}

.area-search-field input::placeholder {
  color: #94a3b8;
}

.area-search-field input::-webkit-search-cancel-button {
  cursor: pointer;
}

.area-search-empty {
  color: #64748b;
  font-size: 12px;
  margin: -2px 0 0;
  padding: 8px 6px 2px;
  text-align: center;
}

.filter-multi-summary {
  align-items: center;
  color: #64748b;
  display: flex;
  font-size: 12px;
  font-weight: 750;
  justify-content: space-between;
  min-height: 20px;
}

.filter-multi-summary button {
  background: transparent;
  border: 0;
  color: #1d4ed8;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0;
}

.filter-multi-summary button:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgb(29 78 216 / 18%);
  outline-offset: 2px;
}

.filter-multi-list {
  border: 1px solid #d8e2f3;
  border-radius: 8px;
  display: grid;
  gap: 4px;
  max-height: 190px;
  overflow: auto;
  padding: 7px;
  scrollbar-color: #c6d3e8 transparent;
  scrollbar-width: thin;
}

.filter-multi-list label {
  align-items: center;
  border-radius: 7px;
  color: #334155;
  cursor: pointer;
  display: flex;
  gap: 8px;
  min-height: 32px;
  padding: 6px 8px;
  transition: background-color 140ms ease, color 140ms ease;
}

.filter-multi-list label:hover {
  background: #f3f7ff;
}

.filter-multi-list label.active {
  background: #eaf1ff;
  color: #0b1f4d;
  font-weight: 850;
}

.filter-multi-list input {
  accent-color: #1d4ed8;
  flex: 0 0 auto;
}

.filter-multi-list label:has(input:focus-visible) {
  outline: 3px solid rgb(29 78 216 / 18%);
  outline-offset: -1px;
}

.bhk-multi-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: none;
}

@media (min-width: 841px) {
  .resale-filter-panel {
    max-height: calc(100vh - 156px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }

  .resale-filter-panel .filter-title {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .resale-filter-panel::-webkit-scrollbar {
    width: 8px;
  }

  .resale-filter-panel::-webkit-scrollbar-thumb {
    background: #c6d3e8;
    border: 2px solid #fff;
    border-radius: 999px;
  }
}
