/* ===== Typewriter Animation Block ===== */
.wp-block-awgt-typewriter {
	line-height: 1.4;
	margin: 0.5em 0;
}

.awgt-tw-prefix {
	color: var( --awgt-tw-prefix-color, #1e1e1e );
}

.awgt-tw-text {
	color: var( --awgt-tw-text-color, #3858E9 );
}

.awgt-tw-cursor {
	display: inline-block;
	color: var( --awgt-tw-cursor-color, #3858E9 );
	margin-left: 2px;
	font-weight: 400;
}

/* === Blinking Cursor === */
.awgt-tw-cursor-blink .awgt-tw-cursor {
	animation: awgt-tw-blink 1s step-end infinite;
}

@keyframes awgt-tw-blink {
	0%, 50% { opacity: 1; }
	51%, 100% { opacity: 0; }
}

/* === Solid Cursor === */
.awgt-tw-cursor-solid .awgt-tw-cursor {
	opacity: 1;
}

/* === Smooth Pulse === */
.awgt-tw-cursor-pulse .awgt-tw-cursor {
	animation: awgt-tw-pulse 1s ease-in-out infinite;
}

@keyframes awgt-tw-pulse {
	0%, 100% { opacity: 1; transform: scaleY( 1 ); }
	50% { opacity: 0.4; transform: scaleY( 0.85 ); }
}

/* === No Cursor === */
.awgt-tw-cursor-none .awgt-tw-cursor {
	display: none;
}

/* === Editor Preview === */
.awgt-tw-editor-preview .awgt-tw-text::after {
	content: '';
	display: inline-block;
	width: 0;
}