@use '../utils' as *;

/*----------------------------------------*/
/* Back to top 
/*----------------------------------------*/
.back-to-top-wrap {
	position: fixed;
	bottom: 30px;
	inset-inline-end: 30px;
	height: 46px;
	width: 46px;
	cursor: pointer;
	display: block;
	border-radius: 50px;
	z-index: 100;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	-webkit-transition: all 400ms linear;
	-o-transition: all 400ms linear;
	transition: all 400ms linear;
	background: linear-gradient(95.42deg, rgb(108, 115, 255) 0%, rgb(56, 64, 247) 100%);

	@media #{$xs} {
		height: 40px;
		width: 40px;
	}

	@media #{$xxs} {
		bottom: 20px;
		inset-inline-end: 20px;
	}

	&.active-progress {
		opacity: 1;
		visibility: visible;
		transform: translateY(0px);
	}

	&::after {
		position: absolute;
font-family: 'vuesax' !important;
    content: "\e940";
    text-align: center;
    font-size: 18px;
		font-size: 16px;
		font-weight: 400;
		color: var(--td-white);
		inset-inline-start: 0;
		top: 0;
		height: 100%;
		width: 100%;
		cursor: pointer;
		@include flexbox();
		align-items: center;
		justify-content: center;
		z-index: 1;
		-webkit-transition: all 400ms linear;
		-o-transition: all 400ms linear;
		transition: all 400ms linear;

		@media #{$xs} {
			font-size: 14px;
		}
	}

	svg {
		path {
			fill: none;
		}

		&.backtotop-circle {
			path {
				stroke: var(--td-white);
				stroke-width: 0;
				-webkit-box-sizing: border-box;
				box-sizing: border-box;
				-webkit-transition: all 400ms linear;
				-o-transition: all 400ms linear;
				transition: all 400ms linear;
			}
		}
	}
}