.filter_footer_buttons {
  display: flex;
  padding: 10px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  width: 100%;
  justify-content: space-between;
  margin-top: auto;
  position: sticky;
  bottom: 0;
  background: #fff;
  z-index: 1;
}

.resetFilters {
  color: #2e86c1;
  border: none;
  background-color: inherit;
}

.applyFilters {
  position: relative;
  display: flex;
  padding: 7px;
  justify-content: center;
  text-align: center;
  background-color: #379eff;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
}

.filter-container.active {
  left: 0;
}

.filter-container label {
  display: flex;
  flex-direction: column;
}

.filter-container input[type="range"] {
  width: 100%;
}

.filter-container {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  z-index: 2000;
  max-width: 250px;
  /* margin: 0 auto; */
  align-items: left;
  position: fixed;
  top: 0px;
  left: -100%;
  display: flex;
  min-height: 100dvh;
  height: 100%;
  flex-direction: column;
  transition: transform 0.3s ease;
  background-color: #fff;
  align-items: center;
  padding: 0px;
  width: 100%;
}

.filter-btn {
  background-color: transparent;
  color: #000000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 24px;
  position: fixed;
  right: 60px;
  top: 20px;
  z-index: 1004;
}

.filter-btn.active {
  background-color: #28a745;
  /* Green when active */
}

.locationSection {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.locationSection_label {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.locationLabel {
  margin-right: 10px;
}

#location {
  padding: 5px;
  width: 200px;
  padding: 7px;
  border: 1px solid #ddd;
  border-radius: 15px;
}

#useLocationBtn {
  padding: 5px 10px;
  background-color: #f2f2f2;
  border: none;
  color: #333;
  width: 100%;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.filters-header {
  font-size: 30px;
  text-align: center;
  margin-bottom: 10px;
  position: relative;
  right: 50%;
  transform: translateX(50%);
  font-weight: 644;
  margin: 0;
}

.filter-section {
  display: flex;
  flex-direction: column;
}

.age_section {
  width: 100%;
}

.scrollable_filter_section {
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  padding: 15px;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.main_label_style_filters {
  margin-bottom: 5px;
  width: 100%;
}

.main_box_style_filters {
  margin-bottom: 10px;
  width: 100%;
  padding: 8px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 18px;
}

.filter_header {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  font-size: 20px;
  padding: 10px;
  position: relative;
  border-bottom: 1px solid lightgray;
  padding-bottom: 8px;
}

.toggle_filters_btn {
  position: relative;
  float: right;
  margin-right: auto;
  background: none;
  border: none;
  cursor: pointer;
}

.filterSliderWrapper {
  position: relative;
  height: 20px;
}

.filterSlider1 {
  -webkit-appearance: none;
  /* Removes default browser styling */
  appearance: none;
  position: absolute;
  width: 100%;
  background: transparent;
  /* Transparent background */
  pointer-events: none;
  /* Makes the track non-draggable */
  z-index: 5;
  height: 27px;
}

/* Style for the slider track */
.slider-track {
  position: absolute;
  background: black;
  /* Darker baby blue for the active range */
  height: 4px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border-radius: 5px;
}

/* Style for the slider track */
.THEslider-track {
  position: absolute;
  background: #379eff;
  /* Darker baby blue for the active range */
  height: 4px;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  border-radius: 5px;
}

/* Style the slider thumb (draggable circles) */
.filterSlider1::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 7px;
  height: 20px;
  background: black;
  /* Thumb color */
  border-radius: 2px;
  /* Circle thumb */
  cursor: pointer;
  pointer-events: all;
  /* Make the thumb draggable */
  margin-top: -8px;
  /* Adjust to align with the track */
}

.filterSlider1::-moz-range-thumb {
  width: 5px;
  /* Slim width of the thumb */
  height: 20px;
  /* Taller height for the thumb */
  background: black;
  /* Thumb color */
  border-radius: 2px;
  /* Slightly rounded edges */
  cursor: pointer;
  /* Pointer cursor for better UX */
  pointer-events: all;
  /* Allow thumb dragging */
  transform: translateY(-8px);
  /* Align thumb with the track */
}

/* Highlight the active track */
.filterSlider1:focus::-webkit-slider-thumb {
  outline: none;
}

.searchable-select {
  position: relative;
  display: inline-block;
  width: 100%;
}

.spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 4px solid #ccc;
  border-top: 4px solid #007bff; /* Blue color for the spinning part */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Animation keyframes */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
