/* MyMuse Chat Bubble */
.mmcb-bubble {
	--mmcb-bg: #ffffff;
	--mmcb-color: #1f2b2d;
	--mmcb-size: 16px;
	--mmcb-tail-y: 50%;
	position: fixed;
	left: -9999px;
	top: 0;
	z-index: 2147483644;
	box-sizing: border-box;
	width: max-content;
	max-width: 340px;
	padding: 14px 20px 14px 38px;
	background: var(--mmcb-bg);
	color: var(--mmcb-color);
	border-radius: 18px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .16), 0 1px 3px rgba(0, 0, 0, .08);
	font-family: inherit;
	font-size: var(--mmcb-size);
	line-height: 1.4;
	text-align: right;
	direction: rtl;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px) scale(.96);
	transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}

.mmcb-bubble.mmcb--visible {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .25s ease, transform .25s ease, visibility 0s;
}

.mmcb-bubble:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.mmcb-line {
	display: block;
}

.mmcb-line--first {
	font-weight: 700;
}

/* זנב שמצביע אל כפתור הצ'אט */
.mmcb-tail {
	position: absolute;
	top: var(--mmcb-tail-y);
	width: 14px;
	height: 14px;
	margin-top: -7px;
	background: var(--mmcb-bg);
	transform: rotate(45deg);
	box-shadow: 3px -3px 6px rgba(0, 0, 0, .05);
}

.mmcb--right .mmcb-tail {
	right: -6px;
}

.mmcb--left .mmcb-tail {
	left: -6px;
	box-shadow: -3px 3px 6px rgba(0, 0, 0, .05);
}

/* כפתור הסגירה בפינה הרחוקה מהזנב */
.mmcb-close {
	position: absolute;
	top: 6px;
	left: 8px;
	width: 24px;
	height: 24px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	opacity: .55;
	font: 400 20px/24px Arial, sans-serif;
	text-align: center;
	cursor: pointer;
	box-shadow: none;
	min-height: 0;
}

.mmcb-close:hover,
.mmcb-close:focus-visible {
	opacity: 1;
	background: rgba(0, 0, 0, .06);
	color: inherit;
}

.mmcb--left {
	padding: 14px 38px 14px 20px;
}

.mmcb--left .mmcb-close {
	left: auto;
	right: 8px;
}

@media (max-width: 767px) {
	.mmcb-bubble {
		padding: 11px 16px 11px 34px;
		border-radius: 16px;
		font-size: calc(var(--mmcb-size) - 1px);
	}
	.mmcb--left {
		padding: 11px 34px 11px 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mmcb-bubble,
	.mmcb-bubble.mmcb--visible {
		transition: none;
		transform: none;
	}
}
