/* === Container to visually match the table wrapper === */
.widget_wpc_filters_widget {
  font-family: inherit;
  font-size: 0.95rem;
  color: #1a1a1a;
  /* background-color: #fff; */
  /* border: 1px solid #e5e5e5; */
  /* border-radius: 8px; */
  /* padding: 16px 24px; */
  margin-bottom: 24px;
  /* box-shadow: 0 0 0 1px #e0e0e0; */
}

/* === Filter toggle button */
.wpc-open-close-filters-button {
  background-color: #f9f9f9;
  color: #1a1a1a;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 16px;
}

.wpc-open-close-filters-button:hover {
  background-color: #f0f8ff;
}

/* === Filter chips (active filters) */
.wpc-filter-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
  list-style: none;
  padding: 0;
  /* display:none !important; */
}

.wpc-filter-chip {
  background-color: #e5e7eb;
  color: #1a1a1a;
  border-radius: 999px;
  font-size: 0.85em;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  display:none !important;
}

.wpc-chip-reset-all {
  display:flex !important;
}

.wpc-filter-chip .wpc-chip-remove-icon {
  display:none !important;
  margin-left: 6px;
  color: #6b6b6b;
  font-weight: bold;
  cursor: pointer;
}

.wpc-posts-found, .wpc-filter-header, .wpc-edit-filter-set {
  display:none !important;
}

/* === Filter section headers */
.wpc-filter-title {
  display:none !important;
  font-weight: 600;
  font-size: 15px;
  color: #6b6b6b;
  margin-bottom: 4px;
}

/* === Dropdown styling to match table inputs */
.wpc-filters-widget-select {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.95rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background-color: #fff;
  color: #1a1a1a;
  appearance: none;
  box-sizing: border-box;
}

.wpc-filters-widget-select:focus {
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* === Result summary */
.wpc-posts-found {
  font-size: 0.9rem;
  color: #6b6b6b;
  margin-bottom: 16px;
}

/* === Apply / Cancel buttons styled like table buttons */
.wpc-filters-widget-controls-wrapper {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.wpc-filters-apply-button,
.wpc-filters-close-button {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease;
  border: none;
}

.wpc-filters-apply-button {
  background-color: #2563eb;
  color: #fff;
}

.wpc-filters-apply-button:hover {
  background-color: #1d4ed8;
}

.wpc-filters-close-button {
  background-color: #f3f4f6;
  color: #1a1a1a;
}

.wpc-filters-close-button:hover {
  background-color: #e5e7eb;
}
