/*
 * Booking done screen. design/DESIGN-SYSTEM.md §4.16 "Done state",
 * §1.4 (this circle is one of the five in the entire design).
 *
 * Quoted values: 76x76 circle, 2px red border, 34px glyph; h3 at
 * clamp(24px,3vw,36px) Barlow 900 italic with margin 22px 0 8px; the first
 * line 16px at 0.60 white and the trailing lines 14px at 0.45.
 *
 * Two lines the prototype does not have sit between them: the Booking code,
 * because a customer on the phone needs something to quote, and the cash
 * sentence, which is ticket 21's second acceptance criterion and only appears
 * for a cash Booking.
 *
 * TODO token: the 76px circle, the 34px glyph and the
 * clamp(24px,3vw,36px) title have no names in tokens.css.
 */

.sp-done {
	padding: var(--sp-7) 0;
	text-align: center;
}

.sp-done__check {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 76px; /* TODO token */
	height: 76px; /* TODO token */
	margin: 0 auto;
	border: var(--sp-border-accent);
	border-radius: var(--sp-radius-circle);
	font-size: 34px; /* TODO token */
	line-height: 1;
	color: var(--sp-red);
}

.sp-done__title {
	margin: var(--sp-8) 0 var(--sp-2);
	font-family: var(--sp-font-display);
	font-style: italic;
	font-weight: 900;
	font-size: clamp(24px, 3vw, 36px); /* TODO token */
	line-height: var(--sp-lh-tight);
	text-transform: uppercase;
	color: var(--sp-text);
}

.sp-done__line {
	margin: 0;
	font-size: var(--sp-fs-md);
	line-height: var(--sp-lh-body);
	color: var(--sp-text-60);
}

.sp-done__cash {
	margin: 10px 0 0;
	font-size: var(--sp-fs-sm);
	line-height: var(--sp-lh-body);
	color: var(--sp-text-60);
}

.sp-done__mail {
	margin: 10px 0 0;
	font-size: var(--sp-fs-sm);
	line-height: var(--sp-lh-body);
	color: var(--sp-text-45);
}

.sp-done__code {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: var(--sp-2);
	margin: var(--sp-4) 0 0;
}

.sp-done__code-label {
	font-family: var(--sp-font-body);
	font-size: var(--sp-fs-micro);
	letter-spacing: var(--sp-ls-label);
	text-transform: uppercase;
	color: var(--sp-text-45);
}

.sp-done__code-value {
	font-family: var(--sp-font-display);
	font-style: italic;
	font-weight: 700;
	font-size: var(--sp-fs-btn);
	text-transform: uppercase;
	color: var(--sp-text);
}
