/*
 * MAWOGE Mixer — Bridge Banner
 * Erscheint auf der Berater-Seite, wenn eine Mischung übergeben wurde.
 */

.mawoge-mix-banner {
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 99999;
	max-width: 560px;
	width: calc(100% - 40px);
	background: #18181c;
	border: 1px solid #33312E;
	border-radius:0;
	box-shadow:
		0 0 0 1px rgba(117,106,98,0.22),
		0 24px 48px rgba(0,0,0,0.5);
	font-family: 'Barlow Semi Condensed', sans-serif;
	color: #ece6dd;
	animation: mxb-slide-in .4s cubic-bezier(.2,.7,.3,1.2);
}

@keyframes mxb-slide-in {
	from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
	to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.mawoge-mix-banner--fade {
	opacity: 0;
	transition: opacity .55s ease;
}

.mawoge-mix-banner__inner {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
}

.mawoge-mix-banner__swatch {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(117,106,98,0.4);
	box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}

.mawoge-mix-banner__text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.mawoge-mix-banner__label {
	font-size: 11px;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: #C4BAB1;
	font-weight: 100;
}

.mawoge-mix-banner__name {
	font-family: 'Barlow Semi Condensed', sans-serif;
	font-weight: 400;
	font-size: 19px;
	color: #ece6dd;
	line-height: 1.2;
	letter-spacing: .01em;
}

.mawoge-mix-banner__components {
	font-size: 12px;
	color: #A6998E;
	letter-spacing: .06em;
	margin-top: 2px;
}

.mawoge-mix-banner__close {
	flex: 0 0 auto;
	background: none;
	border: 1px solid #33312E;
	color: #A6998E;
	cursor: pointer;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	font-size: 12px;
	display: grid;
	place-items: center;
	transition: border-color .15s, color .15s;
}
.mawoge-mix-banner__close:hover {
	border-color: #A6998E;
	color: #C4BAB1;
}

.mawoge-mix-banner--error {
	border-color: #5a2a2a;
	box-shadow:
		0 0 0 1px rgba(200,80,80,0.18),
		0 24px 48px rgba(0,0,0,0.5);
}
.mawoge-mix-banner--error .mawoge-mix-banner__label { color: #d97070; }

@media (prefers-reduced-motion: reduce) {
	.mawoge-mix-banner { animation: none; }
	.mawoge-mix-banner--fade { transition: none; }
}
