/* ===== Farben und Symbole je Hinweis-Typ (gilt für Box UND Menüeintrag) ===== */
.bbcodeNotice-info      { --bbn-color: #2f80ed; --bbn-symbol: "i"; }
.bbcodeNotice-tip       { --bbn-color: #1fb58f; --bbn-symbol: "\2713"; }
.bbcodeNotice-important,
.bbcodeNotice-importent { --bbn-color: #9b51e0; --bbn-symbol: "!"; }
.bbcodeNotice-warning   { --bbn-color: #f2994a; --bbn-symbol: "!"; }
.bbcodeNotice-error     { --bbn-color: #eb5757; --bbn-symbol: "\2715"; }

/* ===== Die Hinweis-Box im Beitrag ===== */
.bbcodeNotice {
	position: relative;
	margin: 10px 0;
	padding: 12px 14px 12px 50px;
	border-left: 4px solid var(--bbn-color);
	border-radius: 6px;
	background: rgba(127, 127, 127, 0.10);
	background: color-mix(in srgb, var(--bbn-color) 12%, transparent);
}

.bbcodeNotice::before,
.bbcodeNoticeMenu__icon::before {
	content: var(--bbn-symbol);
	display: block;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--bbn-color);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 24px;
	text-align: center;
}

.bbcodeNotice::before {
	position: absolute;
	top: 12px;
	left: 14px;
}

/* ===== Das Auswahlmenü im Editor ===== */
.bbcodeNoticeMenu {
	position: fixed;
	z-index: 100000;
	min-width: 180px;
	padding: 4px;
	border: 1px solid var(--wcfContentBorderInner, rgba(127, 127, 127, 0.4));
	border-radius: 8px;
	background: var(--wcfContentBackground, #fff);
	color: var(--wcfContentText, inherit);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.bbcodeNoticeMenu__item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 8px 10px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}

.bbcodeNoticeMenu__item:hover,
.bbcodeNoticeMenu__item:focus-visible {
	background: rgba(127, 127, 127, 0.18);
	outline: none;
}

.bbcodeNoticeMenu__icon {
	flex: 0 0 auto;
}
