/* AI search-in-box (code intent) */
.ft-sai-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}
.ft-sai-drop {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 80;
  background: #fff;
  border: 1px solid #d7e6ec;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(15, 39, 68, 0.12);
  padding: 10px 12px 12px;
  max-height: min(70vh, 420px);
  overflow: auto;
}
.ft-sai-loading,
.ft-sai-msg {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 650;
  color: #64748b;
}
.ft-sai-intent {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f2744;
  margin-bottom: 8px;
}
.ft-sai-intent em {
  font-style: normal;
  color: #0e7490;
  background: #ecfeff;
  padding: 2px 8px;
  border-radius: 999px;
  margin-right: 4px;
}
.ft-sai-label {
  margin: 10px 0 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}
.ft-sai-item {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  margin-bottom: 4px;
}
.ft-sai-item:hover {
  background: #f0f9ff;
  border-color: #bae6fd;
}
.ft-sai-item strong {
  display: block;
  font-size: 0.95rem;
  color: #0f2744;
}
.ft-sai-cat {
  display: inline-block;
  margin-top: 3px;
  font-size: 0.75rem;
  font-weight: 750;
  color: #0e7490;
}
.ft-sai-addr {
  display: block;
  margin-top: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
}
.ft-sai-all {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 750;
  color: #0f2744;
  text-decoration: none;
}
.ft-sai-all:hover { text-decoration: underline; }

/* Form riêng (nếu còn dùng mount) */
.ft-assist {
  margin: 14px 0 18px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #d7e6ec;
  border-radius: 14px;
}
.ft-assist-head {
  font-size: 0.95rem;
  color: #0f2744;
  margin-bottom: 10px;
}
.ft-assist-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ft-assist-q {
  flex: 1 1 220px;
  min-width: 0;
  border: 1px solid #c5d7e0;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 600;
  color: #0f2744;
  background: #f8fbfc;
}
.ft-assist-go {
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 750;
  color: #fff;
  background: #0e7490;
  cursor: pointer;
}
.ft-assist-go:hover { background: #0f766e; }

/* Homepage search-box: dropdown căn theo ô */
.search-box {
  overflow: visible;
}
.search-box > .ft-sai-wrap {
  position: relative;
  display: block;
  width: 100%;
}
.dir-filters .ft-sai-wrap {
  flex: 1 1 auto;
  min-width: 0;
}
.dir-filters .dir-search-combo .ft-sai-wrap {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}
