/**
 * B&J Verhuur — native WooCommerce feedback messages.
 * Only presentation. WooCommerce still owns notice data, validation and links.
 * Pale blue confirmation/info canvas, white error canvas, dark #063649 text.
 * Existing border and B&J actions stay unchanged.
 */
body :is(.woocommerce-notices-wrapper .woocommerce-message, .woocommerce-message),
body :is(.woocommerce-notices-wrapper .woocommerce-info, .woocommerce-info),
body :is(.woocommerce-notices-wrapper .woocommerce-error, .woocommerce-error) {
	position: relative;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	column-gap: 18px;
	row-gap: 10px;
	min-height: 64px;
	margin: 0 0 24px;
	padding: 14px 16px 14px 54px;
	border: 1px solid var(--bj-ui-border-soft, #d9dadd) !important;
	border-radius: 10px;
	background: #ffffff !important;
	box-shadow: none !important;
	color: #063649 !important;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.55;
	list-style: none;
	box-sizing: border-box;
}
/* A soft blue confirmation surface, without changing WooCommerce notices,
   the existing borders, or the separate warning/error appearance. */
body :is(.woocommerce-notices-wrapper .woocommerce-message, .woocommerce-message),
body :is(.woocommerce-notices-wrapper .woocommerce-info, .woocommerce-info) {
	background: #EAF5FB !important;
}

body :is(.woocommerce-notices-wrapper .woocommerce-message, .woocommerce-message)::before,
body :is(.woocommerce-notices-wrapper .woocommerce-info, .woocommerce-info)::before,
body :is(.woocommerce-notices-wrapper .woocommerce-error, .woocommerce-error)::before {
	position: absolute;
	top: 50%;
	left: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	margin: 0;
	padding: 0;
	transform: translateY(-50%);
	border-radius: 50%;
	background: #ffffff;
	color: #007aa6;
	content: "✓";
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
}
body :is(.woocommerce-notices-wrapper .woocommerce-info, .woocommerce-info)::before {
	content: "i";
}
body :is(.woocommerce-notices-wrapper .woocommerce-error, .woocommerce-error)::before {
	content: "!";
	background: #fcedea;
	color: #b5332b;
}
body :is(.woocommerce-notices-wrapper .woocommerce-message, .woocommerce-message) :is(p, li, strong, span),
body :is(.woocommerce-notices-wrapper .woocommerce-info, .woocommerce-info) :is(p, li, strong, span),
body :is(.woocommerce-notices-wrapper .woocommerce-error, .woocommerce-error) :is(p, li, strong, span) {
	color: #063649;
}
body :is(.woocommerce-notices-wrapper .woocommerce-message, .woocommerce-message) a.button,
body :is(.woocommerce-notices-wrapper .woocommerce-info, .woocommerce-info) a.button,
body :is(.woocommerce-notices-wrapper .woocommerce-error, .woocommerce-error) a.button,
body :is(.woocommerce-notices-wrapper .woocommerce-message, .woocommerce-message) a.wc-forward,
body :is(.woocommerce-notices-wrapper .woocommerce-info, .woocommerce-info) a.wc-forward {
	order: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	float: none !important;
	flex: 0 0 auto;
	min-height: 44px;
	margin: 0 0 0 auto;
	padding: 10px 18px;
	border: 1px solid transparent !important;
	border-radius: 8px;
	background: var(--bj-ui-action, #007aa6) !important;
	box-shadow: none !important;
	color: #ffffff !important;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	text-align: center;
	white-space: normal;
	cursor: pointer;
	box-sizing: border-box;
}
body :is(.woocommerce-notices-wrapper .woocommerce-message, .woocommerce-message) a:is(.button, .wc-forward):hover,
body :is(.woocommerce-notices-wrapper .woocommerce-info, .woocommerce-info) a:is(.button, .wc-forward):hover,
body :is(.woocommerce-notices-wrapper .woocommerce-error, .woocommerce-error) a.button:hover {
	background: var(--bj-ui-deep, #07506e) !important;
	color: #ffffff !important;
	text-decoration: none;
}
body :is(.woocommerce-notices-wrapper .woocommerce-message, .woocommerce-message) a:is(.button, .wc-forward):focus-visible,
body :is(.woocommerce-notices-wrapper .woocommerce-info, .woocommerce-info) a:is(.button, .wc-forward):focus-visible,
body :is(.woocommerce-notices-wrapper .woocommerce-error, .woocommerce-error) a.button:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
	box-shadow: 0 0 0 4px #007aa6 !important;
}
body .woocommerce-error li + li {
	margin-top: 8px;
}
@media (max-width: 639px) {
	body :is(.woocommerce-notices-wrapper .woocommerce-message, .woocommerce-message),
	body :is(.woocommerce-notices-wrapper .woocommerce-info, .woocommerce-info),
	body :is(.woocommerce-notices-wrapper .woocommerce-error, .woocommerce-error) {
		padding: 14px 14px 14px 48px;
		gap: 10px;
	}
	body :is(.woocommerce-notices-wrapper .woocommerce-message, .woocommerce-message) a:is(.button, .wc-forward),
	body :is(.woocommerce-notices-wrapper .woocommerce-info, .woocommerce-info) a:is(.button, .wc-forward),
	body :is(.woocommerce-notices-wrapper .woocommerce-error, .woocommerce-error) a.button {
		width: 100%;
		margin: 4px 0 0;
	}
}
