.back-to-top {
	position: fixed;
	right: 1.5rem;
	bottom: 1.5rem;
	z-index: 1000;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 3.25rem;
	height: 3.25rem;
	padding: 0;

	border: none;
	border-radius: 50%;

	background-color: #0d6efd;
	color: #ffffff;

	cursor: pointer;

	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);

	opacity: 0;
	visibility: hidden;

	transform: translateY(10px);

	transition:
		opacity 0.3s ease,
		visibility 0.3s ease,
		transform 0.3s ease,
		background-color 0.3s ease,
		box-shadow 0.3s ease;
}

.back-to-top svg {
	width: 1.4rem;
	height: 1.4rem;
	fill: currentColor;
}

.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
}

.back-to-top:hover {
	background-color: #0b5ed7;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
	transform: translateY(-2px);
}

.back-to-top:active {
	transform: translateY(0);
}

.back-to-top:focus-visible {
	outline: 3px solid #86b7fe;
	outline-offset: 3px;
}

@media (max-width: 991.98px) {
	.back-to-top {
		right: 1rem;
		bottom: 1rem;

		width: 3rem;
		height: 3rem;
	}

	.back-to-top svg {
		width: 1.25rem;
		height: 1.25rem;
	}
}