/* ==========================================================================
   Interpro HWCS Demo — demo-only chrome layered over the live portal CSS.
   Reuses the site colour variables:
   --color-dark-blue #1F3986 | --color-light-blue #069BE4
   --color-red #DC2118 | --color-light-bg #ededed | --color-teal #0872aa
   ========================================================================== */

/* ---------- demo banner ---------- */
.ihwcs-demo-banner {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	padding: 1rem 1.25rem;
	margin: 0 0 1.5rem;
	border-radius: var(--border-radius, 12px);
	background: linear-gradient( 100deg, var(--color-dark-blue, #1F3986), var(--color-light-blue, #069BE4) );
	color: #fff;
	box-sizing: border-box;
}
.ihwcs-demo-banner > i {
	font-size: 1.5rem;
	flex: 0 0 auto;
	opacity: .9;
}
.ihwcs-demo-banner__text {
	flex: 1 1 260px;
	min-width: 0;
	line-height: 1.4;
}
.ihwcs-demo-banner__text strong {
	display: block;
	font-size: 1.05rem;
	margin-bottom: .1rem;
}
.ihwcs-demo-banner__text span {
	font-size: .9rem;
	opacity: .95;
}
.ihwcs-demo-banner__link {
	flex: 0 0 auto;
	white-space: nowrap;
}
/* On the coloured banner, make the ghost button legible. */
.ihwcs-demo-banner .ihwcs-btn--ghost {
	background: rgba( 255, 255, 255, .15 );
	border-color: rgba( 255, 255, 255, .6 );
	color: #fff;
}
.ihwcs-demo-banner .ihwcs-btn--ghost:hover {
	background: rgba( 255, 255, 255, .28 );
}

/* ---------- "your demo order" tag on list items ---------- */
.ihwcs-demo-tag {
	display: inline-block;
	margin-right: .5rem;
	padding: .05rem .45rem;
	border-radius: 999px;
	background: var(--color-light-blue, #069BE4);
	color: #fff;
	font-size: .62rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	vertical-align: middle;
}

/* ---------- demo toast (shown when a demo download is attempted) ---------- */
.ihwcs-demo-toast {
	position: fixed;
	left: 50%;
	bottom: 1.5rem;
	transform: translate( -50%, 1rem );
	z-index: 99999;
	max-width: min( 90vw, 420px );
	display: flex;
	align-items: center;
	gap: .6rem;
	padding: .8rem 1.1rem;
	border-radius: 10px;
	background: var(--color-dark-blue, #1F3986);
	color: #fff;
	font-size: .9rem;
	line-height: 1.4;
	box-shadow: 0 8px 24px rgba( 0, 0, 0, .25 );
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease;
}
.ihwcs-demo-toast.is-visible {
	opacity: 1;
	transform: translate( -50%, 0 );
}
.ihwcs-demo-toast i { opacity: .85; }

@media ( max-width: 600px ) {
	.ihwcs-demo-banner { align-items: flex-start; }
	.ihwcs-demo-banner__link { width: 100%; text-align: center; justify-content: center; }
}
