/**
 * Totoland Global Components.
 *
 * @version 1.0.0
 */

.tt-floating-nav {
	position: fixed;
	right: 22px;
	bottom: 88px;
	z-index: 9998;
	display: flex;
	flex-direction: column;
	gap: 10px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(16px);
	transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}

.tt-floating-nav.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.tt-floating-nav__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid #e5e7eb;
	border-radius: 50%;
	background: #fff;
	color: #111827;
	font: inherit;
	font-size: 20px;
	font-weight: 900;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 10px 26px rgba(17, 24, 39, .16);
	cursor: pointer;
	transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.tt-floating-nav__button--similar {
	border-color: #00aeef;
	background: #00aeef;
	color: #fff;
}

.tt-floating-nav__button--top {
	border-color: #ff5aa5;
	background: #ff5aa5;
	color: #fff;
}

.tt-floating-nav__button:focus-visible {
	outline: 3px solid #ffc83d;
	outline-offset: 3px;
}

@media (hover: hover) {
	.tt-floating-nav__button:hover {
		transform: translateY(-2px);
		box-shadow: 0 14px 30px rgba(17, 24, 39, .2);
	}

	.tt-floating-nav__button--similar:hover {
		border-color: #58c63a;
		background: #58c63a;
		color: #fff;
	}

	.tt-floating-nav__button--top:hover {
		border-color: #00aeef;
		background: #00aeef;
		color: #fff;
	}
}

@media (max-width: 767px) {
	.tt-floating-nav {
		right: 14px;
		bottom: 82px;
		gap: 8px;
	}

	.tt-floating-nav__button {
		width: 44px;
		height: 44px;
		font-size: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tt-floating-nav,
	.tt-floating-nav__button {
		transition: none;
	}
}
