/* Search Filters Styles */

.search_filters_pop {
  max-width: 300px;
}

.search_filters_pop .ba_content {
  padding: 30px 26px 30px !important;
}

.fn_search_filters_top {
  margin-bottom: 40px;
  padding: 30px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.search_filters_wrapper_top {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: flex-start;
}

.search_input_wrap {
  flex: 1 1 300px;
}

.search_input_wrap input[type="text"] {
  width: 100%;
  height: 37px;
  border: 2px solid #000;
  border-radius: 5px;
  font-size: 16px;
}

.filter_wrap {
  flex: 1 1 200px;
}

.filter_wrap select {
  /* width: 100%;
    padding: 12px 15px; */
  /* border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background-color: #fff; */
}

.search_button_wrap {
  flex: 0 0 auto;
  background-color: #000;
}

.search_button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  background-color: var(--theme-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.search_button:hover {
  background-color: var(--theme-hover-color);
}

.search_button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Results Styling */
.no_results {
  text-align: center;
  padding: 40px 20px;
}

.no_results h3 {
  margin-bottom: 10px;
  color: var(--heading-color);
}

.no_results p {
  color: var(--meta-color);
}

/* Search Icon in Hot Totop */
.fn__hot_totop .search_icon {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: #fff;
  border-radius: 100%;
  color: #000;
  text-decoration: none;
  position: absolute;
  top: -50px;
  cursor: pointer;
  margin-left: -4px;
}

.fn__hot_totop .search_icon.active {
  display: flex;
}

.fn__hot_totop .search_icon:hover .hot__tooltip {
  opacity: 1;
}

.fn__hot_totop .search_icon .fn__svg {
  width: 18px;
  height: 18px;
  display: block;
  position: absolute;
  color: inherit;
  margin: -10px 0 0 -10px;
  top: 50%;
  left: 50%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .search_filters_wrapper {
    flex-direction: column;
  }

  .search_input_wrap,
  .filter_wrap {
    flex: 1 1 100%;
  }

  .search_button_wrap {
    width: 100%;
  }

  .search_button {
    width: 100%;
    justify-content: center;
  }
}
