/**
 * WPD Framework — Minimal frontend styles.
 *
 * @package WPD
 * @since   1.0.0
 */

/* Back-to-top button base (colors applied inline from settings) */
.wpd-back-to-top {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
	z-index: 9999;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.wpd-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
}

.wpd-back-to-top:hover {
	opacity: 0.85;
}
