.property-search-widget {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin: 20px 0;
}

.property-search-widget .search-form {
    width: 100%;
}

.property-search-widget .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: end;
}

.property-search-widget .form-group {
    flex: 1;
    min-width: 200px;
}

.property-search-widget label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
}

.property-search-widget .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.property-search-widget .form-control:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.property-search-widget .price-field {
    position: relative;
}

.property-search-widget .price-range-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    margin-top: 5px;
}

.property-search-widget .price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.property-search-widget .price-inputs .input-group {
    flex: 1;
}

.property-search-widget .price-separator {
    color: #718096;
    font-weight: 500;
}

.property-search-widget .price-slider {
    padding: 0 10px;
}

.property-search-widget .slider-range {
    height: 5px;
    background: #e2e8f0;
    border-radius: 5px;
    position: relative;
}

.property-search-widget .ui-slider-handle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4299e1;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    outline: none;
    top: -8px;
    margin-left: -10px;
}

.property-search-widget .ui-slider-range {
    background: #4299e1;
    height: 5px;
    border-radius: 5px;
}

.property-search-widget .submit-btn {
    align-self: flex-end;
}

.property-search-widget .btn-secondary {
  background: #0c3ba3;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
}

.property-search-widget .btn-secondary:hover {
    background: #3182ce;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .property-search-widget .form-row {
        flex-direction: column;
    }

    .property-search-widget .form-group {
        width: 100%;
    }
}
