/**
 * atJeju — 검색 페이지
 */
.search-page .filter-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  padding-bottom: var(--space-2);
  margin: calc(-1 * var(--space-4)) calc(-1 * var(--space-4)) var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.search-page .empty-state--hero {
  padding-top: var(--space-8);
}

.search-page .empty-state__hint {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.search-page .search-status {
  margin: 0;
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.search-page .search-history {
  margin-top: var(--space-2);
}

.search-page .search-history__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.search-page .search-history__title {
  margin: 0;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text);
}

.search-page .search-history__clear {
  border: 0;
  background: none;
  padding: var(--space-1) var(--space-2);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  cursor: pointer;
}

.search-page .search-history__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.search-page .search-history__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-surface-muted, #f4f6f8);
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
}

.search-page .search-history__query {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
  border: 0;
  background: transparent;
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-size: var(--font-size-sm);
  color: var(--color-text);
  cursor: pointer;
}

.search-page .search-history__query-icon {
  flex-shrink: 0;
  opacity: 0.55;
}

.search-page .search-history__query-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-page .search-history__filter {
  flex-shrink: 0;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.search-page .search-history__remove {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  width: 2.5rem;
  height: 2.5rem;
  margin-right: var(--space-1);
  font-size: 1.1rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
}

.search-page .search-history__remove:hover,
.search-page .search-history__clear:hover {
  color: var(--color-text);
}
