@charset "UTF-8";
.filter-popup-content {
  max-height: 70vh;
  overflow-y: auto;
  padding: 20px;
}
.filter-popup-content .row {
  margin-left: -10px;
  margin-right: -10px;
}
.filter-popup .filter-column {
  padding-left: 10px;
  padding-right: 10px;
}

.filter-group {
  margin-bottom: 20px;
  border: 1px solid #eee;
  border-radius: 5px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.filter-group__header {
  padding: 12px 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;
  user-select: none;
  transition: background 0.2s ease;
}
.filter-group__header:hover {
  background: #f0f0f0;
}
.filter-group__header.active {
  background: #e9e9e9;
}
.filter-group__header.active .filter-group__toggle i {
  transform: rotate(180deg);
}
.filter-group__header h5 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}
.filter-group__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  position: relative;
}
.filter-group__toggle .toggle-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #f0f0f0;
  transition: all 0.3s ease;
}
.filter-group__toggle .toggle-circle i {
  font-size: 14px;
  color: #555;
  transition: transform 0.3s ease;
}
.filter-group__toggle:hover .toggle-circle {
  background-color: #e0e0e0;
}
.filter-group__content {
  padding: 15px;
  transition: height 0.3s ease;
}
.filter-group__content.collapse:not(.show) {
  display: none;
}

.filter-item {
  margin-bottom: 15px;
}
.filter-item .filter-input {
  width: 80px;
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 14px;
}
.filter-item .filter-input:focus {
  border-color: #007bff;
  outline: none;
}
.filter-item__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
  color: #333;
}
.filter-item__slider {
  width: 100%;
  margin-top: 10px;
}

.filter-preset-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.filter-preset-btn {
  padding: 5px 12px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
}
.filter-preset-btn:hover {
  border-color: #bbb;
}
.filter-preset-btn.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.filter-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.filter-checkboxes .filter-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-left: 28px;
  min-height: 20px;
  user-select: none;
  transition: all 0.2s ease;
}
.filter-checkboxes .filter-checkbox:hover .filter-checkbox-custom {
  border-color: #007bff;
}
.filter-checkboxes .filter-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.filter-checkboxes .filter-checkbox input:checked ~ .filter-checkbox-custom {
  background-color: #007bff;
  border-color: #007bff;
}
.filter-checkboxes .filter-checkbox input:checked ~ .filter-checkbox-custom .filter-checkbox-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.filter-checkboxes .filter-checkbox input:disabled ~ .filter-checkbox-custom {
  background-color: #f5f5f5;
  cursor: not-allowed;
}
.filter-checkboxes .filter-checkbox-custom {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  transition: all 0.2s ease;
}
.filter-checkboxes .filter-checkbox-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: all 0.2s ease;
}
.filter-checkboxes .filter-checkbox-label {
  font-size: 14px;
  color: #333;
  margin-left: 8px;
}

.filter-item .filter-single-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-left: 32px;
  min-height: 24px;
  user-select: none;
  transition: all 0.2s ease;
  margin: 5px 0;
}
.filter-item .filter-single-checkbox:hover .filter-single-checkbox-custom {
  border-color: #007bff;
  background-color: #f0f8ff;
}
.filter-item .filter-single-checkbox-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.filter-item .filter-single-checkbox-input:checked ~ .filter-single-checkbox-custom {
  background-color: #007bff;
  border-color: #007bff;
}
.filter-item .filter-single-checkbox-input:checked ~ .filter-single-checkbox-custom .filter-single-checkbox-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.filter-item .filter-single-checkbox-input:disabled ~ .filter-single-checkbox-custom {
  background-color: #f5f5f5;
  cursor: not-allowed;
}
.filter-item .filter-single-checkbox-custom {
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border: 2px solid #ddd;
  border-radius: 6px;
  background-color: #fff;
  transition: all 0.2s ease;
}
.filter-item .filter-single-checkbox-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: all 0.2s ease;
}
.filter-item .filter-single-checkbox-label {
  font-size: 15px;
  color: #333;
  margin-left: 10px;
  font-weight: 500;
}

.filter-radio {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 8px;
  padding-left: 28px;
  min-height: 24px;
}
.filter-radio-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.filter-radio-input:checked + .filter-radio-custom {
  border-color: #007bff;
}
.filter-radio-input:checked + .filter-radio-custom::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.filter-radio-input:focus + .filter-radio-custom {
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}
.filter-radio-custom {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 50%;
  background: #fff;
  transition: all 0.2s;
}
.filter-radio-custom::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #007bff;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: all 0.2s;
}
.filter-radio-label {
  margin-left: 8px;
  font-size: 14px;
  color: #333;
}
.filter-radio:hover .filter-radio-custom {
  border-color: #007bff;
}

@media (max-width: 768px) {
  .filter-popup-content {
    padding: 15px;
  }
  .filter-column {
    width: 100%;
    padding: 0;
    margin-bottom: 15px;
  }
  .filter-column:last-child {
    margin-bottom: 0;
  }
  .filter-group {
    margin-bottom: 15px;
  }
}
.noUi-target {
  background: #f0f0f0;
  border-radius: 3px;
  border: 1px solid #d3d3d3;
  box-shadow: none;
  margin: 10px 0;
}

.noUi-connect {
  background: #007bff;
}

.noUi-handle {
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  background: #fff;
  box-shadow: none;
}
.noUi-handle::before, .noUi-handle::after {
  display: none;
}
.noUi-handle:focus {
  outline: none;
}

/* Стили для noUiSlider (двойной слайдер) */
.noUi-target {
  background: #f0f0f0;
  border-radius: 3px;
  border: 1px solid #ddd;
  box-shadow: none;
  height: 6px;
  margin: 15px 0;
}

.noUi-connect {
  background: #007bff;
}

.noUi-handle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #007bff;
  box-shadow: none;
  cursor: pointer;
  top: -7px;
}
.noUi-handle::before, .noUi-handle::after {
  display: none;
}
.noUi-handle:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

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

.noUi-horizontal .noUi-handle-upper {
  right: -10px;
}

.noUi-tooltip {
  display: none;
}

/* Стили для стандартного слайдера (для единства) */
.filter-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #f0f0f0;
  outline: none;
  margin: 15px 0;
}
.filter-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #007bff;
  cursor: pointer;
}
.filter-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #007bff;
  cursor: pointer;
}
.filter-slider:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}
.filter-slider:focus::-moz-range-thumb {
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/*# sourceMappingURL=filter.css.map */
