.txmcb-contact-buttons {
	--txmcb-size: 58px;
	--txmcb-icon-scale: 52%;
	--txmcb-gap: 12px;
	--txmcb-bottom: 24px;
	--txmcb-side: 20px;
	--txmcb-whatsapp: #1f9d55;
	--txmcb-call: #2563eb;
	--txmcb-sms: #7c3aed;
	--txmcb-email: #ea580c;
	--txmcb-telegram: #229ed9;
	--txmcb-messenger: #0a7cff;
	--txmcb-custom: #db2777;
	--txmcb-launcher: #111827;
	--txmcb-icon: #ffffff;
	--txmcb-label-bg: #ffffff;
	--txmcb-label-text: #1f2937;
	--txmcb-panel-bg: #ffffff;
	--txmcb-panel-text: #1f2937;
	--txmcb-border: #ffffff;
	--txmcb-border-width: 0px;
	--txmcb-label-size: 14px;
	--txmcb-panel-width: 220px;
	--txmcb-opacity: 1;
	box-sizing: border-box;
	display: flex;
	gap: var(--txmcb-gap);
	z-index: 99999;
}

.txmcb-contact-buttons *,
.txmcb-contact-buttons *::before,
.txmcb-contact-buttons *::after {
	box-sizing: border-box;
}

.txmcb-floating {
	bottom: calc(var(--txmcb-bottom) + env(safe-area-inset-bottom, 0px));
	position: fixed;
}

.txmcb-position-right.txmcb-floating {
	right: calc(var(--txmcb-side) + env(safe-area-inset-right, 0px));
}

.txmcb-position-left.txmcb-floating {
	left: calc(var(--txmcb-side) + env(safe-area-inset-left, 0px));
}

.txmcb-inline {
	margin-block: 1rem;
	max-width: 100%;
	position: relative;
	width: fit-content;
}

.txmcb-layout-vertical {
	flex-direction: column;
}

.txmcb-layout-horizontal {
	flex-direction: row;
	flex-wrap: wrap;
}

.txmcb-button,
.txmcb-launcher-button {
	align-items: center;
	border: 0;
	color: var(--txmcb-icon);
	cursor: pointer;
	font: inherit;
	gap: 8px;
	line-height: 1;
	text-decoration: none;
	transition: filter 160ms ease, transform 160ms ease;
}

.txmcb-button {
	display: inline-flex;
}

.txmcb-button:hover,
.txmcb-button:focus-visible,
.txmcb-launcher-button:hover,
.txmcb-launcher-button:focus-visible {
	color: var(--txmcb-icon);
	text-decoration: none;
}

.txmcb-hover-lift .txmcb-button:hover,
.txmcb-hover-lift .txmcb-button:focus-visible,
.txmcb-hover-lift .txmcb-launcher-button:hover,
.txmcb-hover-lift .txmcb-launcher-button:focus-visible {
	filter: brightness(1.06);
	transform: translateY(-3px);
}

.txmcb-hover-zoom .txmcb-button:hover,
.txmcb-hover-zoom .txmcb-button:focus-visible,
.txmcb-hover-zoom .txmcb-launcher-button:hover,
.txmcb-hover-zoom .txmcb-launcher-button:focus-visible {
	transform: scale(1.06);
}

.txmcb-hover-brighten .txmcb-button:hover,
.txmcb-hover-brighten .txmcb-button:focus-visible,
.txmcb-hover-brighten .txmcb-launcher-button:hover,
.txmcb-hover-brighten .txmcb-launcher-button:focus-visible {
	filter: brightness(1.14);
}

.txmcb-button:focus-visible,
.txmcb-launcher-button:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.txmcb-icon {
	align-items: center;
	background: #111827;
	border: var(--txmcb-border-width) solid var(--txmcb-border);
	color: var(--txmcb-icon);
	display: inline-flex;
	flex: 0 0 var(--txmcb-size);
	height: var(--txmcb-size);
	justify-content: center;
	opacity: var(--txmcb-opacity);
	width: var(--txmcb-size);
}

.txmcb-shadow-none .txmcb-icon {
	box-shadow: none;
}

