/**
 * Guestcare365 — Back to Top button (logo magenta)
 */

#ast-scroll-top {
	display: none !important;
}

.gc-back-to-top {
	position: fixed;
	left: 1.25rem;
	bottom: 1.25rem;
	z-index: 9998;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	background: #a44b9b;
	color: #fff;
	box-shadow: 0 10px 24px rgba(164, 75, 155, 0.35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	pointer-events: none;
	transition:
		opacity 0.25s ease,
		visibility 0.25s ease,
		transform 0.25s ease,
		background-color 0.2s ease,
		box-shadow 0.2s ease;
}

.gc-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.gc-back-to-top:hover,
.gc-back-to-top:focus-visible {
	background: #8f3d87;
	box-shadow: 0 12px 28px rgba(143, 61, 135, 0.42);
	outline: none;
}

.gc-back-to-top:focus-visible {
	box-shadow:
		0 0 0 3px rgba(255, 255, 255, 0.9),
		0 0 0 5px rgba(164, 75, 155, 0.55),
		0 12px 28px rgba(143, 61, 135, 0.42);
}

.gc-back-to-top svg {
	display: block;
	width: 1.25rem;
	height: 1.25rem;
}

@media (max-width: 640px) {
	.gc-back-to-top {
		left: 1rem;
		bottom: 1rem;
		width: 2.75rem;
		height: 2.75rem;
	}
}
