.custom-search-box-wrapper {
  /* background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%); */
  padding: 0px;
  border-radius: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

button.search-button .search-icon:before {
  height: 5px;
  line-height: 1px;
}

.homePageSearchBox .nav.nav-tabs {
  list-style: none;
  padding: 0;
  margin: 0 0 2px 0;
  display: flex;
  gap: 0;
  border-bottom: none;
}

.homePageSearchBox .nav.nav-tabs li {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.homePageSearchBox .nav.nav-tabs li .tab-button {
  background: rgba(255, 255, 255, 0.6);
  border: none;
  padding: 10px 30px;
  font-size: 15px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  border-radius: 0;
  transition: all 0.3s ease;
  line-height: 1.2;
}

.homePageSearchBox .nav.nav-tabs li.active .tab-button {
  background: #90caf9;
  color: #000000;
  font-weight: 600;
}

.homePageSearchBox .nav.nav-tabs li:not(.active) .tab-button {
  background: rgba(255, 255, 255, 0.9);
}
.custom-search-box-wrapper .nav.nav-tabs li:first-child {
  border-radius: 10px 0 0 0;
}
.custom-search-box-wrapper .nav.nav-tabs li:last-child {
  border-radius: 0 10px 0 0;
}

.homePageSearchBox .nav.nav-tabs li:not(.active) .tab-button:hover {
  background: rgba(255, 255, 255, 0.8);
}

.homePageSearchBox .tab-content {
  background: transparent;
}

.homePageSearchBox .search-form-container {
  width: 100%;
}

.homePageSearchBox .search-bar {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 10px;
  padding: 15px 60px 15px 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  gap: 15px;
  height: 70px;
}
.custom-search-box-wrapper .nav.nav-tabs {
  margin: 0;
  justify-content: center;
}

.homePageSearchBox .house-icon {
  color: #666;
  font-size: 20px;
  flex-shrink: 0;
  position: relative;
  top: -2px;
}

.homePageSearchBox .search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
  background: transparent;
}

.homePageSearchBox .search-input::placeholder {
  color: #999;
}

.homePageSearchBox .ai-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border-right: 1px solid #e0e0e0;
}

.homePageSearchBox .ai-label {
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(135deg, #1976d2 0%, #7b1fa2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.homePageSearchBox .toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.homePageSearchBox .toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
}

.homePageSearchBox .toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 24px;
}

.homePageSearchBox .toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.homePageSearchBox .toggle-input:checked + .toggle-slider {
  background-color: #1976d2;
}

.homePageSearchBox .toggle-input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

.homePageSearchBox .search-button {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: color 0.3s ease;
}

.homePageSearchBox .search-button:hover {
  color: #1976d2;
}

.homePageSearchBox .search-icon {
  color: #666;
  font-size: 20px;
  flex-shrink: 0;
}

.d-none {
  display: none;
}

.homePageSearchBox .evaluation-search-container {
  width: 100%;
}

.homePageSearchBox .evaluation-search-bar {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  gap: 15px;
  height: 70px;
  position: relative;
}

.homePageSearchBox .evaluation-house-icon {
  color: #666;
  font-size: 20px;
  flex-shrink: 0;
  position: relative;
  top: -2px;
}

.homePageSearchBox .evaluation-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
  background: transparent;
  width: 100%;
}

.homePageSearchBox .evaluation-search-input::placeholder {
  color: #999;
}

.homePageSearchBox .evaluation-input-wrapper {
  flex: 1;
}

.homePageSearchBox .evaluation-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  margin-top: 5px;
}

.homePageSearchBox .evaluation-suggestions.show {
  display: block;
}

