/* AnsBot basic styles - feel free to customize in theme or override via additional CSS */
#ansbot-button { position: fixed; right: 20px; bottom: 20px; background:#000; color:#fff; padding:12px 16px; border-radius:28px; cursor:pointer; z-index:99999; font-weight:700; box-shadow:0 8px 18px rgba(43,101,236,0.25); }
#ansbot-popup.ansbot-hidden { display:none; }
#ansbot-popup { position: fixed; right: 20px; bottom: 80px; width:320px; max-width:90vw; background:#fff; border:1px solid #ddd; box-shadow:0 10px 30px rgba(0,0,0,0.1); z-index:99999; border-radius:8px; overflow:hidden; font-family:Arial, sans-serif; }
.ansbot-popup-inner { display:flex; flex-direction:column; }
.ansbot-header { padding:10px; display:flex; justify-content:space-between; align-items:center; background:#e86926; }
.ansbot-title { font-weight:700; color:#fff; }
.ansbot-body { padding:10px; max-height:320px; overflow:auto; }
.ansbot-footer { padding:10px; background:#fafafa; font-size:13px; border-top:1px solid #eee; text-align:center; }
.ansbot-question { padding:12px; background:#fff5f1; margin-bottom:6px; cursor:pointer; border-radius:6px; color:#000; font-weight:500; }
.ansbot-target { padding:8px; }
.ansbot-tag, .ansbot-cat { display:inline-block; margin:4px 6px 4px 0; padding:6px 8px; background:#eef; border-radius:6px; text-decoration:none; color:#0645ad; }
.ansbot-search-input { width:100%; padding:8px; margin-bottom:8px; box-sizing:border-box; border:1px solid #ddd; border-radius:4px; }
.ansbot-search-results a { display:block; padding:6px 8px; border-bottom:1px solid #eee; text-decoration:none; color:#222; }
.ansbot-no-tags, .ansbot-no-cats, .ansbot-no-results { color:#666; font-size:13px; padding:6px 4px; }
.ansbot-close { background:transparent; border:0; font-size:18px; cursor:pointer; }
/* Ensure ansbot-hidden actually hides elements */
.ansbot-hidden { display: none !important; }

/* (optional stricter rule for target containers) */
.ansbot-target.ansbot-hidden { display: none !important; }
