.path-tabu .tabu-search-filters {
  --background: #ffffff;
  --foreground: #030213;
  --card: #ffffff;
  --border: rgba(0, 0, 0, 0.1);
  --primary: #2563eb;
  --primary-foreground: #ffffff;
  --muted: #ececf0;
  --muted-foreground: #717182;
  --destructive: #d4183d;
  position: relative;
  z-index: 20;
}

body.theme-dark.path-tabu .tabu-search-filters,
body.dark-mode.path-tabu .tabu-search-filters {
  --background: #0b1120;
  --foreground: #e2e8f0;
  --card: #111827;
  --border: rgba(148, 163, 184, 0.2);
  --primary: #4f7cf3;
  --primary-foreground: #f8fafc;
  --muted: #1f2937;
  --muted-foreground: #94a3b8;
  --destructive: #f87171;
}
.path-tabu .header-container {
  display: none;
}

.path-tabu .tabu-search-filters #desktopCategoryDropdown,
.path-tabu .tabu-search-filters #mobileSheet {
  display: none !important;
}

.path-tabu .rui-course-search-wrapper:not(.desktop-category-wrapper) {
  display: none;
}

.path-tabu .tabu-search-filters .desktop-category-wrapper {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-width: 180px;
  max-width: 500px;
}

.path-tabu .desktop-category-wrapper .category-dropdown {
  width: 100%;
}

.path-tabu .desktop-category-wrapper .category-dropdown-toggle {
  width: 100%;
  height: 46px;
  padding: 0 1.25rem;
  border: 2px solid var(--border);
  border-radius: 1rem;
  background-color: var(--card);
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

.path-tabu .desktop-category-wrapper .category-dropdown-toggle .selected-category {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.path-tabu .desktop-category-wrapper .category-dropdown-toggle:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.path-tabu .tabu-search-filters .search-filters-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0px 0 1rem 0rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .path-tabu .tabu-search-filters .search-filters-container {
    /*padding: 2rem 2rem;*/
  }
}

.path-tabu .tabu-search-filters .search-wrapper {
  position: relative;
  width: 100%;
}

.path-tabu .tabu-search-filters .search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  opacity: 0.6;
  transition: all 0.2s;
  pointer-events: none;
}

.path-tabu .tabu-search-filters .search-wrapper:focus-within .search-icon {
  color: var(--primary);
  opacity: 1;
}

.path-tabu .tabu-search-filters .search-input {
  width: 100%;
  height: 4rem;
  padding-left: 3.5rem;
  padding-right: 1.5rem;
  font-size: 1.125rem;
  background-color: var(--card);
  border: 2px solid var(--border);
  border-radius: 1.5rem;
  color: var(--foreground);
  outline: none;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}

.path-tabu .tabu-search-filters .search-input::placeholder {
  color: var(--muted-foreground);
  opacity: 0.7;
}

.path-tabu .tabu-search-filters .search-input:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.path-tabu .tabu-search-filters .search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.path-tabu .tabu-search-filters .filters-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 0px) and (max-width: 1023.98px) {
  .path-tabu .tabu-search-filters .filters-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .path-tabu .tabu-search-filters .desktop-category-wrapper {
    flex: 1 1 auto;
    order: 1;
    min-width: 0;
    max-width: none;
  }

  .path-tabu .tabu-search-filters .mobile-filters-row {
    flex: 0 0 auto;
    order: 2;
  }

  .path-tabu .tabu-search-filters .price-filter {
    flex: 1 1 100%;
    order: 3;
  }
}

@media (min-width: 1024px) {
  .path-tabu .tabu-search-filters .filters-row {
    flex-direction: row;
    align-items: stretch;
  }
}

.path-tabu .tabu-search-filters .mobile-filters-row {
  display: flex;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .path-tabu .tabu-search-filters .mobile-filters-row {
    display: none;
  }
}

.path-tabu .tabu-search-filters .mobile-category-wrapper {
  flex: 1;
  min-width: 0;
}

.path-tabu .tabu-search-filters .category-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: var(--card);
  border: 2px solid var(--border);
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  pointer-events: auto;
}

.path-tabu .tabu-search-filters .category-button:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.path-tabu .tabu-search-filters .category-text {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.path-tabu .tabu-search-filters .chevron-icon {
  flex-shrink: 0;
  color: var(--muted-foreground);
  transition: transform 0.2s;
}

.path-tabu .tabu-search-filters .category-button.open .chevron-icon {
  transform: rotate(180deg);
}

@media (min-width: 1024px) {
  .path-tabu .tabu-search-filters .desktop-category-wrapper {
    display: block;
  }
}

@keyframes dropdown-appear {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.path-tabu .tabu-search-filters .category-dropdown.hidden {
  display: none;
}

.path-tabu .tabu-search-filters .category-dropdown-scroll {
  max-height: 500px;
  overflow-y: auto;
  padding: 0.5rem;
}

.path-tabu .tabu-search-filters .category-dropdown-scroll::-webkit-scrollbar {
  width: 8px;
}

.path-tabu .tabu-search-filters .category-dropdown-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.path-tabu .tabu-search-filters .category-dropdown-scroll::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.path-tabu .tabu-search-filters .category-dropdown-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--muted-foreground);
}

