/* Public and owned admin notices. Small input validation remains in forms.css. */
:root {
	--otc-notice-error-bg: #ffeded; --otc-notice-error-border: #ff3239;
	--otc-notice-success-bg: #e3fff1; --otc-notice-success-border: #00de70;
	--otc-notice-info-bg: #edf8ff; --otc-notice-info-border: #009ad7;
	--otc-notice-warning-bg: #fff8e6; --otc-notice-warning-border: #b77900;
	--otc-notice-ink: #141414;
}
/* Important geometry resets bridge legacy Woo/admin styles, without styling unowned notices. */
body .otc-notice {
	--notice-bg: var(--otc-notice-info-bg); --notice-border: var(--otc-notice-info-border);
	--notice-icon: url('../images/notices/info.svg'); --notice-icon-size: 24px;
	position: relative; display: block !important; width: auto; max-width: 100%; min-width: 0; height: auto;
	box-sizing: border-box; padding: 10px 20px 10px 52px !important; margin: 0 0 16px;
	border: 1px solid var(--notice-border) !important; border-radius: 10px !important;
	background: var(--notice-bg) !important; color: var(--otc-notice-ink) !important;
	font-family: var(--font-body, 'Inter', sans-serif) !important; font-size: 14px !important;
	font-weight: 400; line-height: 1.5 !important; text-align: left; overflow-wrap: anywhere;
	box-shadow: none !important; text-transform: none; letter-spacing: normal;
}
body .otc-notice::before {
	content: '' !important; position: absolute; inset: 10px auto auto 20px;
	width: var(--notice-icon-size); height: var(--notice-icon-size);
	background: var(--notice-icon) center / var(--notice-icon-size) var(--notice-icon-size) no-repeat;
	font-family: inherit;
}
body .otc-notice::after { content: none !important; }
body .otc-notice--error { --notice-bg: var(--otc-notice-error-bg); --notice-border: var(--otc-notice-error-border); --notice-icon: url('../images/notices/error.svg'); }
body .otc-notice--success {
	--notice-bg: var(--otc-notice-success-bg); --notice-border: var(--otc-notice-success-border);
	--notice-icon: url('../images/notices/success.svg'); --notice-icon-size: 26px;
	padding: 12px 16px 12px 48px !important; border-radius: 12px !important;
}
body .otc-notice--success::before { inset: 9px auto auto 16px; }
body .otc-notice--warning { --notice-bg: var(--otc-notice-warning-bg); --notice-border: var(--otc-notice-warning-border); --notice-icon: url('../images/notices/warning.svg'); }
body .otc-notice[hidden], body .otc-notice:empty { display: none !important; }
body .otc-notice > img, body .otc-notice > svg, body .otc-notice > .dashicons,
body .otc-notice > span[aria-hidden="true"] { display: none; }
body .otc-notice p { margin: 0; color: inherit !important; font: inherit !important; }
body .otc-notice strong { color: inherit !important; font: inherit !important; font-weight: 700 !important; }
body .otc-notice h2 { margin: 0; color: inherit !important; font: 700 14px/1.5 var(--font-body, 'Inter', sans-serif) !important; text-transform: none; letter-spacing: normal; }
body .otc-notice > p + p { margin-top: 6px; }
body #validation-messages.otc-notice { white-space: pre-line; }
body .otc-admin-notice.otc-notice { width: auto; }
body .otc-notice .otc-notice__title { font-weight: 700; font-size: inherit; color: inherit; }
body .otc-notice .otc-notice__list { margin: 0; padding: 0; list-style: none; }
body .otc-notice .otc-notice__list li { margin: 0; padding: 0; font: inherit; }
body .otc-notice .otc-notice__list li + li { margin-top: 6px; }
body .otc-notice a:not(.button) { color: inherit; font-weight: 700; text-decoration: underline; }
body .otc-notice a:focus-visible, body .otc-notice button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
body .otc-notice .button { margin: 4px 8px 4px 0; float: none !important; white-space: normal; }
body .otc-notice:has(> .notice-dismiss, > [data-press-result-dismiss]) { padding-right: 52px !important; }
body .otc-notice > .notice-dismiss, body .otc-notice > [data-press-result-dismiss] { position: absolute; top: 4px; right: 4px; min-width: 44px; min-height: 44px; }
.entradas-field__message, [data-otc-dni-status] { font-family: var(--font-body, 'Inter', sans-serif); }
