/**
 * CNA Cure Time Calculator — tool-specific styles.
 *
 * Layers on top of cna-core.css / cna-core-fallback.css, which already
 * provide .cna-tool, .cna-field, .cna-btn, .cna-result, .cna-stat, etc. and
 * the --cna-* custom properties. Nothing here redefines those — only new,
 * tool-specific pieces: the safety block, timer display, and sequence list.
 *
 * @package CNA_Cure_Time_Calculator
 */

.cna-ctc__estimate-notice {
	text-align: center;
}

/* ---------------------------------------------------------------------
 * Safety block — always visible, never collapsible. Deliberately built
 * from a plain <div>/<h3>/<ul>, never a <details>, so there is no way for
 * a future edit to accidentally make it collapsible.
 * ------------------------------------------------------------------ */

.cna-ctc__safety {
	background: color-mix(in srgb, var(--cna-accent) 18%, var(--cna-bg));
	border: 1px solid var(--cna-accent);
	border-radius: calc(var(--cna-radius) * 0.6);
	padding: 1rem 1.25rem;
	margin: 1rem 0 1.5rem;
}

.cna-ctc__safety h3 {
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.cna-ctc__safety ul {
	margin: 0;
	padding-left: 1.25rem;
}

.cna-ctc__safety li {
	margin-bottom: 0.4rem;
	line-height: 1.5;
}

.cna-ctc__safety li:last-child {
	margin-bottom: 0;
}

/* ---------------------------------------------------------------------
 * Countdown timer
 * ------------------------------------------------------------------ */

.cna-ctc__timer {
	align-items: center;
	gap: 0.75rem;
}

.cna-ctc__timer-display {
	font-variant-numeric: tabular-nums;
	font-size: 1.75rem;
	font-weight: 700;
	min-width: 3.5ch;
	text-align: center;
}

@media (prefers-reduced-motion: reduce) {
	.cna-ctc__timer-display {
		transition: none;
	}
}

/* ---------------------------------------------------------------------
 * Sequence view
 * ------------------------------------------------------------------ */

.cna-ctc__sequence {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--cna-line);
}

.cna-ctc__sequence-list {
	list-style: none;
	margin: 0.75rem 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.cna-ctc__sequence-list li {
	margin: 0;
}

.cna-ctc__step--current {
	outline: 2px solid var(--cna-primary);
	outline-offset: 1px;
}

/* ---------------------------------------------------------------------
 * Colour-depth field hides itself for non-colour coats via .cna-hidden,
 * already provided by core — nothing extra needed here.
 * ------------------------------------------------------------------ */
