/**
 * Taxonomy Filter Lite Styles
 *
 * @package RPWS\Plugins\Taxonomy_Filter_Lite
 * @since 1.0.0
 */
.rpws-ew-taxonomy-filter-lite {
  display: block;
  width: 100%;
}

.rpws-ew-taxonomy-filter-lite search {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rpws-ew-taxonomy-filter-lite-dropdown-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.rpws-ew-taxonomy-filter-lite-dropdown {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
}

.rpws-ew-taxonomy-filter-lite-dropdown-icon {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, fill 0.3s ease;
}
.rpws-ew-taxonomy-filter-lite-dropdown-icon svg {
  transition: fill 0.3s ease;
}

.rpws-ew-taxonomy-filter-lite-dropdown option[data-level="1"] {
  padding-left: 20px;
}

.rpws-ew-taxonomy-filter-lite-dropdown option[data-level="2"] {
  padding-left: 40px;
}

.rpws-ew-taxonomy-filter-lite-dropdown option[data-level="3"] {
  padding-left: 60px;
}

.rpws-ew-taxonomy-filter-lite.loading {
  opacity: 0.6;
  pointer-events: none;
}

.rpws-ew-taxonomy-filter-lite.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #007cba;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.rpws-ew-taxonomy-filter-lite-empty,
.e-filter-empty {
  padding: 20px;
  text-align: center;
  color: #666;
  font-style: italic;
  background-color: #f9f9f9;
  border: 1px dashed #ddd;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
}

@media (prefers-contrast: high) {
  .rpws-ew-taxonomy-filter-lite-dropdown {
    border-width: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rpws-ew-taxonomy-filter-lite-dropdown {
    transition: none;
  }
  .rpws-ew-taxonomy-filter-lite.loading::after {
    animation: none;
  }
}

/*# sourceMappingURL=taxonomy-filter-lite.css.map */
