/* Floating Call Button - Frontend Styles */

.fcb-wrapper {
	position: fixed;
	bottom: 20px;
	z-index: 999999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.fcb-bottom-left {
	left: 20px;
}

.fcb-bottom-right {
	right: 20px;
}

.fcb-hide-desktop {
	display: none;
}

.fcb-hide-mobile {
	display: block;
}

@media (min-width: 783px) {
	.fcb-hide-desktop.fcb-wrapper {
		display: none !important;
	}
}

/* The round call button */
.fcb-button {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: var(--fcb-color, #25D366);
	border: none;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	animation: fcb-pulse 2.2s infinite;
	transition: transform 0.2s ease;
}

.fcb-button:hover {
	transform: scale(1.06);
}

.fcb-button:active {
	transform: scale(0.96);
}

.fcb-icon {
	width: 26px;
	height: 26px;
	color: #fff;
}

@keyframes fcb-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.15), 0 4px 14px rgba(0, 0, 0, 0.25);
	}
	70% {
		box-shadow: 0 0 0 12px rgba(0, 0, 0, 0), 0 4px 14px rgba(0, 0, 0, 0.25);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0), 0 4px 14px rgba(0, 0, 0, 0.25);
	}
}

/* The popup panel with the two numbers */
.fcb-panel {
	position: absolute;
	bottom: 72px;
	left: 0;
	min-width: 230px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
	overflow: hidden;
	opacity: 0;
	transform: translateY(10px) scale(0.96);
	pointer-events: none;
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.fcb-bottom-right .fcb-panel {
	left: auto;
	right: 0;
}

.fcb-panel.fcb-open {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

.fcb-panel-item {
	display: flex;
	flex-direction: column;
	padding: 12px 16px;
	text-decoration: none;
	border-bottom: 1px solid #eee;
	color: #222;
	transition: background 0.15s ease;
}

.fcb-panel-item:last-child {
	border-bottom: none;
}

.fcb-panel-item:hover {
	background: #f5f5f5;
}

.fcb-panel-label {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--fcb-color, #25D366);
	margin-bottom: 2px;
}

.fcb-panel-number {
	font-size: 15px;
	font-weight: 500;
	color: #222;
	direction: ltr;
}

/* Small screens */
@media (max-width: 480px) {
	.fcb-bottom-left {
		left: 14px;
	}
	.fcb-bottom-right {
		right: 14px;
	}
	.fcb-wrapper {
		bottom: 14px;
	}
	.fcb-button {
		width: 52px;
		height: 52px;
	}
	.fcb-icon {
		width: 23px;
		height: 23px;
	}
	.fcb-panel {
		min-width: 200px;
		bottom: 64px;
	}
}
