/* Filter Pills Styling */
.content-filters {
  width: 100%;
  margin: 0 auto;
  overflow: hidden; /* Prevent container overflow */
}

/* Pill Filter Container */
.filter-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
  padding: 0.5rem 1rem;
  width: 100%;
}

/* Individual Pill Buttons */
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  background: #fff;
  border: 1.5px solid #dee2e6;
  border-radius: 2rem; /* Fully rounded pill shape */
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 0.9rem;
  font-weight: 500;
  color: #495057;
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-pill i {
  font-size: 1rem;
  color: #6c757d;
  transition: color 0.25s ease;
}

.filter-pill span {
  color: #495057;
  transition: color 0.25s ease;
}

/* Hover State */
.filter-pill:hover {
  border-color: #1f60c2;
  background: rgba(31, 96, 194, 0.05);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(31, 96, 194, 0.12);
}

.filter-pill:hover i,
.filter-pill:hover span {
  color: #1f60c2;
}

/* Active State */
.filter-pill.active {
  background: linear-gradient(135deg, #1f60c2, #4cbebd);
  border-color: transparent;
  color: white;
  box-shadow: 0 3px 10px rgba(31, 96, 194, 0.3);
  transform: translateY(-1px);
}

.filter-pill.active i,
.filter-pill.active span {
  color: white;
}

/* Focus State (Accessibility) */
.filter-pill:focus {
  outline: 2px solid #1f60c2;
  outline-offset: 2px;
}

/* Filter Responsive */
@media (max-width: 768px) {
  .filter-pill-group {
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
  }
  
  .filter-pill {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  .filter-pill i {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .content-filters {
    width: 100%;
  }
  
  .filter-pill-group {
    gap: 0.5rem;
    padding: 0.5rem;
    justify-content: flex-start;
  }
  
  .filter-pill {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    gap: 0.375rem;
  }
  
  .filter-pill i {
    font-size: 0.875rem;
  }
}
