#askhub-container {
	/* container zelf hoeft meestal geen extra styling, alleen als gewenst */
}
#askhub-container .askhub-widget {
	background: #f8f9fa;
	border-radius: 12px;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
	margin: 0 auto;
	font-family: system-ui, Arial, sans-serif;
	border: 1px solid #ccc;
}
#askhub-vraag {
	flex: 1 1 0%;
	padding: 0.55rem 0.95rem;
	font-size: 1.25em;
	border: 1px solid #ced4da;
	border-radius: 7px 0 0 7px;
	background: #fff;
	transition: border-color 0.2s;
	outline: none;
}
#askhub-vraag:focus {
	border-color: #3066d1;
}
#askhub-submit {
	display: inline-block;
	padding: 0 22px;
	font-size: 1em;
	line-height: 1.7;
	background: #3066d1;
	color: #fff;
	border: none;
	border-radius: 0 7px 7px 0;
	cursor: pointer;
	transition: background 0.15s;
	background-color: var(--appBlue);
}
#askhub-reset {
	border-right: 2px dotted var(--appLightblue);
}
#askhub-submit:hover, #askhub-submit:focus {
	/*background: #225ab8;
	background: #3a6494;*/
	background-color: var(--appDarkblue);
}
#askhub-antwoord {
	min-height: 30px;
	line-height: 1.54;
	font-size: 1.04em;
	margin-top:1em;
}
#askhub-bronnen {
	margin-top: 1em;
	font-size: 1em;
	padding: 18px 18px 18px 18px;
}
.askhub-chat-sources {
	margin-top:1em; 
	font-size:0.75em;
	font-style:italic;
}
#askhub-stats-container{
	margin-top:1em; 
	font-size:0.75em;
	font-style:italic;
	padding: 12px 18px 12px 18px;
	background-color: #6c6c6c;
	color: #fff !important;
	border-radius: 0px 0px 12px 12px;	
	display: flex;
	justify-content: space-between;
	align-items: center;
	white-space: nowrap;
}
#askhub-stats-container .left {
	text-align: left;
}
#askhub-stats-container .right {
	text-align: right;
}
#askhub-chat-stats{
	margin-top:1em; 
	font-size:0.75em;
	font-style:italic;
}
/* Buttons */
.askhub-btn {
	padding: 6px 14px;
	font-size: 0.9rem;
	border-radius: 5px;
	cursor: pointer;
	border: 1px solid transparent;
}
.askhub-btn-primary {
	background: var(--appBlue);
	color: var(--appLight);
}
.askhub-btn-primary:hover {
	background: var(--appDarkblue);
}
.askhub-btn-success {
	background: var(--appGreen);
	color: var(--appLight);
}
.askhub-btn-success:hover {
	background: var(--appGReen);
}
.askhub-btn-secondary {
	background: var(--appLight);
	color: var(--appDarkGrey);
	border-color: #ccc;
}
.askhub-btn-secondary:hover {
	background: #e2e2e2;
}
.btn-askhub-example {
  /* Sizing & Font (btn & btn-sm) */
  display: inline-block;
  padding: 0.25rem 0.5rem;      /* btn-sm */
  font-size: 0.875rem;          /* btn-sm */
  font-weight: 400;
  line-height: 1.5;
  border-radius: 0.25rem;       /* btn-sm */
  font-family: inherit;

  /* Success colors (btn-success) */
  color: var(--appDarkblue);
  background-color: #b7d7f0;
  border: 1px solid #3275a8;

  /* Misc (btn) */
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  transition: color 0.15s, background-color 0.15s, border-color 0.15s, box-shadow 0.15s;

  /* Extra margin from your example */
  margin: 0 6px 8px 0;
  box-sizing: border-box;
}
/* Hover/focus states */
.btn-askhub-example:hover,
.btn-askhub-example:focus {
  color: #fff;
  background-color: #87b4d6;
  border-color: #3275a8;
  outline: none;
  text-decoration: none;
}
/* Active state */
.btn-askhub-example:active {
  color: #fff;
  background-color: #146c43;
  border-color: #13653f;
  box-shadow: inset 0 3px 5px rgba(0,0,0,0.125);
}
/* Disabled state */
.btn-askhub-example:disabled,
.btn-askhub-example[disabled] {
  color: #fff;
  background-color: #198754;
  border-color: #198754;
  opacity: 0.65;
  pointer-events: none;
}
/* Ensure pointer cursor only if not disabled */
.btn-askhub-example:not(:disabled) {
  cursor: pointer;
}
.ai-loading {
	width: 10px;
	height: 10px;
	background-color: black;
	border-radius: 50%;
	animation: pulse 1.5s infinite ease-in-out;
}
#ai-status-text {
	line-height: 20px;
	font-size: 0.75em;
	margin-left: 10px;
}
/* BRONNEN EN REFERENTIES */
.ashk-h3, .askhub-h3 {
	font-size: 1.13em;
	font-weight: 600;
	margin: 0 0 0.5em 0;
	color: #334466;
}
.ashk-source-list, .askhub-source-list,
.ashk-ref-list, .askhub-ref-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.ashk-source-item, .askhub-source-item,
.ashk-ref-item, .askhub-ref-item {
	margin-bottom: 0.25em;
	font-size: 0.99em;
	color: #233;
	line-height: 1.5;
}
.ashk-source-item a, .askhub-source-item a,
.ashk-ref-item a, .askhub-ref-item a {
	color: #3066d1;
	text-decoration: none;
	transition: color 0.18s;
}
.ashk-source-item a:hover, .askhub-source-item a:hover,
.ashk-ref-item a:hover, .askhub-ref-item a:hover {
	color: #234080;
	text-decoration: underline;
}
.ashk-source-score, .askhub-source-score {
	color: #6a7893;
	font-size: 0.96em;
	margin-left: 0.4em;
}
.askhub-tooltip {
	position: absolute;
	z-index: 10000;
	background: #222;
	color: #fff;
	font-size: 12px;
	line-height: 1.4;
	padding: 6px 10px;
	border-radius: 4px;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.15s ease, transform 0.15s ease;
}
.askhub-tooltip.visible {
	opacity: 1;
	transform: translateY(0);
}
.askhub-tooltip::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%);
	border-width: 5px 5px 0 5px;
	border-style: solid;
	border-color: #222 transparent transparent transparent;
}