.txmcb-shadow-soft .txmcb-icon {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

.txmcb-shadow-medium .txmcb-icon {
	box-shadow: 0 7px 22px rgba(0, 0, 0, 0.22);
}

.txmcb-shadow-strong .txmcb-icon {
	box-shadow: 0 11px 30px rgba(0, 0, 0, 0.32);
}

.txmcb-shape-circle .txmcb-icon {
	border-radius: 999px;
}

.txmcb-shape-rounded .txmcb-icon {
	border-radius: calc(var(--txmcb-size) * 0.24);
}

.txmcb-whatsapp-button .txmcb-icon {
	background: var(--txmcb-whatsapp);
}

.txmcb-call-button .txmcb-icon {
	background: var(--txmcb-call);
}

.txmcb-sms-button .txmcb-icon {
	background: var(--txmcb-sms);
}

.txmcb-email-button .txmcb-icon {
	background: var(--txmcb-email);
}

.txmcb-telegram-button .txmcb-icon {
	background: var(--txmcb-telegram);
}

.txmcb-messenger-button .txmcb-icon {
	background: var(--txmcb-messenger);
}

.txmcb-custom-button .txmcb-icon {
	background: var(--txmcb-custom);
}

.txmcb-launcher-button .txmcb-icon {
	background: var(--txmcb-launcher);
}

.txmcb-icon svg {
	fill: none;
	height: var(--txmcb-icon-scale);
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: var(--txmcb-icon-scale);
}

.txmcb-button-label,
.txmcb-launcher-label {
	background: var(--txmcb-label-bg);
	border: 1px solid rgba(17, 24, 39, 0.12);
	border-radius: 8px;
	box-shadow: 0 5px 16px rgba(0, 0, 0, 0.16);
	color: var(--txmcb-label-text);
	font-size: var(--txmcb-label-size);
	font-weight: 600;
	line-height: 1.2;
	max-width: min(240px, 60vw);
	padding: 9px 12px;
	white-space: nowrap;
}

.txmcb-labels-hidden.txmcb-style-direct .txmcb-button-label,
.txmcb-labels-hover.txmcb-style-direct .txmcb-button-label {
	display: none;
}

.txmcb-labels-hover.txmcb-style-direct .txmcb-button:hover .txmcb-button-label,
.txmcb-labels-hover.txmcb-style-direct .txmcb-button:focus-visible .txmcb-button-label {
	display: inline-block;
}

.txmcb-position-left.txmcb-style-direct .txmcb-button {
	flex-direction: row-reverse;
}

.txmcb-style-launcher {
	align-items: flex-end;
	display: flex;
	flex-direction: column-reverse;
	gap: 10px;
}

.txmcb-style-launcher > summary {
	list-style: none;
}

.txmcb-style-launcher > summary::-webkit-details-marker {
	display: none;
}

.txmcb-launcher-button {
	display: inline-flex;
}

.txmcb-position-left.txmcb-style-launcher {
	align-items: flex-start;
}

.txmcb-position-left .txmcb-launcher-button {
	flex-direction: row-reverse;
}

.txmcb-labels-hidden .txmcb-launcher-label,
.txmcb-labels-hover .txmcb-launcher-label {
	display: none;
}

.txmcb-labels-hover .txmcb-launcher-button:hover .txmcb-launcher-label,
.txmcb-labels-hover .txmcb-launcher-button:focus-visible .txmcb-launcher-label,
.txmcb-style-launcher[open] .txmcb-launcher-label {
	display: inline-block;
}

.txmcb-launcher-panel {
	background: var(--txmcb-panel-bg);
	border: 1px solid rgba(17, 24, 39, 0.12);
	border-radius: 14px;
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
	color: var(--txmcb-panel-text);
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	max-width: min(var(--txmcb-panel-width), calc(100vw - 32px));
	min-width: min(var(--txmcb-panel-width), calc(100vw - 32px));
	padding: 10px;
}

.txmcb-launcher-intro {
	border-bottom: 1px solid rgba(17, 24, 39, 0.12);
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-bottom: 3px;
	padding: 5px 6px 11px;
}

.txmcb-launcher-heading {
	color: var(--txmcb-panel-text);
	font-size: 15px;
	line-height: 1.3;
}

.txmcb-launcher-description {
	color: var(--txmcb-panel-text);
	font-size: 12px;
	line-height: 1.45;
	opacity: 0.78;
}

.txmcb-status {
	align-items: center;
	display: inline-flex;
	font-size: 11px;
	font-weight: 700;
	gap: 6px;
	margin-top: 3px;
}

.txmcb-status::before {
	border-radius: 999px;
	content: "";
	height: 8px;
	width: 8px;
}

.txmcb-status-open::before {
	background: #16a34a;
}

.txmcb-status-closed::before {
	background: #dc2626;
}

.txmcb-inline.txmcb-style-launcher {
	align-items: flex-start;
	flex-direction: column;
}

.txmcb-launcher-option {
	border-radius: 10px;
	color: var(--txmcb-panel-text);
	padding: 6px;
	width: 100%;
}

.txmcb-launcher-option:hover,
.txmcb-launcher-option:focus-visible {
	background: rgba(127, 127, 127, 0.10);
	color: var(--txmcb-panel-text);
}

.txmcb-launcher-option .txmcb-icon {
	box-shadow: none;
	flex-basis: 40px;
	height: 40px;
	width: 40px;
}

.txmcb-launcher-option .txmcb-button-label {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--txmcb-panel-text);
	display: inline-block;
	flex: 1;
	max-width: none;
	padding: 8px;
	text-align: start;
}

