/* CLAUDE #702: the one busy indicator, the progress card over the page (forms/progress.js), for every wait on the forms' pages (owner,
   2026-11-11: "Make all of the busy indicators the same design"). Moved from forms/agent-app-auditions-paste-top.css (the paste's, paste.js);
   static_app/imagery/assets/styles.css copies its values for Generate Imagery's */
#progress {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.6);
}

#progress[hidden] {
	display: none;
}

#progress > div {
	max-width: 24rem;
	margin: 1rem;
	padding: 2rem;
	border-radius: 8px;
	background: rgb(34, 34, 34);
	text-align: center;
}

#progress .spinner {
	width: 3rem;
	height: 3rem;
	margin: 0 auto 1rem;
	border: 0.3rem solid #555;
	border-top-color: var(--accentColor, #3b82f6);
	border-radius: 50%;
	animation: progress_spin 1s linear infinite;
}

#progress .message {
	font-size: 1.2em;
	margin: 0 0 0.5rem;
}

#progress .elapsed {
	font-variant-numeric: tabular-nums;
	margin: 0 0 1rem;
	color: #aaa;
}

#progress .hint {
	margin: 0;
	font-size: 0.9em;
	color: #aaa;
}

/* CLAUDE #702: without the hint (a wait that isn't the AI's), the clock is the card's last line */
#progress .elapsed:has(+ .hint[hidden]) {
	margin-bottom: 0;
}

@keyframes progress_spin {
	to {
		transform: rotate(360deg);
	}
}
