/**
 * Hospa floating support FAB + modal (هوسپا)
 */

:root {
	--hospa-brand: #00843d;
	--hospa-brand-dark: #006b32;
	--hospa-brand-light: #e6f3ec;
}

.hospa-support-fab .support-content_content__lexuO :is(ul, ol) {
	--li-mb: 0;
	list-style: none;
	padding: 0;
	margin: 0;
}

.hospa-support-fab.open circle.hospa-dot {
	fill: #00843d;
}

@keyframes hospaBtnPulse {
	0% {
		box-shadow: 0 0 0 0 rgba(0, 132, 61, 0.7);
	}
	70% {
		box-shadow: 0 0 0 15px rgba(0, 132, 61, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(0, 132, 61, 0);
	}
}

@keyframes hospaOnlinePulse {
	0% {
		box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
	}
	70% {
		box-shadow: 0 0 0 6px rgba(76, 175, 80, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
	}
}

@keyframes hospaTypingWave {
	0%,
	30%,
	100% {
		transform: translateY(0);
	}
	15% {
		transform: translateY(-2px);
	}
}

.hospa-support-fab {
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 99999;
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-end;
	gap: 15px;
	direction: rtl;
	pointer-events: none;
	font-family: inherit;
}

.hospa-support-fab--bottom-left {
	right: auto;
	left: 30px;
	align-items: flex-start;
}

.hospa-support-fab--bottom-left .hospa-modal-wrapper {
	right: auto;
	left: 0;
	transform-origin: bottom left;
}

.hospa-fab-main {
	width: 60px;
	height: 60px;
	background: var(--hospa-brand);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	animation: hospaBtnPulse 2s infinite;
	pointer-events: auto;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	border: none;
	padding: 0;
}

.hospa-fab-main svg {
	width: 30px;
	height: 30px;
	fill: #ffffff;
	transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hospa-fab-main svg .hospa-dot {
	fill: #ffffff;
	animation: hospaTypingWave 2s infinite ease-in-out;
}

.hospa-fab-main svg .hospa-dot1 {
	animation-delay: 0s;
}

.hospa-fab-main svg .hospa-dot2 {
	animation-delay: 0.1s;
}

.hospa-fab-main svg .hospa-dot3 {
	animation-delay: 0.2s;
}

.hospa-support-fab.open .hospa-fab-main {
	background: #ffffff;
	animation: none;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hospa-support-fab.open .hospa-fab-main svg {
	transform: rotate(45deg);
	fill: var(--hospa-brand);
}

.hospa-modal-wrapper {
	position: absolute;
	bottom: 75px;
	right: 0;
	width: 320px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px) scale(0.95);
	transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
	transform-origin: bottom right;
}

.hospa-support-fab.open .hospa-modal-wrapper {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

.support-modal_paper__aqP6H {
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
	border: 1px solid #f0f0f1;
}

.support-content_header__4LySm {
	background: var(--hospa-brand);
	color: #ffffff;
	padding: 10px 20px;
	text-align: right;
}

.support-content_header__4LySm span {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 700;
	color: #fff;
	display: block;
}

.support-content_header__4LySm p {
	margin: 5px 0 0;
	font-size: 0.8rem;
	opacity: 0.9;
}

.support-content_mainMenuListItem__aA8w1 {
	border-bottom: 1px solid #f2f2f2;
}

.support-content_mainMenuListItem__aA8w1:last-child {
	border-bottom: none;
}

.support-content_menuButton__lWH_v {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 10px 20px;
	background: transparent;
	border: none;
	text-decoration: none !important;
	color: #333;
	cursor: pointer;
	transition: background 0.2s ease;
	text-align: right;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

.support-content_menuButton__lWH_v:hover {
	background: #fcfcfc;
}

.support-content_icon__SUSCt {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: 15px;
	color: var(--hospa-brand);
	flex-shrink: 0;
}

.support-content_icon__SUSCt svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.support-content_icon__SUSCt img {
	width: 26px;
	height: 26px;
	object-fit: contain;
}

.muirtl-1yftukz {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.muirtl-1yftukz p {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 600;
	color: #222;
}

.muirtl-1yftukz span {
	margin-top: 2px;
	font-size: 0.75rem;
	color: #777;
}

.hospa-online-dot {
	width: 10px;
	height: 10px;
	background-color: #4caf50;
	border-radius: 50%;
	display: inline-block;
	animation: hospaOnlinePulse 2s infinite;
}

.muirtl-1wr3a27 {
	width: 18px;
	height: 18px;
	fill: #ccc;
	margin-right: 12px;
	flex-shrink: 0;
}

.hospa-support-phone-inline {
	direction: ltr;
	font-weight: bold;
	color: var(--hospa-brand);
	font-size: 0.85rem;
	white-space: nowrap;
	margin-right: 8px;
}

.support-content_foot__uWlmg {
	padding: 10px 15px;
	background: #fafafa;
	border-top: 1px solid #f2f2f2;
}

.support-content_closeBtn__Os_TO {
	width: 100%;
	padding: 10px;
	background: var(--hospa-brand-light);
	color: var(--hospa-brand);
	border: none;
	border-radius: 8px;
	font-family: inherit;
	font-weight: 700;
	font-size: 0.9rem;
	cursor: pointer;
}

.hospa-support-custom-embed {
	display: none;
}

@media (max-width: 768px) {
	.hospa-support-fab {
		bottom: 120px;
		right: 15px;
	}

	.hospa-support-fab--bottom-left {
		left: 15px;
	}

	.hospa-fab-main {
		width: 55px;
		height: 55px;
	}

	.hospa-modal-wrapper {
		width: calc(100vw - 40px);
		max-width: 340px;
	}
}
