.edigcb-container {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	z-index: 999999;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.edigcb-container.edigcb-right {
	right: 16px;
}

.edigcb-container.edigcb-left {
	left: 16px;
}

.edigcb-btn {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	text-decoration: none;
}

.edigcb-btn:hover,
.edigcb-btn:focus {
	transform: scale(1.1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
	color: inherit;
}

.edigcb-btn svg {
	width: 24px;
	height: 24px;
	pointer-events: none;
}

@media (max-width: 600px) {
	.edigcb-container {
		gap: 8px;
	}
	.edigcb-btn {
		width: 32px;
		height: 32px;
	}
	.edigcb-btn svg {
		width: 16px;
		height: 16px;
	}
	.edigcb-container.edigcb-right {
		right: 8px;
	}
	.edigcb-container.edigcb-left {
		left: 8px;
	}
}

/* Scroll to top button - independent from the contact buttons stack */
.edigcb-scroll-top {
	position: fixed;
	bottom: 30px;
	width: 69px;
	height: 69px;
	border: none;
	border-radius: 50%;
	background: #333;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 999998;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22), 0 1px 3px rgba(0, 0, 0, 0.15);
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px) scale(0.9);
	transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, visibility 0.3s;
}

.edigcb-scroll-top.edigcb-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}

.edigcb-scroll-top:hover,
.edigcb-scroll-top:focus {
	transform: translateY(-3px) scale(1.06);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28), 0 2px 6px rgba(0, 0, 0, 0.18);
	color: inherit;
	filter: brightness(1.08);
}

.edigcb-scroll-top:active {
	transform: translateY(-1px) scale(0.97);
}

.edigcb-scroll-top svg {
	pointer-events: none;
	width: 28px;
	height: 28px;
}

.edigcb-scroll-top-right {
	right: 32px;
}

.edigcb-scroll-top-left {
	left: 32px;
}

@media (max-width: 600px) {
	.edigcb-scroll-top {
		width: 44px;
		height: 44px;
		bottom: 18px;
	}
	.edigcb-scroll-top svg {
		width: 18px;
		height: 18px;
	}
	.edigcb-scroll-top-right {
		right: 16px;
	}
	.edigcb-scroll-top-left {
		left: 16px;
	}
}

/* Show/hide per device, controlled from the settings page */
@media (min-width: 601px) {
	.edigcb-hide-desktop {
		display: none !important;
	}
}

@media (max-width: 600px) {
	.edigcb-hide-mobile {
		display: none !important;
	}
}
