.active-filters {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.active-filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.active-filters-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4a5568;
}

.active-filters-title svg {
  font-size: 1rem;
  color: #2c5282;
}

.active-filters-count {
  background: #2c5282;
  color: white;
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
  border-radius: 1rem;
  font-weight: 500;
  min-width: 1.25rem;
  text-align: center;
}

.clear-all-filters-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: none;
  border: 1px solid #e2e8f0;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.2s ease;
}

.clear-all-filters-btn:hover {
  background: #fff;
  border-color: #cbd5e0;
  color: #2c5282;
}

.clear-all-filters-btn svg {
  font-size: 0.875rem;
}

.active-filters-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.active-filter-tag {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.active-filter-tag:hover {
  border-color: #cbd5e0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.filter-label {
  color: #4a5568;
  font-weight: 500;
  margin-right: 0.25rem;
}

.filter-label::after {
  content: ':';
}

.filter-value {
  color: #2c5282;
  font-weight: 600;
  margin-right: 0.5rem;
}

.remove-filter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0.125rem;
  cursor: pointer;
  color: #718096;
  transition: color 0.2s ease;
  font-size: 0.875rem;
  border-radius: 50%;
}

.remove-filter-btn:hover {
  color: #e53e3e;
  background: #fed7d7;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .active-filters {
    padding: 0.75rem;
    margin-bottom: 0.75rem;
  }
  
  .active-filters-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  
  .active-filters-title {
    justify-content: center;
  }
  
  .clear-all-filters-btn {
    align-self: stretch;
    justify-content: center;
    padding: 0.5rem;
  }
  
  .active-filters-list {
    gap: 0.375rem;
  }
  
  .active-filter-tag {
    font-size: 0.8125rem;
    padding: 0.25rem 0.5rem;
  }
  
  .filter-value {
    margin-right: 0.375rem;
  }
}

@media (max-width: 480px) {
  .active-filter-tag {
    flex: 1;
    min-width: 0;
    justify-content: space-between;
  }
  
  .filter-label,
  .filter-value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .filter-value {
    flex-shrink: 0;
    margin-left: auto;
    margin-right: 0.375rem;
  }
}