/*
 * SL: Countdown Timer (flex component sl-countdown).
 * Main styles are .c-sl-countdown in the shared sl-ui resource (loaded by this component's init.mvt).
 * This file only adds what the flex version needs on top of it.
 */

/* The theme or sl-ui may set display on these, so make the hidden attribute always win. */
.c-sl-countdown[hidden],
.c-sl-countdown [hidden] {
	display: none !important; /* Exception: hidden must beat any display rule. */
}

/* Preview mode: the start/end times in three zones (editors only see this while previewing). */
.c-sl-countdown__readout {
	background: #FFFFFF;
	border: 1px dashed var(--sl-blue);
	border-radius: 8px;
	color: var(--sl-ink);
	font-size: 0.875rem;
	margin: 1.25rem auto 0;
	max-width: 46rem;
	padding: 0.75rem 1rem;
	text-align: left;
}

.c-sl-countdown__readout-line {
	display: block;
}

.c-sl-countdown__ended {
	color: var(--sl-deep);
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 1.25rem;
}
