:root {
  --color-light-2: #e6f0f885;
}


.filters-section {
  padding: 30px 0;
  background-color: #fff;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 0px;
  position: relative;
  z-index: 1;
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  justify-content: center;
}

.select__dropdown.-is-visible {width:350px; border-radius: 10px;     top: calc(100% + 3px);}
.contactForm select, .contactForm input:not([type="range"]), .contactForm textarea { height: 68px; width:135px; border:none !important; border-radius: 14px;}
.contactForm .form-input label {top:28px; font-size:14px; font-weight: lighter;}
.select__button {    font-size: 14px;
  font-weight: lighter; border-radius: 10px;
 border:none;}

.contactForm .form-input label::before {background-color: #f2f7fb}
.contactForm .form-input textarea:focus + label, .contactForm .form-input input:focus + label {transform: translateY(-25px);}

.filter-column {
  min-width: 135px;
  position: relative;
  margin-bottom: 15px;
}

.filter-heading {
  font-size: 14px;
  font-weight: 600;
  color: #1e2022;
  margin-bottom: 8px;
}

.filter-value {
  border: 1px solid #dddddd;
  background-color: #fff;
  border-radius: 4px;
  padding: 10px 15px;
  font-size: 14px;
  color: #3554d1;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}

.filter-value:after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 10px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #3554d1;
  transition: transform 0.2s;
}

.filter-column.open .filter-value {
  border-color: #3554d1;
}

.filter-column.open .filter-value:after {
  transform: rotate(180deg);
}

.filter-options {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: 5px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  z-index: 50;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.filter-column.open .filter-options {
  max-height: 300px;
  opacity: 1;
  visibility: visible;
  padding: 10px 0;
  overflow-y: auto;
}

.filter-option {
  padding: 8px 15px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-option:hover {
  background-color: #f5f5f5;
  color: #3554d1;
}

.filter-option.selected {
  background-color: #f0f5ff;
  color: #3554d1;
  font-weight: 500;
}

.filter-dropdown-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
}

/* Checkbox filter styles */
.checkbox-filter {
  padding: 30px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.checkbox-filter__heading {
  font-size: 16px;
  font-weight: 600;
  color: #1e2022;
  margin-bottom: 20px;
}

.checkbox-filter__group {
  margin-bottom: 25px;
}

.checkbox-filter__group-label {
  font-size: 14px;
  font-weight: 600;
  color: #666;
  margin-bottom: 15px;
  display: block;
}

.form-checkbox-filter {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  cursor: pointer;
}

.form-checkbox-filter__input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.form-checkbox-filter__mark {
  height: 18px;
  width: 18px;
  background-color: #fff;
  border: 1px solid #dddddd;
  border-radius: 3px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.form-checkbox-filter__input:checked ~ .form-checkbox-filter__mark {
  background-color: #3554d1;
  border-color: #3554d1;
}

.form-checkbox-filter__icon {
  display: none;
}

.form-checkbox-filter__input:checked ~ .form-checkbox-filter__mark .form-checkbox-filter__icon {
  display: block;
  color: #fff;
  font-size: 12px;
}

.form-checkbox-filter__label {
  font-size: 14px;
  color: #666;
}

/* Range filter styles */
.range-filter {
  margin-bottom: 20px;
}

.range-filter__heading {
  font-size: 14px;
  font-weight: 600;
  color: #1e2022;
  margin-bottom: 15px;
}

.range-filter__inputs {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.range-filter__input {
  flex: 1;
}

.range-filter__input input {
  width: 100%;
  border: 1px solid #dddddd;
  border-radius: 4px;
  padding: 10px 15px;
  font-size: 14px;
  transition: all 0.2s;
}

.range-filter__input input:focus {
  border-color: #3554d1;
  outline: none;
}

.range-filter__input-label {
  font-size: 12px;
  color: #666;
  margin-bottom: 5px;
}

/* Apply filters button */
.filter-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.apply-filters-btn {
  background-color: #3554d1;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.apply-filters-btn:hover {
  background-color: #2a43a7;
}

/* Custom Select Styling */
.custom-select {
  position: relative;
  cursor: pointer;
}

.custom-select__field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #dddddd;
  background-color: #fff;
  border-radius: 4px;
  padding: 10px 15px;
  font-size: 14px;
  color: #3554d1;
  font-weight: 500;
  transition: all 0.2s;
}

.custom-select__field:hover {
  border-color: #3554d1;
}

.custom-select.active .custom-select__field {
  border-color: #3554d1;
}

.custom-select__icon {
  font-size: 10px;
  margin-left: 10px;
  transition: transform 0.2s;
}

.custom-select.active .custom-select__icon {
  transform: rotate(180deg);
}

.custom-select__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: 5px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-radius: 4px;
  max-height: 0;
  overflow: hidden;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.custom-select.active .custom-select__dropdown {
  max-height: 300px;
  opacity: 1;
  visibility: visible;
  padding: 10px 0;
  overflow-y: auto;
}

.custom-select__option {
  padding: 8px 15px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.custom-select__option:hover {
  background-color: #f5f5f5;
  color: #3554d1;
}

.custom-select__option.selected {
  background-color: #f0f5ff;
  color: #3554d1;
  font-weight: 500;
}

/* Custom Input Styling */
.custom-input {
  width: 100%;
}

.custom-input__field {
  width: 100%;
  border: 1px solid #dddddd;
  border-radius: 4px;
  padding: 10px 15px;
  font-size: 14px;
  transition: all 0.2s;
}

.custom-input__field:focus {
  border-color: #3554d1;
  outline: none;
}

.custom-input__field::placeholder {
  color: #b0b8c4;
}

/* Search Input with Icon */
.search-input {
  position: relative;
}

.search-input__field {
  width: 100%;
  border: 1px solid #dddddd;
  border-radius: 4px;
  padding: 10px 15px 10px 40px;
  font-size: 14px;
  transition: all 0.2s;
}

.search-input__field:focus {
  border-color: #3554d1;
  outline: none;
}

.search-input__icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #b0b8c4;
  font-size: 16px;
}

/* Results count */
.results-count {
  font-weight: 600;
  font-size: 24px;
  margin: 30px 0;
  margin-bottom: 0px;
}

/* Clear filters button */
.clear-filters {
  display: inline-block;
  cursor: pointer;
  font-weight: 400;
  text-decoration: none;
}

/* Dropdown overlay */
.dropdown-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 15;
  display: none;
}

.custom-select.active + .dropdown-overlay {
  display: block;
}

/* Mobile styles */
@media (max-width: 992px) {
  .filter-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .filter-column {
    width: 100%;
  }
}

/* Custom Checkbox */
.checkbox-option {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  cursor: pointer;
}

.checkbox-option__input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-option__checkmark {
  height: 18px;
  width: 18px;
  background-color: #fff;
  border: 1px solid #dddddd;
  border-radius: 3px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.checkbox-option__input:checked ~ .checkbox-option__checkmark {
  background-color: #3554d1;
  border-color: #3554d1;
}

.checkbox-option__input:checked ~ .checkbox-option__checkmark:after {
  content: "✓";
  color: #fff;
  font-size: 12px;
}

.checkbox-option__label {
  font-size: 14px;
  color: #666;
}

/* Apply filters button */
.apply-filters-btn {
  background-color: #3554d1;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.apply-filters-btn:hover {
  background-color: #2a43a7;
}

.clear-filter-button {
  align-items: center;
}

.clear-filter-button .select__button {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.clear-filter-button .select__button:hover {
  background-color: #f0f0f0;
}

.clear-filter-button .icon-close {
  font-size: 14px;
  margin-left: 10px;
}
