.sbt-tour-list {
  position: relative;
}

.sbt-tour-toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.sbt-tour-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sbt-filter-trigger {
  border-radius: 0;
  padding: 10px 16px;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.sbt-filter-trigger [data-filter-label] {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sbt-filter-trigger .sbt-filter-caret {
  flex: 0 0 auto;
}

.sbt-tour-search-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}

.sbt-tour-search {
  flex: 1;
}

.sbt-tour-search input {
  width: 100%;
  min-width: 220px;
  border: 1px solid #dbe8f5;
  border-radius: 0;
  padding: 11px 14px;
}

.sbt-action-button {
  border: none;
  color: #fff;
  min-width: 122px;
  padding: 12px 14px;
  cursor: pointer;
}




.sbt-filter-popups {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
}

.sbt-filter-popup {
  max-width: 420px;
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.sbt-difficulty-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.sbt-checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sbt-select-filter input[type="search"] {
  width: 100%;
  border: 1px solid #dbe8f5;
  border-radius: 0;
  padding: 10px 12px;
}

.sbt-select-options {
  max-height: 240px;
  overflow-y: auto;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  border: 1px solid #dbe8f5;
}

.sbt-select-option {
  border: none;
  background: transparent;
  text-align: left;
  padding: 8px 12px;
  cursor: pointer;
  font: inherit;
  color: #1e3050;
}

.sbt-select-option:hover,
.sbt-select-option.is-active {
  background: #eef5fb;
}

.sbt-select-option.is-selected {
  background: #d7e4f3;
  font-weight: 600;
}

.sbt-select-option[hidden] {
  display: none !important;
}

.sbt-select-empty {
  color: #666;
  margin: 12px 0 0;
}

.sbt-range-inputs {
  margin: 10px 0;
}

.sbt-range-track {
  --min-percent: 0%;
  --max-percent: 100%;
  position: relative;
  height: 30px;
  margin: 8px 0 2px;
}

.sbt-range-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: #ddd;
}

.sbt-range-track::after {
  content: "";
  position: absolute;
  left: var(--min-percent);
  right: calc(100% - var(--max-percent));
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: #222;
}

.sbt-range-track input[type="range"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 30px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: none;
  pointer-events: none;
}

.sbt-range-track input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #222;
  background: #fff;
  cursor: pointer;
}

.sbt-range-track input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #222;
  background: #fff;
  cursor: pointer;
}

.sbt-range-track input[type="range"]::-webkit-slider-runnable-track {
  background: transparent;
  border: none;
}

.sbt-range-track input[type="range"]::-moz-range-track {
  background: transparent;
  border: none;
}

.sbt-range-track input[type="range"][data-range-min] {
  z-index: 2;
}

.sbt-range-track input[type="range"][data-range-max] {
  z-index: 3;
}

.sbt-range-values {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
}

.sbt-popup-actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.sbt-popup-actions button {
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 20px;
  padding: 6px 12px;
  cursor: pointer;
}

.sbt-tour-results-meta {
  margin-bottom: 12px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 6px;
}


.sbt-tour-pagination {
  min-height: 28px;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.sbt-pagination-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #22364f;
}

.sbt-page-num,
.sbt-page-nav {
  border: none;
  background: transparent;
  color: #22364f;
  cursor: pointer;
  padding: 0;
}

.sbt-page-num.is-active {
  color: #f7931e;
}

.sbt-page-nav[disabled] {
  opacity: 0.4;
  cursor: default;
}

.sbt-tour-table-wrap {
  background: #f3f8fd;
  border: 1px solid #d7e4f3;
  position: relative;
  overflow: hidden;
}

.sbt-tour-table {
  width: 100%;
  border-collapse: collapse;
}

.sbt-tour-table thead th {
  background: #2f7cb8;
  color: #fff;
  text-align: left;
  padding: 12px 14px;
}

.sbt-tour-table thead th[aria-sort] {
  padding: 0;
}

.sbt-sort-button {
  width: 100%;
  border: none;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font: inherit;
}

.sbt-sort-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
}

.sbt-sort-indicator {
  min-width: 14px;
  text-align: center;
  opacity: 0.6;
}

.sbt-sort-button.is-active .sbt-sort-indicator {
  opacity: 1;
}

.sbt-tour-table thead th[aria-sort="ascending"] .sbt-sort-indicator::before {
  content: "▲";
}

.sbt-tour-table thead th[aria-sort="descending"] .sbt-sort-indicator::before {
  content: "▼";
}

.sbt-tour-table thead th[aria-sort="none"] .sbt-sort-indicator::before {
  content: "↕";
}

.sbt-region-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1e3050;
}

.sbt-difficulty-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  flex: 0 0 15px;
  margin-right:.75rem;
}

.sbt-difficulty-dot.is-easy {
  background: #0da0ff;
}

.sbt-difficulty-dot.is-medium {
  background: #ff1d1d;
}

.sbt-difficulty-dot.is-hard {
  background: #111;
}

.sbt-difficulty-dot.is-xtrem {
  background: #111;
  border: 3px solid #f2cf2e;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  box-sizing: border-box;
}

.sbt-tour-status {
  color: #666;
  text-align: center;
}

.sbt-results-loading {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(243, 248, 253, 0.72);
  color: #2a4769;
  pointer-events: none;
}

.sbt-results-loading[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  .sbt-tour-search {
    width: 100%;
  }

  .sbt-tour-search-row {
    flex-wrap: wrap;
  }

  .sbt-action-button {
    min-width: 0;
    flex: 1;
  }

  .sbt-filter-popup {
    max-width: 100%;
  }

}