.path-tabu .tabu-search-filters .category-tree-item {
  margin-bottom: 0.125rem;
}

.path-tabu .tabu-search-filters .category-item-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  text-align: left;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.15s;
}

.path-tabu .tabu-search-filters .category-item-button:hover {
  background-color: rgba(236, 236, 240, 0.5);
}

.path-tabu .tabu-search-filters .category-item-button.selected {
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.path-tabu .tabu-search-filters .category-item-button.subcategory-selected {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  font-weight: 600;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.path-tabu .tabu-search-filters .category-item-button .chevron-icon {
  transition: transform 0.2s;
}

.path-tabu .tabu-search-filters .category-item-button.expanded .chevron-icon {
  transform: rotate(90deg);
}

.path-tabu .tabu-search-filters .subcategory-container {
  margin-top: 0.25rem;
  margin-left: 0.375rem;
  padding: 0.5rem;
  border-left: 2px solid var(--border);
  border-radius: 0.75rem;
  background-color: rgba(236, 236, 240, 0.3);
}

.path-tabu .tabu-search-filters .all-in-category-button {
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  text-align: left;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.15s;
  margin-bottom: 0.25rem;
}

.path-tabu .tabu-search-filters .all-in-category-button:hover {
  background-color: rgba(236, 236, 240, 0.7);
}

.path-tabu .tabu-search-filters .all-in-category-button.selected {
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.path-tabu .tabu-search-filters .language-chips {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.path-tabu .tabu-search-filters .mobile-language-chips {
  display: flex;
}

@media (min-width: 1024px) {
  .path-tabu .tabu-search-filters .mobile-language-chips {
    display: none;
  }
}

.path-tabu .tabu-search-filters .desktop-language-chips {
  display: none;
}

@media (min-width: 1024px) {
  .path-tabu .tabu-search-filters .desktop-language-chips {
    display: flex;
  }
}

.path-tabu .tabu-search-filters .language-chip {
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  background-color: var(--card);
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .path-tabu .tabu-search-filters .language-chip {
    height: 46px;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.path-tabu .tabu-search-filters .language-chip:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.path-tabu .tabu-search-filters .language-chip.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.path-tabu .tabu-search-filters .price-filter {
  flex: 2 2 auto;
  min-width: 220px;
  min-height: 46px;
  /*padding: 0 1.25rem;*/
  padding: 3px 0 9px 0px;
  background-color: transparent;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0px;
  transition: all 0.2s;
}

.path-tabu .tabu-search-filters .price-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
}

.path-tabu .tabu-search-filters .price-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
  white-space: nowrap;
}

.path-tabu .tabu-search-filters .price-slider-wrapper {
  flex: 1;
  position: relative;
  width: 100%;
  height: 8px;
  min-width: 0;
}

.path-tabu .tabu-search-filters .price-slider-wrapper::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  background: var(--muted);
  opacity: 0.5;
  border-radius: 9999px;
  z-index: 0;
}

.path-tabu .tabu-search-filters .slider-range-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(
    to right,
    rgb(139, 92, 246),
    rgb(168, 85, 247),
    rgb(99, 102, 241)
  );
  border-radius: 9999px;
  transition: all 150ms;
  pointer-events: none;
  z-index: 1;
}

.path-tabu .tabu-search-filters .price-slider {
  position: absolute;
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  margin: 0;
  z-index: 2;
}

.path-tabu .tabu-search-filters .price-slider::-webkit-slider-track {
  width: 100%;
  height: 8px;
  background: transparent;
  border-radius: 9999px;
  overflow: hidden;
}

.path-tabu .tabu-search-filters .price-slider::-moz-range-track {
  width: 100%;
  height: 8px;
  background: transparent;
  border-radius: 9999px;
  overflow: hidden;
}

.path-tabu .tabu-search-filters .price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: linear-gradient(
    to right,
    rgb(139, 92, 246),
    rgb(168, 85, 247),
    rgb(99, 102, 241)
  );
  border: 3px solid var(--background);
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
  z-index: 2;
}

.path-tabu .tabu-search-filters .price-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: linear-gradient(
    to right,
    rgb(139, 92, 246),
    rgb(168, 85, 247),
    rgb(99, 102, 241)
  );
  border: 3px solid var(--background);
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.path-tabu .tabu-search-filters .price-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.path-tabu .tabu-search-filters .price-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

body.theme-dark.path-tabu .tabu-search-filters .price-slider::-webkit-slider-track,
body.dark-mode.path-tabu .tabu-search-filters .price-slider::-webkit-slider-track {
  background: transparent;
}

body.theme-dark.path-tabu .tabu-search-filters .price-slider::-moz-range-track,
body.dark-mode.path-tabu .tabu-search-filters .price-slider::-moz-range-track {
  background: transparent;
}

body.theme-dark.path-tabu .tabu-search-filters .category-item-button:hover,
body.dark-mode.path-tabu .tabu-search-filters .category-item-button:hover,
body.theme-dark.path-tabu .tabu-search-filters .all-in-category-button:hover,
body.dark-mode.path-tabu .tabu-search-filters .all-in-category-button:hover {
  background-color: rgba(148, 163, 184, 0.12);
}

body.theme-dark.path-tabu .tabu-search-filters .filter-tag:hover,
body.dark-mode.path-tabu .tabu-search-filters .filter-tag:hover {
  background-color: rgba(248, 113, 113, 0.18);
}

body.theme-dark.path-tabu .tabu-search-filters .category-dropdown-scroll,
body.dark-mode.path-tabu .tabu-search-filters .category-dropdown-scroll {
  background-color: var(--card);
}

body.theme-dark.path-tabu .tabu-search-filters .mobile-sheet-overlay,
body.dark-mode.path-tabu .tabu-search-filters .mobile-sheet-overlay {
  background-color: rgba(3, 7, 18, 0.65);
}

.path-tabu .tabu-search-filters .price-display {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--foreground);
  white-space: nowrap;
}

