.property-grid {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}
.property-item {
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 8px;
  transition: box-shadow 0.3s;
}
.ae-property-card:hover {
  box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
}

/* Alter State Style */
form#alterestate-search-form {
  display: flex;
  flex-direction: column;
  column-gap: 10px;
  row-gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  padding: 30px 0px;
}

.ae-search-form-container-1 {
  display: flex;
  flex-direction: row;
  column-gap: 10px;
  row-gap: 10px;
  flex-wrap: nowrap;
  justify-content: space-between;
  width: -webkit-fill-available;
}

.ae-search-form-container-2 {
  display: flex;
  flex-direction: row;
  column-gap: 10px;
  row-gap: 10px;
  flex-wrap: nowrap;
  justify-content: space-between;
  width: -webkit-fill-available;
}

.field-search-container {
  position: relative;
  display: flex;
}

form#alterestate-search-form input[class^="field-"] {
  border-color: #dce0e0;
  border-radius: 4px;
  font-size: 16px;
  color: #222;
  height: 42px;
  border: 1px solid #dce0e0;
  padding: 8px 16px;
}

form#alterestate-search-form select[class^="field-"] {
  border-color: #dce0e0;
  border-radius: 4px;
  font-size: 16px;
  color: #222;
  height: 42px;
  border: 1px solid #dce0e0;
  padding: 8px 16px;
}

.button-group {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-bottom: 10px;
  color: #333;
}

.button-group button {
  padding: 5px 10px;
  border: 1px solid #dce0e0;
  background: #fff;
  cursor: pointer;
  color: #777;
  height: 42px;
  border-radius: 3px;
}

input.field-search {
  padding-left: 40px;
  width: -webkit-fill-available;
}

button.btn-search {
  border: none;
  background: #0c4f84;
  color: #fff;
  width: 175px;
  height: 40px;
  border-radius: 3px;
}

button.btn-room:hover,
button.btn-bedroom:hover,
button.btn-bathroom:hover {
  background: #00b9ce;
  border-color: #00b9ce;
}

button.btn-search:hover {
  background: #00b9ce;
}

select.field-category option[disabled] {
  color: #ccc;
}

.button-group button.active,
[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {
  background: #0073aa;
  color: white;
}

::placeholder {
  color: #999999;
}

i.fa-solid.fa-magnifying-glass {
  position: absolute;
  left: 10px;
  top: 14px;
  color: rgb(161 167 168);
}

#ae_loading_properties {
  font-size: 18px;
  text-align: center;
  padding: 20px;
  color: #333;
}

/* Advanced Spinner Animation */
#ae_loading_properties::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
