/* THIKURA branded launcher and provider connection states. */
.thukura-chat-control {
	position: relative;
}

.thukura-chat-floating-trigger {
	align-items: center;
	background: var(--thukura-color-wine, #681a32);
	border: 1px solid rgba(183, 154, 98, .9);
	border-radius: 999px;
	box-shadow: 0 10px 28px rgba(36, 29, 32, .22);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	gap: .55rem;
	justify-content: center;
	min-height: 50px;
	min-width: 132px;
	padding: .7rem 1rem;
	position: relative;
	transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.thukura-chat-floating-trigger:hover {
	background: #4d1125;
	border-color: #d1b982;
	transform: translateY(-2px);
}

.thukura-chat-floating-trigger:focus-visible {
	outline: 2px solid var(--thukura-color-gold, #b79a62);
	outline-offset: 3px;
}

.thukura-chat-floating-label {
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .05em;
}

.thukura-chat-icon,
.thukura-chat-icon svg {
	height: 21px;
	width: 21px;
}

.thukura-chat-icon svg {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.45;
}

.thukura-chat-availability-dot {
	background: #8ed19e;
	border: 2px solid rgba(255, 255, 255, .85);
	border-radius: 50%;
	height: .55rem;
	position: absolute;
	right: .55rem;
	top: .45rem;
	width: .55rem;
}

.thukura-chat-availability-dot[hidden] {
	display: none;
}

.thukura-chat-floating-trigger.is-attention {
	animation: thukura-live-chat-attention 1.15s ease-in-out 2;
}

.thukura-chat-floating-trigger.is-attention::after {
	animation: thukura-live-chat-ripple 1.15s ease-out 2;
	border: 1px solid rgba(183, 154, 98, .7);
	border-radius: inherit;
	content: "";
	inset: -3px;
	pointer-events: none;
	position: absolute;
}

@keyframes thukura-live-chat-attention {
	0%, 100% {
		box-shadow: 0 10px 28px rgba(36, 29, 32, .22);
		transform: translateY(0);
	}
	45% {
		box-shadow: 0 14px 34px rgba(36, 29, 32, .30), 0 0 0 5px rgba(183, 154, 98, .10);
		transform: translateY(-4px);
	}
}

@keyframes thukura-live-chat-ripple {
	0% {
		opacity: 0;
		transform: scale(.98);
	}
	40% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		transform: scale(1.05);
	}
}

@media (max-width: 600px) {
	.thukura-chat-floating-trigger {
		min-height: 48px;
		min-width: 118px;
		padding: .65rem .8rem;
	}

	.thukura-chat-floating-label {
		font-size: .72rem;
	}

}

@media (prefers-reduced-motion: reduce) {
	.thukura-chat-floating-trigger {
		animation: none !important;
		transition: none;
	}

	.thukura-chat-floating-trigger.is-attention::after {
		animation: none !important;
	}

	.thukura-chat-floating-trigger:hover,
	.thukura-chat-floating-trigger:focus-visible {
		transform: none;
	}
}