.txmcb-trigger-pending {
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
}

.txmcb-trigger-ready {
	opacity: 1;
	transition: opacity 180ms ease;
	visibility: visible;
}

.txmcb-pulse.txmcb-style-direct .txmcb-icon,
.txmcb-pulse .txmcb-launcher-button .txmcb-icon {
	animation: txmcb-pulse 2.2s ease-in-out infinite;
}

.txmcb-bounce.txmcb-style-direct .txmcb-icon,
.txmcb-bounce .txmcb-launcher-button .txmcb-icon {
	animation: txmcb-bounce 2.5s ease-in-out infinite;
}

.txmcb-pulse .txmcb-launcher-option .txmcb-icon,
.txmcb-bounce .txmcb-launcher-option .txmcb-icon {
	animation: none;
}

@keyframes txmcb-pulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.045);
	}
}

@keyframes txmcb-bounce {
	0%, 72%, 100% {
		transform: translateY(0);
	}
	80% {
		transform: translateY(-7px);
	}
	90% {
		transform: translateY(-3px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.txmcb-button,
	.txmcb-launcher-button,
	.txmcb-trigger-ready {
		transition: none;
	}

	.txmcb-pulse .txmcb-icon,
	.txmcb-bounce .txmcb-icon {
		animation: none;
	}
}


.txmcb-launcher-button {
	position: relative;
}

.txmcb-launcher-badge {
	align-items: center;
	background: #ef4444;
	border: 2px solid #fff;
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 10px;
	font-weight: 800;
	height: 20px;
	justify-content: center;
	line-height: 1;
	min-width: 20px;
	padding: 0 4px;
	position: absolute;
	right: -4px;
	top: -5px;
}

.txmcb-position-left .txmcb-launcher-badge {
	left: -4px;
	right: auto;
}

.txmcb-agent-profile {
	align-items: center;
	display: flex;
	gap: 10px;
	margin-bottom: 5px;
}

.txmcb-agent-avatar {
	align-items: center;
	background: var(--txmcb-launcher);
	border-radius: 999px;
	color: var(--txmcb-icon);
	display: inline-flex;
	flex: 0 0 42px;
	height: 42px;
	justify-content: center;
	overflow: hidden;
	width: 42px;
}

.txmcb-agent-avatar img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.txmcb-agent-avatar svg {
	fill: none;
	height: 23px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 23px;
}

.txmcb-agent-copy {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.txmcb-agent-copy strong {
	color: var(--txmcb-panel-text);
	font-size: 14px;
	line-height: 1.3;
}

.txmcb-agent-copy small {
	color: var(--txmcb-panel-text);
	font-size: 11px;
	line-height: 1.4;
	opacity: .7;
}

.txmcb-style-card {
	display: block;
}

.txmcb-style-card .txmcb-contact-card {
	gap: 8px;
	padding: 12px;
}

.txmcb-style-card.txmcb-inline {
	width: min(var(--txmcb-panel-width), 100%);
}

.txmcb-style-card.txmcb-inline .txmcb-launcher-panel {
	max-width: 100%;
	min-width: 100%;
	width: 100%;
}

.txmcb-style-card.txmcb-floating .txmcb-launcher-panel {
	max-height: min(76vh, 620px);
	overflow: auto;
}

.txmcb-style-card .txmcb-launcher-option {
	display: flex;
}

@media (max-width: 480px) {
	.txmcb-style-card.txmcb-floating {
		left: 16px;
		right: 16px;
	}

	.txmcb-style-card.txmcb-floating .txmcb-launcher-panel {
		max-width: 100%;
		min-width: 0;
		width: 100%;
	}
}
