/*! © 2026 DC Company (dc-agency.nl). Alle rechten voorbehouden. Kopiëren of hergebruiken zonder toestemming is niet toegestaan. */
/* Kennisbots testen (chatbot.html) */
.kb-lijst { display: flex; flex-direction: column; gap: 28px; }
.kb-blok { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: start;
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.kb-blok h3 { margin: 4px 0 8px; }
.kb-soort { display: inline-block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-wash); padding: 3px 10px; border-radius: 999px; }
.kb-blok ul { margin: 10px 0 12px; padding-left: 20px; }
.kb-blok li { margin: 4px 0; }
.kb-bronnen { font-size: .88rem; color: var(--muted); margin: 0; }
.kb-bronnen a { color: var(--accent); }
.kb-chat { display: flex; flex-direction: column; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; overflow: hidden; min-height: 360px; }
.kb-kop { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; background: var(--accent); color: #fff; font-weight: 600; font-size: .95rem; }
.kb-kop span { font-weight: 400; font-size: .8rem; opacity: .85; }
.kb-log { flex: 1; height: 300px; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #fafaf8; }
.kb-m { max-width: 92%; padding: 10px 13px; border-radius: 12px; font-size: .93rem; line-height: 1.5; word-wrap: break-word; }
.kb-m p { margin: 0 0 6px; white-space: pre-wrap; }
.kb-m p:last-of-type { margin-bottom: 0; }
.kb-m strong { display: block; margin-bottom: 4px; }
.kb-jij { align-self: flex-end; background: var(--accent); color: #fff; }
.kb-bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); }
.kb-bron { display: block; margin-top: 6px; font-size: .8rem; color: var(--accent); }
.kb-wacht { color: var(--muted); animation: kb-knipper 1s infinite; }
@keyframes kb-knipper { 50% { opacity: .35; } }
.kb-voorbeelden { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 0; border-top: 1px solid var(--line); }
.kb-voorbeelden button { border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink-soft); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .82rem; cursor: pointer; text-align: left; }
.kb-voorbeelden button:hover { border-color: var(--accent); color: var(--accent); }
.kb-chat form { display: flex; gap: 8px; padding: 10px 12px 12px; }
.kb-chat input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; }
.kb-chat form button { flex: none; }
.kb-noot { font-size: .85rem; color: var(--muted); margin-top: 18px; }
@media (max-width: 860px) {
  .kb-blok { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 16px; }
  .kb-log { height: 260px; }
}

/* Losse kennisbots (17-10-2026): tester met keuzelijst en de bots per groep */
.kb-kieslabel { display: grid; gap: 8px; margin: 10px 0 14px; font-weight: 600; }
.kb-kieslabel select { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line, #d9d6cf); border-radius: 8px; background: #fff; max-width: 100%; }
.kb-groepen { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.kb-groep { border: 1px solid var(--line, #e3e0d8); border-radius: 10px; padding: 14px 16px; background: #fffefb; }
.kb-groep h3 { margin: 0 0 8px; font-size: 1rem; }
.kb-groep ul { list-style: none; margin: 0; padding: 0; }
.kb-groep li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line, #eeebe4); font-size: .92rem; }
.kb-groep li:first-child { border-top: 0; }
.kb-testknop { flex: none; font: inherit; font-size: .82rem; padding: 4px 10px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: var(--accent, #1d5c4a); cursor: pointer; }
.kb-testknop:hover { background: var(--accent, #1d5c4a); color: #fff; }

/* Hulp bij plaatsen (23-10-2026) */
.cb-support{background:#eef6f2;border-radius:10px;padding:10px 14px;font-weight:600;color:#1d5c4a;margin:0 0 16px}

/* versie 4 (30-10-2026): lange botnamen in de keuzelijst duwen de pagina op mobiel niet meer breed. */
.kb-blok select { width: 100%; max-width: 100%; min-width: 0; }
.kb-blok > div { min-width: 0; }
