/* Helpdesk AI overview — expand/collapse + typing (works with theme .ai-box styles). */

.identix-hdas-overview .ai-header.identix-hdas-toggle {
	cursor: pointer;
	user-select: none;
}

.identix-hdas-overview .identix-hdas-content[hidden] {
	display: none !important;
}

.identix-hdas-overview.active .identix-hdas-content {
	display: block !important;
}

.identix-hdas-overview.is-loading .identix-hdas-content {
	display: block !important;
}

.identix-hdas-loading-dots {
	display: inline-block;
	min-width: 1.25em;
	animation: identix-hdas-pulse 1s ease-in-out infinite;
}

@keyframes identix-hdas-pulse {
	0%,
	100% {
		opacity: 0.35;
	}
	50% {
		opacity: 1;
	}
}

.identix-hdas-typed-text {
	display: inline;
}

.identix-hdas-typing-cursor {
	display: inline-block;
	width: 2px;
	height: 1em;
	margin-left: 1px;
	vertical-align: text-bottom;
	background: currentColor;
	animation: identix-hdas-blink 0.9s step-end infinite;
}

@keyframes identix-hdas-blink {
	50% {
		opacity: 0;
	}
}

.identix-hdas-overview.is-typing .identix-hdas-content {
	min-height: 3em;
}

.identix-hdas-typed-source {
	display: none !important;
}
