@media (max-width: 1400px) {
  #theme-filter-container .card.card-body {
    box-shadow: none;
  }
}

@media (min-width: 1400px) {
  #offcanvasSidebar {
    position: sticky;
    top: 64px;
    height: calc(100vh - 64px);
    overflow-y: auto;
    z-index: 1;
  }
}
#theme-filter-container .card.card-body .scrollable-filters {
  box-shadow: none;
  max-height: 270px;
  overflow-y: scroll;
}

.theme-checkbox-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.theme-checkbox-field .form-check {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 0.25rem;
  margin-bottom: 0;
}

.theme-checkbox-field .form-check .form-check-label {
  width: 100%;
}

.theme-checkbox-field:has(input[type="checkbox"]:checked) {
  background-color: var(--bs-primary-bg-subtle) !important;
  color: rgba(var(--bs-body-color-rgb), var(--bs-text-opacity)) !important;
}

.theme-checkbox-field:has(input[type="checkbox"]:checked) .form-check-label {
  color: rgba(var(--bs-body-color-rgb), var(--bs-text-opacity)) !important;
}

.theme-checkbox-field {
  transition: background-color 0.2s, color 0.2s;
}

.mobile-filter-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #dee2e6;
  z-index: 1044;
}