.raoa-progress {
	--raoa-progress-primary: #1769f5;
	--raoa-progress-secondary: #7c3ff2;
	width: 100%;
	color: #071537;
}

.raoa-progress-items {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.raoa-progress-item {
	--raoa-progress-current: 0;
	--raoa-progress-primary: #1769f5;
	--raoa-progress-secondary: #7c3ff2;
	min-width: 0;
}

.raoa-progress-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 10px;
}

.raoa-progress-label {
	display: block;
	color: #071537;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}

.raoa-progress-number {
	display: inline-flex;
	align-items: baseline;
	white-space: nowrap;
}

.raoa-progress-value,
.raoa-progress-symbol {
	color: #071537;
	font: inherit;
}

.raoa-progress-number {
	color: #071537;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}

.raoa-progress-track {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 14px;
	border-radius: 999px;
	background-color: #e9edf5;
}

.raoa-progress-fill {
	position: relative;
	display: block;
	width: calc(var(--raoa-progress-current) * 1%);
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--raoa-progress-primary), var(--raoa-progress-secondary));
	will-change: width;
}

.raoa-progress-marker {
	position: absolute;
	top: 50%;
	right: 0;
	width: 18px;
	height: 18px;
	border: 3px solid #ffffff;
	border-radius: 50%;
	background-color: #5b29e8;
	box-shadow: 0 2px 8px rgba(47, 31, 170, 0.35);
	transform: translate(50%, -50%);
}

.raoa-progress-style-classic .raoa-progress-track {
	overflow: visible;
}

.raoa-progress-style-classic .raoa-progress-fill {
	min-width: 0;
}

.raoa-progress-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--raoa-progress-primary);
	line-height: 1;
}

.raoa-progress-icon svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.raoa-progress-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 18px;
	border-radius: 8px;
	background-color: #e8f7f0;
	color: #087a58;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.raoa-progress-style-circular .raoa-progress-items {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: start;
}

.raoa-progress-style-circular .raoa-progress-item {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 14px;
	text-align: center;
}

.raoa-progress-circle {
	--raoa-progress-ring: 12px;
	--raoa-progress-circle-track: #e9edf1;
	position: relative;
	display: grid;
	width: 210px;
	height: 210px;
	max-width: 100%;
	aspect-ratio: 1;
	padding: var(--raoa-progress-ring);
	border-radius: 50%;
	background: conic-gradient(
		from -90deg,
		var(--raoa-progress-primary) 0,
		var(--raoa-progress-secondary) calc(var(--raoa-progress-current) * 1%),
		var(--raoa-progress-circle-track) calc(var(--raoa-progress-current) * 1%),
		var(--raoa-progress-circle-track) 100%
	);
	will-change: background;
}

.raoa-progress-circle-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 12px;
	border-radius: 50%;
	background-color: #ffffff;
}

.raoa-progress-style-circular .raoa-progress-icon {
	font-size: 30px;
}

.raoa-progress-style-circular .raoa-progress-value {
	font-size: 52px;
	font-weight: 800;
}

.raoa-progress-style-circular .raoa-progress-symbol {
	font-size: 26px;
}

.raoa-progress-style-floating .raoa-progress-item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 24px;
}

.raoa-progress-style-floating .raoa-progress-item.raoa-progress-no-icon {
	grid-template-columns: minmax(0, 1fr);
}

.raoa-progress-style-floating .raoa-progress-icon {
	width: 76px;
	height: 76px;
	border: 1px solid #e6eaf1;
	border-radius: 50%;
	background-color: #ffffff;
	box-shadow: 0 7px 20px rgba(7, 21, 55, 0.05);
	font-size: 32px;
}

.raoa-progress-floating-content {
	min-width: 0;
}

.raoa-progress-style-floating .raoa-progress-label {
	margin-bottom: 22px;
}

.raoa-progress-floating-track {
	position: relative;
}

.raoa-progress-tooltip {
	position: absolute;
	z-index: 2;
	bottom: calc(100% + 13px);
	left: calc(var(--raoa-progress-current) * 1%);
	display: inline-flex;
	padding: 8px 10px;
	border-radius: 6px;
	background-color: #071537;
	box-shadow: 0 5px 15px rgba(7, 21, 55, 0.2);
	color: #ffffff;
	line-height: 1;
	transform: translateX(-50%);
	will-change: left;
}

.raoa-progress-tooltip::after {
	position: absolute;
	top: 100%;
	left: 50%;
	width: 0;
	height: 0;
	border-top: 8px solid #071537;
	border-right: 7px solid transparent;
	border-left: 7px solid transparent;
	content: "";
	transform: translateX(-50%);
}

.raoa-progress-tooltip .raoa-progress-value,
.raoa-progress-tooltip .raoa-progress-symbol {
	color: #ffffff;
	font-size: 16px;
}

.raoa-progress-style-capsule .raoa-progress-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	column-gap: 24px;
}

.raoa-progress-style-capsule .raoa-progress-track {
	height: auto;
	min-height: 68px;
}

.raoa-progress-style-capsule .raoa-progress-fill {
	display: flex;
	align-items: center;
	gap: 20px;
	min-width: min(100%, 160px);
	padding: 4px 24px 4px 4px;
	color: #ffffff;
}

.raoa-progress-style-capsule .raoa-progress-icon {
	width: 62px;
	height: 62px;
	min-width: 62px;
	border: 2px solid var(--raoa-progress-primary);
	border-radius: 50%;
	background-color: #ffffff;
	font-size: 26px;
}

.raoa-progress-style-capsule .raoa-progress-label,
.raoa-progress-style-capsule .raoa-progress-value,
.raoa-progress-style-capsule .raoa-progress-symbol {
	color: inherit;
}

.raoa-progress-style-capsule .raoa-progress-label {
	overflow: hidden;
	flex: 1;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.raoa-progress-style-capsule .raoa-progress-number {
	margin-left: auto;
}

@media (max-width: 1024px) {
	.raoa-progress-style-circular .raoa-progress-items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.raoa-progress-style-circular .raoa-progress-items {
		grid-template-columns: minmax(0, 1fr);
	}

	.raoa-progress-style-floating .raoa-progress-item {
		grid-template-columns: 56px minmax(0, 1fr);
		gap: 15px;
	}

	.raoa-progress-style-floating .raoa-progress-icon {
		width: 56px;
		height: 56px;
		font-size: 24px;
	}

	.raoa-progress-style-capsule .raoa-progress-item {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 10px;
	}

	.raoa-progress-style-capsule .raoa-progress-status {
		justify-self: end;
	}

	.raoa-progress-style-capsule .raoa-progress-fill {
		gap: 12px;
		padding-right: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.raoa-progress-fill,
	.raoa-progress-tooltip,
	.raoa-progress-circle {
		will-change: auto;
	}
}