.path-tabu .tabu-search-filters .active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.path-tabu .tabu-search-filters .active-filters.hidden {
  display: none;
}

.path-tabu .tabu-search-filters .active-filters-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-foreground);
}

.path-tabu .tabu-search-filters .active-filters-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.path-tabu .tabu-search-filters .filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.5rem 0.375rem 0.75rem;
  background-color: var(--muted);
  color: var(--foreground);
  border-radius: 9999px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.path-tabu .tabu-search-filters .filter-tag:hover {
  background-color: rgba(212, 24, 61, 0.1);
}

.path-tabu .tabu-search-filters .filter-tag svg {
  width: 12px;
  height: 12px;
}

.path-tabu .tabu-search-filters .clear-all-btn {
  padding: 8px 12px;
  background: transparent;
  border: none;
  font-size: 12px;
  color: var(--muted-foreground);
  cursor: pointer;
  border-radius: 9999px;
  transition: color 0.2s;
}

.path-tabu .tabu-search-filters .clear-all-btn:hover {
  color: var(--destructive);
}

.path-tabu .tabu-search-filters .mobile-sheet {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.path-tabu .tabu-search-filters .mobile-sheet.hidden {
  display: none;
}

.path-tabu .tabu-search-filters .mobile-sheet-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  animation: overlay-appear 0.3s ease-out;
}

@keyframes overlay-appear {
  from { opacity: 0; }
  to { opacity: 1; }
}

.path-tabu .tabu-search-filters .mobile-sheet-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90vh;
  background-color: var(--card);
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  animation: sheet-slide-up 0.3s ease-out;
}

@keyframes sheet-slide-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.path-tabu .tabu-search-filters .mobile-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.path-tabu .tabu-search-filters .mobile-sheet-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.path-tabu .tabu-search-filters .mobile-sheet-close {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--muted-foreground);
  cursor: pointer;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.path-tabu .tabu-search-filters .mobile-sheet-close:hover {
  background-color: var(--muted);
  color: var(--foreground);
}

.path-tabu .tabu-search-filters .mobile-sheet-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.path-tabu .tabu-search-filters .mobile-sheet-scroll {
  flex: 1;
  overflow-y: auto;
  padding-right: 1rem;
  padding-bottom: 5rem;
}

.path-tabu .tabu-search-filters .mobile-sheet-scroll::-webkit-scrollbar {
  width: 6px;
}

.path-tabu .tabu-search-filters .mobile-sheet-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.path-tabu .tabu-search-filters .mobile-sheet-scroll::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.path-tabu .tabu-search-filters .mobile-sheet .category-item-button {
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
}

.path-tabu .tabu-search-filters .mobile-sheet .all-in-category-button {
  padding: 0.75rem 1rem;
}

.path-tabu .tabu-search-filters .hidden {
  display: none !important;
}
