.wp-block-form-submission-notification {
	> * {
		opacity: 0.25;
		border: 1px dashed;
		box-sizing: border-box;
		background: repeating-linear-gradient(45deg, transparent, transparent 5px, currentColor 5px, currentColor 6px);
	}

	&.is-selected,
	&:has(.is-selected) {
		> * {
			opacity: 1;
			background: none;
		}

		&::after {
			display: none !important;
		}
	}

	&::after {
		display: flex;
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		justify-content: center;
		align-items: center;
		font-size: 1.1em;
		// font-weight: bold;
	}

	&.form-notification-type-success {
		&::after {
			content: attr(data-message-success);
		}
	}

	&.form-notification-type-error {
		&::after {
			content: attr(data-message-error);
		}
	}
}
