/* Modal Styling */
#loader-modal {
    display: none; /* Ensure it is hidden initially */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}
 

/* Modal Content */
.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    min-width: 200px;
}

/* Loader Animation */
.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #ddd;
    border-top: 5px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#price-range-display {
    font-weight: bold;
    color: #333;
}

.text-danger-600{
    color: red !important;
}

.property-results-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-top: 20px;
}

.property-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  width: calc(33.333% - 13.33px); /* 3 per row with gap */
  padding: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.property-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.property-details h3 {
  margin-top: 10px;
  font-size: 1.25rem;
  color: #2c3e50;
}

.property-details p {
  margin: 4px 0;
  color: #555;
  font-size: 0.95rem;
}


.budget-slider-wrapper {
    position: relative;
    padding-bottom: 20px;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    padding: 0 5px;
}

.slider-value {
    background-color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
    position: relative;
    top: 10px;
}
.slider-tooltip {
    position: absolute;
    background: #0099ff;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    transform: translateX(-50%);
    transition: left 0.1s ease-out, top 0.1s ease-out;
    z-index: 10;
    margin-top: -15px;
}
@media (max-width: 1024px) {
  .property-card {
    width: calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .property-card {
    width: 100%;
  }
}
