.codicts-voxel-form-summary-widget
{
	color: var(--e-global-color-text);
	display: block;
}
/* Hidden only when there is no create-post form for it to read. */
.codicts-voxel-form-summary-widget[hidden] {
	display: none;
}
.codicts-voxel-form-summary-widget .cvfsw-step {
	padding: 5px 0;
	opacity: 0.5;
}
.codicts-voxel-form-summary-widget .cvfsw-step .cvfsw-label,
.codicts-voxel-form-summary-widget .cvfsw-step .cvfsw-items {

}
.codicts-voxel-form-summary-widget .cvfsw-step .cvfsw-items {
	display: none;
}
.codicts-voxel-form-summary-widget .cvfsw-step.cvfsw-active {
	opacity: 1;
}
.codicts-voxel-form-summary-widget .cvfsw-step.cvfsw-active .cvfsw-items {

}
.codicts-voxel-form-summary-widget .cvfsw-step .cvfsw-label label {
	font-size: 14px;
	font-weight: 600;
}
.codicts-voxel-form-summary-widget .cvfsw-step .cvfsw-label  a {
	width: 100%;
	display: block;
	color: var(--e-global-color-text);
	cursor: pointer;
}
.codicts-voxel-form-summary-widget .cvfsw-step .cvfsw-items ul {
	list-style-type: none;
	margin: 0;
	margin-top: 10px;
}
.codicts-voxel-form-summary-widget .cvfsw-step .cvfsw-items ul li {
    padding: 5px 0;
	position: relative;
}
.codicts-voxel-form-summary-widget .cvfsw-step .cvfsw-items ul li::before {
	content: "";
    width: 10px;
    height: 10px;
    border: 1px solid var(--ts-shade-2);
    border-radius: 50%;
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
}
.codicts-voxel-form-summary-widget .cvfsw-step .cvfsw-items ul li a {
	text-decoration: none;
	display: block;
	width: 100%;
	color: var(--e-global-color-text);
}
.codicts-voxel-form-summary-widget .cvfsw-step .cvfsw-items ul li a span {
	font-size: 14px;
}

/* Completion state -------------------------------------------------------- */

