.ts-progress-title {
	margin: 0 0 12px;
	font-weight: 600;
}

.ts-progress {
	display: flex;
	flex-direction: column;
	gap: 10px;
	position: relative;
}

.ts-progress-bar-bg {
	width: 100%;
	background: #f0f0f0;
	border-radius: 6px;
	height: 10px;
	overflow: hidden;
	position: relative;
}

.ts-progress-bar-fill {
	height: 100%;
	background: #ff5f01;
	width: 0;
	border-radius: 6px;
	transition: width 0.3s ease;
}

.ts-progress--shimmer .ts-progress-bar-fill {
	background-image: linear-gradient(120deg, color-mix(in srgb, var(--ts-progress-shimmer-color, #ffffff) 20%, transparent) 0%, color-mix(in srgb, var(--ts-progress-shimmer-color, #ffffff) 40%, transparent) 40%, color-mix(in srgb, var(--ts-progress-shimmer-color, #ffffff) 10%, transparent) 70%);
	background-size: 200% 100%;
	animation: ts-progress-shimmer 2s linear infinite;
}

.ts-progress--pulse .ts-progress-bar-fill {
	box-shadow: 0 0 0 0 color-mix(in srgb, var(--ts-progress-pulse-color, #ff5f01) 35%, transparent);
	animation: ts-progress-pulse 2s ease-in-out infinite;
}

.ts-progress-inline-text {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 12px;
	font-size: 13px;
	font-weight: 600;
	pointer-events: none;
	white-space: nowrap;
	text-shadow: 0 1px 2px var(--ts-progress-inline-shadow, rgba(0, 0, 0, 0.25));
}

.ts-progress-inline-total {
	margin-left: auto;
}

.ts-progress-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	font-size: 14px;
}

.ts-progress-counts {
	display: flex;
	align-items: center;
	gap: 4px;
}

.ts-progress-percentage {
	font-weight: 600;
}

@keyframes ts-progress-shimmer {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

@keyframes ts-progress-pulse {
	0% {
		box-shadow: 0 0 0 0 color-mix(in srgb, var(--ts-progress-pulse-color, #ff5f01) 35%, transparent);
	}
	70% {
		box-shadow: 0 0 0 12px transparent;
	}
	100% {
		box-shadow: 0 0 0 0 transparent;
	}
}
