/**
 * Tour Filters Styling
 * Minimal base styles - removed for custom styling
 */

/* Results messages */
.hc-filter-results-count {
  display: block;
}

.hc-filter-no-results {
  display: block;
}

/* Loading state */
.brx-grid.hc-loading {
  opacity: 0.5;
  pointer-events: none;
  position: relative;
}

.brx-grid.hc-loading::after {
  content: "Laden...";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem 2rem;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-weight: 500;
  z-index: 100;
}

/* noUiSlider - Dezente Anpassungen */
.noUi-target {
  background: var(--color-primary-tint-70);
  border: none;
  box-shadow: none;
  height: 4px;
  margin-bottom: var(--space-xs);
}

.noUi-horizontal {
  height: 4px;
}

.noUi-connect {
  background: var(--color-primary);
}

.noUi-handle {
  width: 14px;
  height: 14px;
  border: 2px solid var(--color-primary);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  cursor: grab;
}

.noUi-horizontal .noUi-handle {
  width: 18px;
  height: 18px;
  top: -7px;
  right: -7px;
}

.noUi-handle:before,
.noUi-handle:after {
  display: none;
}

.noUi-handle:hover {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  border-color: #666;
}

.noUi-handle:active {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  background-color: var(--color-primary);
}

/* Difficulty Chips/Buttons */
.hc-filter-chips {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hc-difficulty-chip,
.hc-standort-chip,
.hc-accessible-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  background: var(--color-white);
  border: 2px solid var(--color-grey-10);
  border-radius: var(--border-radius-l);
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 80px;
}

.hc-difficulty-chip:hover,
.hc-standort-chip:hover,
.hc-accessible-chip:hover {
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hc-difficulty-chip input[type="checkbox"],
.hc-standort-chip input[type="checkbox"],
.hc-accessible-chip input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hc-difficulty-chip:has(input[type="checkbox"]:checked),
.hc-standort-chip:has(input[type="checkbox"]:checked),
.hc-accessible-chip:has(input[type="checkbox"]:checked) {
  background: var(--color-primary);
  border-color: var(--color-primary);
  padding-right: 2.5rem;
}

.hc-difficulty-chip:has(input[type="checkbox"]:checked)::after,
.hc-standort-chip:has(input[type="checkbox"]:checked)::after,
.hc-accessible-chip:has(input[type="checkbox"]:checked)::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-image: url("../images/close-icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.8;
  filter: brightness(0) invert(1);
}

.hc-standort-chip .hc-chip-label,
.hc-accessible-chip .hc-chip-label {
  color: var(--color-text);
  transition: color 0.2s ease;
}

.hc-standort-chip:has(input[type="checkbox"]:checked) .hc-chip-label,
.hc-accessible-chip:has(input[type="checkbox"]:checked) .hc-chip-label {
  color: var(--color-white);
}

.hc-difficulty-icons {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.hc-difficulty-chip:hover .hc-difficulty-icons {
  opacity: 0.8;
}

.hc-difficulty-chip:has(input[type="checkbox"]:checked) .hc-difficulty-icons {
  opacity: 1;
}

.hc-difficulty-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
}

.hc-difficulty-chip:has(input[type="checkbox"]:checked) .hc-difficulty-icon {
  filter: brightness(0) saturate(100%) invert(1);
}
