/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.6.1770725560
Updated: 2026-02-10 12:12:40

*/

/* Enhanced Beautiful Property Search Form */
.ewpe-property-search-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 30px;
  padding: 30px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 0px 0px 16px 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
/*   overflow: hidden; */
}

.ewpe-property-search-form::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #01944b 0%, #d92a27 50%, #01944b 100%);
  background-size: 200% 100%;
	border-radius: 10px 10px 0px 0px;
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.ewpe-search-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  align-items: flex-end;
}

.ewpe-property-search-form > .ewpe-search-row:first-child {
  margin-bottom: 0;
}

.ewpe-field {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
}

.ewpe-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #06062b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.ewpe-field-focused label {
  color: #06062b;
}

.ewpe-field input,
.ewpe-field select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 2px solid #e1e8ed;
  font-size: 14px;
  background: #ffffff;
  font-family: inherit;
  color: #06062b;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.ewpe-field input:focus,
.ewpe-field select:focus {
  outline: none;
  border-color: #0073aa;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.ewpe-field input.ewpe-field-filled,
.ewpe-field select.ewpe-field-filled {
  border-color: #28a745;
  background: #f8fff9;
}

.ewpe-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
}

.ewpe-field-submit {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  min-width: 120px;
}

.ewpe-search-btn {
  padding: 10px 24px;
  background: linear-gradient(135deg, #01944b 0%, #00a0d2 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 115, 170, 0.3);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.ewpe-search-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.ewpe-search-btn:hover {
  background: linear-gradient(135deg, #005a87 0%, #0073aa 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 115, 170, 0.4);
}

.ewpe-search-btn:hover::before {
  width: 300px;
  height: 300px;
}

.ewpe-search-btn:active {
  transform: translateY(0);
}

.ewpe-search-btn.ewpe-loading {
  pointer-events: none;
  opacity: 0.8;
}

.ewpe-btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Enhanced Location Autocomplete */
.ewpe-location-autocomplete-wrapper {
  position: relative;
}

.ewpe-location-input {
  width: 100%;
}

.ewpe-loading-spinner {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid #e1e8ed;
  border-top-color: #0073aa;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  z-index: 10;
}

.ewpe-autocomplete-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 2px solid #e1e8ed;
  border-radius: 8px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  margin-top: 4px;
}

.ewpe-autocomplete-suggestions.active {
  display: block;
}

.ewpe-suggestion-item {
  padding: 14px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f0f4f8;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2c3e50;
}

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

.ewpe-suggestion-item:hover,
.ewpe-suggestion-item.selected {
  background: #f0f7ff;
}

.ewpe-suggestion-icon {
  font-size: 16px;
  opacity: 0.7;
}

.ewpe-suggestion-text {
  flex: 1;
}

.ewpe-suggestion-item.ewpe-no-results {
  cursor: default;
  color: #6c757d;
  font-style: italic;
  text-align: center;
  justify-content: center;
  padding: 20px;
  background: #f8f9fa;
}

.ewpe-suggestion-item.ewpe-no-results:hover {
  background: #f8f9fa;
  padding-left: 16px;
  border-left: none;
}

.ewpe-no-results-icon {
  font-size: 18px;
  opacity: 0.5;
}

/* Enhanced No Properties Found Message */
.ewpe-no-properties-found {
  padding: 60px 30px;
  text-align: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 2px dashed #dee2e6;
  border-radius: 16px;
  margin: 40px 0;
  color: #6c757d;
  font-size: 16px;
  position: relative;
  overflow: hidden;
}

.ewpe-no-properties-found::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 115, 170, 0.05) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.ewpe-no-results-icon-large {
  font-size: 64px;
  display: block;
  margin-bottom: 20px;
  opacity: 0.6;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.ewpe-no-properties-found strong {
  display: block;
  font-size: 24px;
  color: #2c3e50;
  margin-bottom: 12px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.ewpe-no-properties-found p {
  margin: 0 0 25px 0;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

.ewpe-clear-filters-btn {
  padding: 12px 28px;
  background: linear-gradient(135deg, #0073aa 0%, #00a0d2 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 115, 170, 0.3);
  position: relative;
  z-index: 1;
}

.ewpe-clear-filters-btn:hover {
  background: linear-gradient(135deg, #005a87 0%, #0073aa 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 115, 170, 0.4);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .ewpe-search-row {
    flex-wrap: wrap;
  }
  
  .ewpe-field {
    flex: 1 1 calc(33.333% - 10px);
    min-width: 150px;
  }
  
  .ewpe-field-submit {
    flex: 1 1 100%;
    margin-top: 15px;
  }
}

@media (max-width: 768px) {
  .ewpe-property-search-form {
    padding: 20px;
    border-radius: 0 0 12px;
  }

  .ewpe-search-row {
    flex-direction: column;
    gap: 15px;
  }

  .ewpe-field {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .ewpe-field-submit {
    width: 100%;
    margin-top: 0;
  }

  .ewpe-search-btn {
    width: 100%;
    padding: 14px;
  }

  .ewpe-no-properties-found {
    padding: 40px 20px;
  }

  .ewpe-no-results-icon-large {
    font-size: 48px;
  }

  .ewpe-no-properties-found strong {
    font-size: 20px;
  }
}

/* Smooth scrollbar for autocomplete */
.ewpe-autocomplete-suggestions::-webkit-scrollbar {
  width: 8px;
}

.ewpe-autocomplete-suggestions::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.ewpe-autocomplete-suggestions::-webkit-scrollbar-thumb {
  background: #0073aa;
  border-radius: 4px;
}

.ewpe-autocomplete-suggestions::-webkit-scrollbar-thumb:hover {
  background: #005a87;
}
