/* ===== Property Filter Horizontal Layout ===== */
.property-filter-dependent form {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap; /* keep all in one line on large screens */
  gap: 15px;
  align-items: center;
  justify-content: flex-start;
  margin: 20px 0;
}

/* Dropdowns */
.property-filter-dependent select {
  padding: 10px 14px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  min-width: 180px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.property-filter-dependent select:focus {
  border-color: #00005f;
  box-shadow: 0 0 4px rgba(0,0,95,0.3);
  outline: none;
}

/* Submit button */
.property-filter-dependent button[type="submit"] {
  background-color: #00005f;
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.property-filter-dependent button[type="submit"]:hover {
  background-color: #222277;
}

/* Responsive: stack filters on small screens */
@media (max-width: 768px) {
  .property-filter-dependent form {
    flex-wrap: wrap; /* stack vertically */
  }

  .property-filter-dependent select,
  .property-filter-dependent button[type="submit"] {
    flex: 1 1 100%;
    min-width: 100%;
  }
}
