@import url('https://fonts.googleapis.com/css2?family=Geologica:wght,CRSV@300..900,0&display=swap');

.progress-widget { 
	--blue: #18D7E9;
	--purple: #5533A9;
	--purple-dark: #3D2183;
	--yellow: #FAF900;
	font-family: 'Geologica', sans-serif;
	padding: 0;
	overflow: hidden;
	background: var(--blue);
	color: var(--purple);
	padding: 12px 30px;
}

.progress-widget .wdg-content {
	width: 100%;
	z-index: 50;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 30px;
}

.progress-widget .wdg-text {
	font-size: 30px;
	line-height: 100%;
	font-weight: 900;
	min-width: 360px;
	text-align: left;
}

.progress-widget .wdg-progress {
	display: flex;
	flex-direction: column;
	min-width: 0;
	width: 100%;
}
.progress-widget .wdg-coins {
	display: flex;
	justify-content: space-between;
	width: 100%;
	flex-wrap: nowrap;
	overflow: hidden;
	min-width: 0;
	padding-right: 80px;
	box-sizing: border-box;
}

.progress-widget .wdg-coins .coin {
	flex: 0 1 0px;
	min-width: 1px;
	height: 80px;

	position: relative;

	transition: transform 0.3s ease;
	/* animation: wave 5s ease-in-out infinite; */
	animation: wave 5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
.progress-widget .wdg-coins .coin::after {
	content: "";
	display: block;
	min-width: 80px;
	height: 80px;
	background: url(i/coin-blue.png) 0 0 no-repeat;
	background-size: cover;
}
.progress-widget .wdg-coins .coin.gold::after {
	background-image: url(i/coin-gold.png);
}

@keyframes wave {
	0%, 15%, 100% { transform: translateY(0); }
	3% { transform: translateY(4px); }
	6% { transform: translateY(-5px); }
	9% { transform: translateY(3px); }
	12% { transform: translateY(-2px); }
}

.progress-widget .wdg-status {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: baseline;
	gap: 15px;
	font-size: 14px;
	line-height: 90%;
}
.progress-widget .wdg-status .wdg-share span {
	font-weight: 700;
}

.progress-widget .wdg-referral {
	background-color: var(--purple);
	color: var(--blue);
	font-weight: 500;
	text-decoration: none;
	text-align: center;
	font-size: 22px;
	line-height: 110%;
	white-space: nowrap;
	padding: 13px 26px 15px;
	display: inline-block;
	transition: all .25s;
}
.progress-widget .wdg-referral:active,
.progress-widget .wdg-referral:visited { color: var(--blue); }
.progress-widget .wdg-referral:hover {
	background-color: var(--purple-dark);
	color: #9bf6ff;
}

.topinfo .progress-widget a#topinfo-close { color: #ffffff!important; }
.topinfo .progress-widget .wdg-text-mobile { display: none; }
.topinfo .progress-widget #wdg-topinfo-referral-mobile { display: none; }

@media screen and (max-width: 1200px) {

	.progress-widget .wdg-text {
		font-size: 28px;
		min-width: 246px;
	}

}

@media screen and (max-width: 740px) {

	.progress-widget .wdg-content {
		flex-direction: column;
		gap: 10px;
	}


	.progress-widget .wdg-progress {
		flex-direction: row;
		align-items: center;
		gap: 5px;
	}
	.progress-widget .wdg-coins {
		padding-right: 60px;
	}
	.progress-widget .wdg-coins .coin {
		height: 60px;
	}
	.progress-widget .wdg-coins .coin::after {
		min-width: 60px;
		height: 60px;
	}
	.progress-widget .wdg-status {
		flex-direction: column;
		gap: 5px;
		width: unset;
		min-width: 150px;
	}
	.progress-widget .wdg-status .wdg-status-divider {
		display: none;
	}
	.progress-widget .wdg-status .wdg-share {
		font-size: 15px;
	}
	.progress-widget .wdg-status .wdg-details {
		font-size: 11px;
	}

	.progress-widget .wdg-referral {
		font-size: 19px;
		padding: 11px 23px 14px;
	}

	.topinfo .progress-widget {
		position: relative;
	}
	/* .topinfo .progress-widget .wdg-content .wdg-text {
		content: "Заповнюйте зарплатну анкету DOU";
	} */
	.topinfo .progress-widget .wdg-referral { display: none; }
	.progress-widget .wdg-text {
		/* text-align: center;
		font-size: 25px;
		min-width: unset; */
		display: none;
	}
	.topinfo .progress-widget .wdg-text-mobile {
		display: block;
		text-align: center;
		font-size: 25px;
		font-weight: 900;
		line-height: 100%;
	}
	.topinfo .progress-widget #wdg-topinfo-referral-mobile {
		display: block;
		position: absolute;
		width: 100%;
		height: 100%;
		z-index: 100;
		top: 0;
		left: 0;
	}
	
}

@media screen and (max-width: 460px) {
	.progress-widget {
		padding: 10px 5px 5px;
	}
	.topinfo .progress-widget .wdg-text-mobile {
		margin: 0 15px;
	}
}

@media screen and (max-width: 400px) {
	.progress-widget .wdg-status {
		text-align: left;
		min-width: 110px;
	}
	.progress-widget .wdg-details {
		display: flex;
		flex-direction: column;
	}
	.topinfo .progress-widget .wdg-text-mobile {
		font-size: 20px;
	}
}