/**
 * Front-end signal word notification banner.
 *
 * Mirrors the theme's `.gform_wrapper .alert-form.alert-danger` element
 * (Bootstrap `.alert` base + theme overrides) so the banner is visually
 * identical: transparent fill, 1px brand-red border, absolutely positioned
 * dismiss button in the top-right corner.
 */
.gpg-signal-banner {
	position: relative;
	margin: 0 0 1rem;
	/* Right padding reserves room for the absolutely positioned close button
	   (mirrors Bootstrap's .alert-dismissible). */
	padding: 0.75rem 4.28125rem 0.75rem 1.25rem;
	border: 1px solid #d91821;
	border-radius: 2px;
	background-color: transparent;
	color: #000;
	font-size: 1rem;
}

/* Keep WYSIWYG content compact: drop the outer margins of the editor's
   first/last block so the banner padding stays even. */
.gpg-signal-banner__message > :first-child {
	margin-top: 0;
}

.gpg-signal-banner__message > :last-child {
	margin-bottom: 0;
}

.gpg-signal-banner__close {
	position: absolute;
	top: 6px;
	right: 8px;
	z-index: 2;
	padding: 0;
	border: 0;
	background-color: transparent;
	color: #d91821;
	font-size: 2rem;
	line-height: 1;
	opacity: 1;
	cursor: pointer;
}
