/* Proplo suburb search — shared autocomplete widget.
   Works on dark (hero) and light (nav) surfaces via the .ps-dark / .ps-light
   modifiers on the root .ps-search element. */

.ps-search { position: relative; width: 100%; max-width: 560px; font-family: 'Outfit', system-ui, sans-serif; }

.ps-field {
  display: flex; align-items: center; gap: 10px;
  border-radius: 14px; padding: 4px 4px 4px 18px;
  transition: border-color .15s, box-shadow .15s;
}
.ps-dark .ps-field { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.ps-dark .ps-field:focus-within { border-color: rgba(0,212,170,.55); box-shadow: 0 0 0 4px rgba(0,212,170,.12); }
.ps-light .ps-field { background: #F8FAFB; border: 1px solid #E2E8F0; padding: 2px 2px 2px 14px; border-radius: 11px; }
.ps-light .ps-field:focus-within { border-color: #00B894; box-shadow: 0 0 0 3px rgba(0,212,170,.12); }

.ps-ico { flex: none; opacity: .5; }
.ps-dark .ps-ico { color: #fff; }
.ps-light .ps-ico { color: #64748B; }

.ps-input {
  flex: 1; border: 0; background: transparent; outline: none;
  font-size: 16px; font-weight: 300; padding: 14px 0;
}
.ps-dark .ps-input { color: #fff; }
.ps-dark .ps-input::placeholder { color: rgba(255,255,255,.4); }
.ps-light .ps-input { color: #0B1D3A; font-size: 14px; padding: 9px 0; }
.ps-light .ps-input::placeholder { color: #94A3B8; }

.ps-btn {
  flex: none; border: 0; cursor: pointer; font-family: inherit;
  background: #00D4AA; color: #0B1D3A; font-weight: 600;
  border-radius: 11px; padding: 12px 22px; font-size: 14px;
}
.ps-light .ps-btn { padding: 8px 16px; border-radius: 9px; font-size: 13px; }
.ps-btn:hover { background: #00B894; }

.ps-panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 1000;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 14px;
  box-shadow: 0 18px 50px rgba(11,29,58,.18); overflow: hidden; display: none;
  max-height: 380px; overflow-y: auto;
}
.ps-panel.open { display: block; }

.ps-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; text-align: left; border: 0; background: transparent; cursor: pointer;
  padding: 13px 18px; border-bottom: 1px solid #F1F5F9; font-family: inherit;
}
.ps-item:last-child { border-bottom: 0; }
.ps-item:hover, .ps-item.active { background: #F8FAFB; }
.ps-name { font-size: 14px; font-weight: 500; color: #0B1D3A; }
.ps-name b { color: #00B894; font-weight: 600; }
.ps-meta { font-size: 11px; color: #94A3B8; margin-top: 2px; }
.ps-price { font-family: 'Newsreader', serif; font-size: 15px; color: #0B1D3A; white-space: nowrap; }
.ps-price span { font-size: 10px; color: #94A3B8; display: block; text-align: right; }

.ps-empty { padding: 18px; font-size: 13px; color: #64748B; text-align: center; }
