.al-search-dropdown{position:absolute;z-index:1200;width:100%;max-height:320px;overflow:auto;background:#fff;border:1px solid rgba(0,0,0,0.08);box-shadow:0 6px 20px rgba(8,30,40,0.06);border-radius:10px;padding:8px}
.al-search-item{padding:10px;border-radius:8px;cursor:pointer;transition:background .12s;display:flex;flex-direction:column;gap:4px}
.al-search-item:hover{background:rgba(0,0,0,0.03)}
.al-search-item .title{font-weight:600;font-size:14px}
.al-search-item .snippet{font-size:13px;color:#4b5563;line-height:1.3}
#aloha-search-empty{padding:12px;color:#64748b;font-size:13px}
.al-temp-form{position:absolute;z-index:1250;width:100%;background:#fff;border:1px solid rgba(0,0,0,0.08);box-shadow:0 8px 28px rgba(8,30,40,0.08);border-radius:12px;padding:12px;margin-top:8px}
.al-temp-form .heading{font-weight:700;margin-bottom:8px}
.al-temp-form .meta{font-size:13px;color:#6b7280;margin-bottom:8px}
.al-temp-form .actions{display:flex;gap:8px;margin-top:12px}
.al-temp-form button{padding:8px 12px;border-radius:8px;border:0;cursor:pointer}
.al-temp-form .btn-insert{background:#10b981;color:white}
.al-temp-form .btn-close{background:#f3f4f6;color:#111827}

/* chatBox scrollbar styles */
#chatBox { overflow: auto; -webkit-overflow-scrolling: touch; }
#chatBox::-webkit-scrollbar { width: 10px; }
#chatBox::-webkit-scrollbar-track { background: transparent; }
#chatBox::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 8px; }

/* ensure dropdown attaches to viewport */
#__aloha_search_dropdown {
  position: fixed !important;
  z-index: 2147483647 !important;
  max-height: 70vh !important;
  overflow-y: auto !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18) !important;
  border-radius: 10px !important;
  display: none !important;
  background: #fff !important;
}
#__aloha_search_dropdown .al-search-item { background: #fff; }

