/* IMS Forms — submission feedback messages */

.ims-form-message {
	margin-top: 14px;
	padding: 12px 16px;
	border-radius: 8px;
	font-family: 'Inter', -apple-system, sans-serif;
	font-size: 13.5px;
	line-height: 1.5;
}

.ims-form-message--success {
	background: rgba(39, 174, 96, 0.12);
	border: 1px solid rgba(39, 174, 96, 0.35);
	color: #1e8449;
}

.ims-form-message--error {
	background: rgba(231, 76, 60, 0.1);
	border: 1px solid rgba(231, 76, 60, 0.35);
	color: #c0392b;
}

/* On dark backgrounds (contact-split right column, contact-form on-dark) */
.ims-contact-split__form .ims-form-message--success,
.ims-contact-form.on-dark .ims-form-message--success {
	background: rgba(46, 204, 113, 0.15);
	border-color: rgba(46, 204, 113, 0.4);
	color: #58d68d;
}

.ims-contact-split__form .ims-form-message--error,
.ims-contact-form.on-dark .ims-form-message--error {
	background: rgba(231, 76, 60, 0.15);
	border-color: rgba(231, 76, 60, 0.4);
	color: #ff8a75;
}

/* Newsletter form message: smaller, tighter to fit footer layout */
.ims-site-footer__newsletter-form {
	position: relative;
}
.ims-site-footer .ims-form-message {
	margin-top: 8px;
	font-size: 12.5px;
	padding: 8px 12px;
}
.ims-site-footer .ims-form-message--success {
	background: rgba(46, 204, 113, 0.12);
	border-color: rgba(46, 204, 113, 0.35);
	color: #58d68d;
}
.ims-site-footer .ims-form-message--error {
	background: rgba(231, 76, 60, 0.12);
	border-color: rgba(231, 76, 60, 0.35);
	color: #ff8a75;
}

/* Disabled submit button state while sending */
.ims-contact-form__submit:disabled,
.ims-contact-split__submit:disabled,
.ims-site-footer__newsletter-form button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}
