/* =========================================================
   Tutors page
   ========================================================= */
.filter-bar {
  position: sticky;
  top: var(--aoa-nav-h);
  z-index: 1010;
  background: rgba(250, 248, 253, .96);
  border-bottom: 1px solid var(--aoa-line);
  padding-block: .9rem;
}
.filter-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.25rem;
}
.filter-search {
  position: relative;
  flex: 1 1 280px;
  max-width: 420px;
}
.filter-search .bi {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--aoa-muted);
  pointer-events: none;
}
.filter-search input {
  width: 100%;
  border: 1px solid var(--aoa-line);
  border-radius: 999px;
  padding: .7rem 1rem .7rem 2.6rem;
  background: var(--aoa-paper);
  font-size: .95rem;
  color: var(--aoa-text);
}
.filter-search input:focus { outline: 0; border-color: var(--aoa-magenta); box-shadow: 0 0 0 .25rem rgba(185, 20, 138, .15); }

.filter-pills {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1 1 auto;
  min-width: 0;
  padding-block: 2px;
}
.filter-pills::-webkit-scrollbar { display: none; }
.filter-pills button {
  flex-shrink: 0;
  border: 1px solid var(--aoa-line);
  background: var(--aoa-paper);
  color: var(--aoa-ink);
  border-radius: 999px;
  padding: .45rem .95rem;
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.filter-pills button:hover { border-color: var(--aoa-ink); }
.filter-pills button[aria-pressed="true"] { background: var(--aoa-ink); border-color: var(--aoa-ink); color: #fff; }
.filter-pills .count { font-weight: 500; opacity: .6; margin-left: .25rem; font-variant-numeric: tabular-nums; }

.result-count { color: var(--aoa-muted); font-size: .92rem; margin-bottom: 1.25rem; }

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  border: 1px dashed var(--aoa-line);
  border-radius: var(--aoa-radius);
  background: var(--aoa-paper);
}
.empty-state .bi { font-size: 2.6rem; color: var(--aoa-magenta); }
.empty-state p { color: var(--aoa-muted); max-width: 44ch; margin-inline: auto; }

@media (max-width: 575.98px) {
  .filter-search { max-width: none; flex-basis: 100%; }
  /* let pills scroll edge to edge without widening the page */
  .filter-pills { margin-inline: -18px; padding-inline: 18px; flex-basis: calc(100% + 36px); }
}
