/* Call & WhatsApp Buttons - Exact original design */

.kfcb-buttons-wrapper {
	/* empty wrapper - no styles needed */
}

.ms-call-btn,
.ms-whats-btn {
	display: flex;
	align-items: center;
	position: fixed;
	outline: 0;
	cursor: pointer;
	z-index: 99999;
	text-decoration: none !important;
	direction: ltr;
	gap: 0;
}

.ms-call-icon,
.ms-whats-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 65px;
	height: 65px;
	text-align: center;
	border-radius: 50%;
	line-height: 65px;
	-webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
	flex-shrink: 0;
	order: 0;
	z-index: 2;
}

.ms-call-icon {
	border: 1px solid #ddd;
}

.ms-call-icon svg,
.ms-whats-icon svg {
	display: block;
	margin: 0 auto;
}

.ms-call-txt,
.ms-whats-txt {
	font-size: 15px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	height: 35px;
	width: 100px;
	text-align: center;
	border: 1px solid #ddd;
	border-radius: 10px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	order: 1;
	margin-top: 0;
	z-index: 1;
}

/* Pull text closer to icon (like original) */
.ms-left {
	padding: 0 12px 0 6px;
	margin-right: 0;
	margin-left: -12px;
}

/* Animation */
@keyframes call-rotate {
	0%, 100%, 50% {
		-webkit-transform: rotate(0) scale(1) skew(1deg);
		transform: rotate(0) scale(1) skew(1deg);
	}
	10%, 30% {
		-webkit-transform: rotate(-25deg) scale(1) skew(1deg);
		transform: rotate(-25deg) scale(1) skew(1deg);
	}
	20%, 40% {
		-webkit-transform: rotate(25deg) scale(1) skew(1deg);
		transform: rotate(25deg) scale(1) skew(1deg);
	}
}

.ms-call-btn .ms-call-icon,
.ms-whats-btn .ms-whats-icon {
	animation: 2s ease-in-out infinite call-rotate;
}

/* Hover */
.ms-call-btn:hover,
.ms-whats-btn:hover {
	text-decoration: none !important;
	opacity: 0.92;
}

/* RTL Support */
html[dir="rtl"] .ms-call-btn,
html[dir="rtl"] .ms-whats-btn {
	direction: ltr; /* keep visual order: icon then text */
}

/* Responsive */
@media (max-width: 480px) {
	.ms-call-icon,
	.ms-whats-icon {
		width: 55px;
		height: 55px;
		line-height: 55px;
	}

	.ms-call-icon svg {
		width: 34px !important;
		height: 38px !important;
	}

	.ms-whats-icon svg {
		width: 55px !important;
		height: 55px !important;
	}

	.ms-call-txt,
	.ms-whats-txt {
		font-size: 13px;
		width: 85px;
		height: 30px;
	}

	.ms-left {
		padding: 0 10px 0 4px;
		margin-left: -10px;
	}
}
