/*
 * Consent stub — a stand-in CMP for local work (BMM-21, ADR-040).
 *
 * Deliberately does NOT reproduce the source's consent banner. It is developer
 * tooling, and it should be impossible to mistake for the real thing in a
 * screenshot. No theme presets are used here for the same reason: this is not
 * part of the design system.
 */

.glamour-consent-stub {
	position: fixed;
	z-index: 100000;
	inset-block-end: 0;
	inset-inline: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	padding: 10px 16px;
	border-block-start: 2px dashed #bf3c2b;
	background: #1d1d1d;
	color: #fff;
	font-family: system-ui, sans-serif;
	font-size: 13px;
	line-height: 1.4;
}

.glamour-consent-stub__text {
	margin: 0;
}

.glamour-consent-stub__state {
	font-variant-numeric: tabular-nums;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.glamour-consent-stub[data-choice="accepted"] .glamour-consent-stub__state {
	color: #7ddba3;
}

.glamour-consent-stub[data-choice="declined"] .glamour-consent-stub__state {
	color: #ff9b8f;
}

/*
 * `flex-wrap: wrap` here, not just on the outer bar: three buttons at this
 * font size are only ~16px narrower than the mobile content width at 375px,
 * so slightly different font metrics on a real device tip them into
 * overflowing their unwrapped row — confirmed at 320px, where the row renders
 * 320px wide starting 16px in, i.e. 16px past the viewport edge. Wrapping
 * lets the third button drop to its own line instead of forcing horizontal
 * scroll on a fixed, full-width element.
 */
.glamour-consent-stub__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.glamour-consent-stub__button {
	padding: 6px 12px;
	border: 1px solid #fff;
	border-radius: 2px;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.glamour-consent-stub__button:hover,
.glamour-consent-stub__button:focus-visible {
	background: #fff;
	color: #1d1d1d;
}
