/* The default Jivo label is replaced by the branded site button. */
#jivo_chat_widget {
	display: none;
}

#jivo_custom_widget {
	display: none !important;
}

/* Current Jivo versions render both the label and chat inside this iframe.
 * Hide the container only while it is minimized; JS restores it for chat. */
#jivo-iframe-container.jivo-native-label-hidden {
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

.jivo-custom-button {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 9990;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 10px;
	border: 0;
	border-radius: 999px;
	background: #f8f8f8;
	color: #3e3e3e;
	/* border: 1px solid #730bc2; */
	/* box-shadow: 0 12px 30px rgba(62, 62, 62, 0.22); */
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: all 0.3s ease;
}
.jivo-custom-button__icon{
	width: 40px;
	height: 40px;
	aspect-ratio: 1/1;
}
.jivo-custom-button__icon path {
    fill: #3e3e3e;
}

.jivo-custom-button:hover {
	background: #bcb4ff;
	transition: all 0.3s ease;
}
.jivo-custom-button:hover .jivo-custom-button__icon path {
    fill: #fff;
	transition: all 0.3s ease;
}

.jivo-custom-button:focus-visible {
	outline: 3px solid #bcb4ff;
	outline-offset: 3px;
}

.jivo-custom-button.is-suppressed,
.jivo-custom-button.is-chat-open {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(12px);
}

.jivo-custom-button__counter {
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 11px;
	background: #e9fc88;
	color: #3e3e3e;
	font-size: 12px;
	line-height: 22px;
	text-align: center;
}

@media (max-width: 480px) {
	.jivo-custom-button {
		right: 16px;
		bottom: 16px;
		width: 58px;
		min-height: 58px;
		padding: 0;
	}

	.jivo-custom-button__text {
		display: none;
	}

	.jivo-custom-button__counter {
		position: absolute;
		top: -5px;
		right: -5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jivo-custom-button {
		transition: none;
	}
}
