.navless-wrapper {
	padding-top:19px;
	display:flex;
    flex-wrap: wrap;
	gap:18px;
}

/* BASE CSS from Navless
	https://docs.navless.ai/sharing/embed-codes/embedding-navless/embedding-navless-chat
*/

.tg-chat-input {
	padding: 0;
	border-radius: var(--defaultRadius);
	background-color: #fff;
	border: 1px solid var(--outlineColorPlus1);
	max-width: 543px;
    width: 100%;
}
.tg-textarea-container {
	position: relative;
	width: 100%;
	display: flex;
}
.tg-textarea {
	font-family: var(--typographyMediumBodyFontFamily);
	color: var(--onBackgroundColor0);
	font-weight: var(--typographyMediumBodyFontWeight);
	background-color: #fff;
	border-radius: var(--defaultRadius);
	padding: 14px 104px 14px 14px;
	width: 100%;
	height: 47px!important;
	line-height: 19px;
	font-size: 17px;
	resize: none;
	border: none;
	outline: none;
	margin: 0px;
	vertical-align: baseline;
	box-sizing: border-box;
	scrollbar-width: none;
}
/* Modern & sufficient in 2026 */
.tg-textarea::placeholder,
input::placeholder {
	font-family: var(--typographyMediumBodyFontFamily);
	color: var(--outlineColorPlus1);
	font-weight: var(--typographyMediumBodyFontWeight);
	opacity: 1;
}
.tg-mic-btn, .tg-send-btn {
	transition: opacity 0.2s;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border-radius: 4px;
	border: none;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	padding: 0;
}
@keyframes pulse {
	0% {
		transform: scale(1);
		opacity: 1;
	}
	80% {
		opacity: 0.8;
	}
	100% {
		transform: scale(1.2);
		opacity: 0;
	}
}
.tg-mic-btn {
	right: 48px;
	background-color: transparent;
	color: #b2b2b2;
	&:hover {
		opacity: 0.8;
	}
	&:disabled {
		opacity: 0.5;
		cursor: not-allowed;
	}
	&.recording {
		background-color: #202020;
		color: #ffffff;
		&::after {
			content: "";
			position: absolute;
			width: 100%;
			height: 100%;
			border: 1px solid rgba(53, 118, 119, 0.85);
			border-radius: 50%;
			transform: translate(-50%, -50%) scale(1);
			animation: pulse 1.5s ease-out infinite;
			pointer-events: none;
		}
	}
}
.tg-mic-btn .mic-default {
	display: inline;
}
.tg-mic-btn .mic-recording {
	display: none;
}
.tg-mic-btn.recording .mic-default {
	display: none;
}
.tg-mic-btn.recording .mic-recording {
	display: inline;
}
.tg-send-btn {
	right: 5px;
	background-color: var(--tertiaryColor0);
	color: white;
	&:hover {
		opacity: 0.8;
	}
	&:disabled {
		background-color: #cccccc;
		cursor: not-allowed;
	}
}

@media(max-width:558px) {
	.wp-block-button.navless-trigger,
	.wp-block-button.navless-trigger .wp-block-button__link.wp-element-button,
	.navless-wrapper .tg-chat-input {
		width: 100%;
	}
	.tg-textarea::placeholder {
		transform: translateY(-10px);
	}
}