.codicts-voxel-form-summary-widget .cvfsw-step .cvfsw-items ul li.cvfsw-done::before {
	background: var(--ts-accent-1, currentColor);
	border-color: var(--ts-accent-1, currentColor);
}
.codicts-voxel-form-summary-widget .cvfsw-step .cvfsw-items ul li.cvfsw-done a span {
	opacity: 0.65;
}
.codicts-voxel-form-summary-widget .cvfsw-step .cvfsw-items ul li.cvfsw-partial::before {
	background: linear-gradient(90deg, var(--ts-accent-1, currentColor) 50%, transparent 50%);
	border-color: var(--ts-accent-1, currentColor);
}
.codicts-voxel-form-summary-widget .cvfsw-step .cvfsw-items ul li.cvfsw-has-errors::before {
	border-color: var(--ts-error, #d63638);
	background: transparent;
}
.codicts-voxel-form-summary-widget .cvfsw-step .cvfsw-items ul li.cvfsw-uncounted::before {
	border-style: dashed;
}

.codicts-voxel-form-summary-widget .cvfsw-label label {
	display: flex;
	align-items: center;
	gap: 8px;
}
.codicts-voxel-form-summary-widget .cvfsw-step-count {
	font-size: 12px;
	font-weight: 500;
	opacity: 0.6;
	white-space: nowrap;
}
.codicts-voxel-form-summary-widget .cvfsw-step.cvfsw-step-done .cvfsw-step-count {
	color: var(--ts-accent-1, inherit);
	opacity: 1;
}
.cvfsw-widget-container {
	display: flex;
	flex-direction: column;
	/* stretch, not center: centering shrink-wrapped the field list to its text width
	   and parked it in the middle whenever the indicator was turned off. */
	align-items: stretch;
	gap: 20px;
}
/* The ring is a fixed square, so it still centres itself. */
.cvfsw-widget-container > .cvfsw-progress-ring {
	align-self: center;
}
.cvfsw-progress-ring {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	/* Size lives in a custom property so Elementor can drive it with a plain style
	   control - baking it into the markup forced a server re-render per drag. */
	width: var(--cvfsw-size, 120px);
	height: var(--cvfsw-size, 120px);
}
.cvfsw-progress-ring svg {
	width: 100%;
	height: 100%;
	/* Thick strokes sit proud of the viewBox. */
	overflow: visible;
}
.cvfsw-progress-ring circle {
	stroke-width: var(--cvfsw-thickness, 8px);
}
.cvfsw-progress-track {
	stroke: var(--cvfsw-track, #e0e0e0);
}
.cvfsw-progress-circle {
	stroke: var(--cvfsw-fill, #007cba);
	transition: stroke-dashoffset 0.5s ease-in-out;
}
.cvfsw-progress-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: var(--cvfsw-label-size, 18px);
	font-weight: bold;
	color: var(--cvfsw-label-color, var(--e-global-color-text));
}

/* Indicators --------------------------------------------------------------- */

/**
 * No animation until the first paint.
 *
 * The server cannot know the percentage, so an indicator is rendered empty and the
 * browser fills it in. With transitions live from the start that first update
 * animates from the CSS default, and for the ring the default stroke-dashoffset of
 * 0 reads as a COMPLETE circle - so every reload flashed 100% and wound down to 0.
 * The ready class is added once the real value is in place.
 */
.cvfsw-progress-indicator:not(.cvfsw-ready) .cvfsw-progress-circle,
.cvfsw-progress-indicator:not(.cvfsw-ready) .cvfsw-bar-fill,
.cvfsw-progress-indicator:not(.cvfsw-ready) .cvfsw-segment-fill {
	transition: none;
}

.cvfsw-progress-indicator {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Only the ring absolutely centres its label inside the donut hole. */
.cvfsw-progress-indicator:not(.cvfsw-progress-ring) .cvfsw-progress-text {
	position: static;
	transform: none;
}

.cvfsw-progress-bar,
.cvfsw-progress-steps {
	flex-direction: column;
	align-items: stretch;
	gap: 6px;
	width: 100%;
}

.cvfsw-progress-bar .cvfsw-progress-text,
.cvfsw-progress-steps .cvfsw-progress-text {
	align-self: flex-end;
}

.cvfsw-bar-track {
	width: 100%;
	height: var(--cvfsw-h, 8px);
	background: var(--cvfsw-track, #e0e0e0);
	border-radius: var(--cvfsw-radius, 8px);
	overflow: hidden;
}
.cvfsw-bar-fill {
	width: 0;
	height: 100%;
	background: var(--cvfsw-fill, #007cba);
	border-radius: inherit;
	transition: width 0.4s ease-in-out;
}

.cvfsw-segments {
	display: flex;
	gap: var(--cvfsw-gap, 6px);
	width: 100%;
}
.cvfsw-segment {
	position: relative;
	flex: 1 1 0;
	height: var(--cvfsw-h, 8px);
	background: var(--cvfsw-track, #e0e0e0);
	border-radius: var(--cvfsw-radius, 8px);
	overflow: hidden;
}
.cvfsw-segment-fill {
	position: absolute;
	inset: 0;
	width: 0;
	background: var(--cvfsw-fill, #007cba);
	transition: width 0.4s ease-in-out;
}

.cvfsw-progress-text:empty {
	display: none;
}

/* Submitted state ---------------------------------------------------------- */

/**
 * Applied to the Elementor widget wrapper (a flex item), not to our own markup,
 * so the container closes the gap instead of leaving a hole. !important because it
 * has to beat whatever display the container sets on its children.
 */
.cvfsw-submit-hidden {
	display: none !important;
}

.cvfsw-submitting {
	opacity: 0.6;
	pointer-events: none;
	transition: opacity 0.2s ease-in-out;
}
