/* Tom-Select CSS - Imported from CDN */
@import url('https://cdn.jsdelivr.net/npm/tom-select@2.3.1/dist/css/tom-select.bootstrap5.min.css');

/* Custom overrides to match site design */
.ts-wrapper {
  width: 100%;
}

.ts-control {
  border-radius: 9999px !important;
  background: #F7F9FC !important;
  padding: 0.75rem 1.5rem !important;
  border: none !important;
  font-size: 0.875rem;
}

.ts-control input {
  font-size: 0.875rem;
}

.ts-dropdown {
  border-radius: 1rem !important;
  border: 1px solid #E5E7EB !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
  margin-top: 0.5rem !important;
}

.ts-dropdown .option {
  padding: 0.5rem 1rem !important;
  font-size: 0.875rem;
}

.ts-dropdown .option:hover,
.ts-dropdown .option.active {
  background: #EFF6FF !important;
  color: #1E40AF !important;
}

.ts-dropdown .no-results {
  padding: 1rem;
  text-align: center;
  color: #6B7280;
  font-size: 0.875rem;
}

/* Popular filters pills */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filter-pill {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid #E5E7EB;
  background: white;
  color: #374151;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.filter-pill:hover {
  background: #EFF6FF;
  border-color: #3B82F6;
  color: #1E40AF;
}

.filter-pill.active {
  background: #3B82F6;
  border-color: #3B82F6;
  color: white;
}

/* Active filters badge */
.active-filters-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.5rem;
  border-radius: 9999px;
  background: #EF4444;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 0.5rem;
}
