/* Smart search box, shared by index.php and property-listing.php: glow while typing, typing suggestions, voice button. */
/* Soft, slowly shifting glow around the search box while typing */
.hx-search-input { border-radius: 14px; }
.hx-search-input:focus-within { animation: hxAura 3.5s ease-in-out infinite alternate; }
@keyframes hxAura {
    from { box-shadow: 0 0 0 1px rgba(18,51,63,.18), 0 6px 22px rgba(212,120,60,.14); }
    to { box-shadow: 0 0 0 1px rgba(212,120,60,.30), 0 8px 32px rgba(44,110,127,.22); }
}
/* Typing suggestions */
.ac-list { border-radius: 12px; overflow: hidden; }
.ac-item { gap: 10px; padding: 10px 14px; }
.ac-item b { color: #12333f; }
.ac-main { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ac-main i { color: #d4783c; width: 14px; text-align: center; }
.ac-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-count { font-size: 12px; color: #6b7a80; white-space: nowrap; }
.ac-head { padding: 8px 14px 4px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #8a969a; }
.hx-search-input { position: relative; }
.hx-search-input input { padding-right: 64px; }
.hx-mic { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(0,0,0,.12); border-radius: 50%; background: transparent; color: #12333f; cursor: pointer; font-size: 16px; line-height: 1; }
.hx-mic:hover { background: rgba(0,0,0,.05); }
.hx-mic i { position: static; transform: none; left: auto; top: auto; color: inherit; } /* undo the search-icon rule in custome-style.css */
.hx-mic.is-listening { background: #c92a2a; border-color: #c92a2a; color: #fff; animation: hxPulse 1.2s ease-out infinite; }
.hx-mic:disabled { opacity: .5; cursor: wait; }
@keyframes hxPulse { 0% { box-shadow: 0 0 0 0 rgba(201,42,42,.45); } 100% { box-shadow: 0 0 0 12px rgba(201,42,42,0); } }
.hx-mic[hidden] { display: none; }
