#serch-dt {
  width: auto;
  height: 23px;
  float: left;
  position: relative;
}
#serch-dt ul li {
  float: left;
  margin-left: 7px !important;
  margin-left: 5px;
  margin-top: 5px;
}
#ShowText {
  border: 1px solid #999999;
  background: #EEEEEE;
}

/* ---- Autocomplete dropdown (modern fetch + JSON edition) ---- */
#ShowTip {
  position: absolute;
  left: 2px;
  top: 27px;
  margin-left: 7px;
  margin-top: -2px;
  width: 360px;
  max-height: 400px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: 12px;
  color: #333;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  z-index: 1000;
}

#ShowTip .tip-row {
  padding: 6px 10px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  line-height: 1.4;
}
#ShowTip .tip-row:last-child { border-bottom: 0; }
#ShowTip .tip-row.tip-active,
#ShowTip .tip-row:hover      { background: #e8f4ec; }

#ShowTip .tip-name {
  font-weight: 600;
  color: #1a1a1a;
}
#ShowTip .tip-meta {
  margin-top: 2px;
  color: #888;
  font-size: 11px;
}
#ShowTip .tip-cas,
#ShowTip .tip-no,
#ShowTip .tip-purity {
  display: inline-block;
  margin-left: 8px;
  padding: 0 5px;
  border-radius: 2px;
}
#ShowTip .tip-cas    { background: #fff5e6; color: #b45a00; }
#ShowTip .tip-no     { background: #e6f0ff; color: #1f3a87; }
#ShowTip .tip-purity { background: #e8f5e9; color: #2e7d32; }

#ShowTip b {
  color: #00a000;
  font-weight: 600;
}

#ShowTip .tip-loading,
#ShowTip .tip-empty,
#ShowTip .tip-err {
  padding: 10px 12px;
  color: #888;
  text-align: center;
}
#ShowTip .tip-loading img { vertical-align: middle; margin-right: 6px; }
#ShowTip .tip-err         { color: #c00; }

h3 { color: #00D500; }
