/* Sticky Filters + Active Chips */

/* Sticky only on large screens */
@media (min-width: 1024px) {
  .filters-section {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(1.1) blur(6px);
  }
  .filters-section .container {
    background: rgba(16, 12, 30, 0.7);
    border-bottom: 1px solid rgba(123, 47, 247, 0.35);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  }
}

/* Chips row */
.active-filters {
  display: none; /* shown when chips exist */
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0 4px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(123, 47, 247, 0.65);
  color: #dcdcec;
  background: rgba(123, 47, 247, 0.08);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .1s ease;
}

.filter-chip:hover {
  background: rgba(123, 47, 247, 0.16);
  transform: translateY(-1px);
}

.filter-chip i {
  font-size: 10px;
  opacity: 0.9;
}

/* Extra controls row inside filters */
.filters-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(184, 184, 200, 0.25);
  background: rgba(255,255,255,0.04);
  color: #dcdcec;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .1s ease;
}

.toggle-btn:hover { background: rgba(255,255,255,0.07); }
.toggle-btn:active { transform: translateY(1px); }
.toggle-btn[aria-pressed="true"], .toggle-btn.active {
  border-color: rgba(0, 255, 136, 0.6);
  background: rgba(0, 255, 136, 0.08);
  color: #00ff88;
}
