/**
 * Elementor Widget: Back to Top & CTA buttons
 */

/* Wrap không nhận click; chỉ nút nhận click → tránh click đâu cũng bị scroll về đầu */
.vdc-cta-buttons-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	z-index: 99999;
	pointer-events: none;
}
.vdc-cta-buttons-wrap .vdc-cta-back-to-top,
.vdc-cta-buttons-wrap .vdc-cta-btn {
	pointer-events: auto;
}

.vdc-cta-buttons-wrap--fixed {
	position: fixed;
}

.vdc-cta-back-to-top,
.vdc-cta-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	border: none;
	overflow: hidden;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.2s ease;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.vdc-cta-back-to-top i,
.vdc-cta-back-to-top svg,
.vdc-cta-btn i,
.vdc-cta-btn svg {
	display: block;
	flex-shrink: 0;
	font-size: 20px;
}

.vdc-cta-back-to-top svg,
.vdc-cta-btn svg {
	width: 20px;
	height: 20px;
}

.vdc-cta-back-to-top:focus,
.vdc-cta-btn:focus {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