.homePageSearchBox .evaluation-suggestion-item {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.homePageSearchBox .evaluation-suggestion-item:last-child {
  border-bottom: none;
}

.homePageSearchBox .evaluation-suggestion-item:hover {
  background-color: #f5f5f5;
}

.homePageSearchBox .evaluation-suggestion-item.active {
  background-color: #e3f2fd;
}

.homePageSearchBox .evaluation-suggestion-title {
  font-weight: 600;
  color: #333;
  font-size: 14px;
  margin-bottom: 4px;
  line-height: 1.2;
}

.homePageSearchBox .evaluation-suggestion-address {
  color: #666;
  font-size: 12px;
  line-height: 1.2;
}

.homePageSearchBox .get-report-button {
  background: #1a237e;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.homePageSearchBox .get-report-button:hover {
  background: #283593;
  box-shadow: 0 4px 8px rgba(26, 35, 126, 0.3);
}

.homePageSearchBox .get-report-button:active {
  transform: translateY(0);
}

@media (max-width: 575px) {
  .custom-search-box-wrapper {
    padding: 15px 0;
  }
  .homePageSearchBox .search-bar {
    gap: 0;
    padding: 10px 15px 10px 30px;
    height: 62px;
  }
  .homePageSearchBox .ai-toggle-wrapper {
    border: none;
    padding: 0;
    order: 3;
    flex-direction: column;
    margin-left: 10px;
    gap: 5px;
  }
  .homePageSearchBox .search-input {
    flex: 1 1 100%;
    font-size: 14px;
    order: 2;
  }
  .homePageSearchBox .search-button .search-icon {
    position: relative;
    left: -35px;
    font-size: 15px;
  }
  .homePageSearchBox .evaluation-search-bar {
    padding: 10px 15px;
    border-radius: 6px;
    gap: 0;
    height: 62px;
  }
  .homePageSearchBox .get-report-button {
    font-size: 14px;
    padding: 8px;
    margin-left: 10px;
  }
  .homePageSearchBox .evaluation-house-icon {
    display: none;
  }
  .homePageSearchBox .evaluation-search-input {
    flex: 1 1 100%;
    order: 2;
  }
  .homePageSearchBox .evaluation-search-input {
    font-size: 14px;
  }
  .homePageSearchBox .nav.nav-tabs li .tab-button {
    padding: 8px 10px;
    font-size: 14px;
  }
  .homePageSearchBox .search-bar {
    border-radius: 6px;
  }
  .homePageSearchBox .search-bar .house-icon {
    display: none;
  }
  .homePageSearchBox .ai-label {
    line-height: 1.2;
  }
  .homePageSearchBox .toggle-switch {
    width: 42px;
    height: 20px;
  }
  .homePageSearchBox .toggle-slider:before {
    height: 15px;
    width: 15px;
  }
  .custom-search-box-wrapper .nav.nav-tabs li:first-child {
    border-radius: 5px 0 0 0;
  }
  .custom-search-box-wrapper .nav.nav-tabs li:last-child {
    border-radius: 0 5px 0 0;
  }
}
.evaluation-suggestions-loader {
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.loader-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #1976d2;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loader-text {
  color: #666;
  font-size: 14px;
  font-weight: 500;
}
.browse-input-wrapper {
  position: relative;
  flex: 1;
}
.browse-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  margin-top: 5px;
}
.browse-suggestions.show {
  display: block;
}
.browse-suggestions-section {
  padding: 5px 0;
}
.browse-section-header {
  padding: 8px 15px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
}
.browse-location-item,
.browse-listing-item {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
  gap: 10px;
}
.browse-location-item:last-child,
.browse-listing-item:last-child {
  border-bottom: none;
}
.browse-location-item:hover,
.browse-listing-item:hover,
.browse-location-item.active,
.browse-listing-item.active {
  background-color: #f5f5f5;
}
.browse-icon {
  color: #666;
  font-size: 18px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}
.browse-location-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.browse-location-name {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}
.browse-location-type {
  font-size: 11px;
  font-weight: 600;
  color: #666;
  background-color: #f0f0f0;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.browse-listing-item {
  align-items: flex-start;
  padding: 10px 15px;
}
.browse-listing-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.browse-listing-address {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  line-height: 1.4;
}
.browse-property-type-tag {
  display: inline-block;
  background-color: #e3f2fd;
  color: #1976d2;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
}
.browse-listing-details {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}
.browse-listing-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
  min-width: 100px;
}
.browse-price {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  line-height: 1.2;
}
.browse-date {
  font-size: 12px;
  color: #999;
  line-height: 1.3;
}
.browse-suggestions-loader {
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
button.search-button.search_withAI.active .search-icon:before {
    color: #1976d2;
    font-weight: 600;
}
@media(max-width: 575px){
  .homePageSearchBox  .browse-suggestions {
        margin-top: -10px;
  }
}
.browse-no-results-message {
  padding: 20px;
  text-align: center;
  color: #666;
  font-size: 14px;
  font-weight: 500;
}
.evaluation-no-results-message {
  padding: 20px;
  text-align: center;
  color: #666;
  font-size: 14px;
  font-weight: 500;
}