/* ==========================================================================
 * Property List — Results
 * Advanced filter controls, filter actions, results toolbar, pagination,
 * responsive overrides, and loading state.
 * Source: Split from property_list.css
 * ========================================================================== */

.property-filters__advanced-toggle {
  display: flex;
  justify-content: flex-end;
}

.property-filters__advanced-toggle .btn {
  min-height: 42px;
}

[data-advanced-toggle][aria-expanded="true"] .property-filters__advanced-toggle-icon {
  transform: rotate(180deg);
}

.property-filters__advanced {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.property-filters__advanced-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.property-filters__featured {
  max-width: 420px;
}

@media (max-width: 767.98px) {
  .property-filters__advanced-grid {
    grid-template-columns: 1fr;
  }
}

.property-filters__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.property-filters__apply,
.property-filters__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.65rem 1.5rem;
}

.property-filters__clear .material-icons,
.property-filters__apply .material-icons {
  font-size: 1.15rem;
}

.property-results-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.property-results-sorter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.property-results-sorter__label {
  white-space: nowrap;
}

.property-grid__empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.property-pagination .page-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 2.5rem;
}

.property-pagination .page-item.active .page-link {
  background-color: var(--bs-success);
  border-color: var(--bs-success);
}

@media (max-width: 767.98px) {
  .property-filters {
    padding: 1.25rem;
  }

  .property-filters__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .property-results-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

.property-filters.is-loading {
  opacity: 0.6;
  pointer-events: none;
}
