/* Externalise de la modification #56 le 23/08/2026 (G6M_EXTERNALISATION_V1016).
   Ce bloc etait inline dans PAGE_CONTAINER : il repartait donc dans le HTML de
   CHAQUE page, sans jamais etre mis en cache. En fichier, il est recupere une
   fois puis servi depuis le cache.
   Le <link> occupe la position EXACTE de l ancien <style> : l ordre de cascade
   est donc rigoureusement identique. */

/* G6M_LOGIN_ERROR_PLACE_V494
   Fix orphaned CAPTCHA/login error under Connexion rapide.
   Place it in the form column and style as a clear alert.
*/

html#XF[data-template="login"] .g6m397-col--form > .blockMessage,
html#XF[data-template="login"] .g6m397-col--form .blockMessage--error,
html#XF[data-template="login"] .g6m397-col--form .blockMessage--iconic {
	display: flex !important;
	align-items: flex-start !important;
	gap: 10px !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	margin: 0 0 14px !important;
	padding: 12px 14px !important;
	border-radius: 12px !important;
	border: 1px solid rgba(255, 90, 120, 0.42) !important;
	background:
		linear-gradient(180deg, rgba(255, 70, 110, 0.14), rgba(255, 70, 110, 0.06)),
		rgba(28, 12, 20, 0.92) !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.06),
		0 10px 22px rgba(0, 0, 0, 0.28) !important;
	color: #ffd5de !important;
	font-size: 0.86rem !important;
	font-weight: 500 !important;
	line-height: 1.45 !important;
}

html#XF[data-template="login"] .g6m397-col--form > .blockMessage--error::before,
html#XF[data-template="login"] .g6m397-col--form .blockMessage--error.blockMessage--iconic::before {
	flex: 0 0 auto !important;
	margin-top: 1px !important;
	filter: drop-shadow(0 0 6px rgba(255, 80, 110, 0.35)) !important;
}

/* Never leave error banners stretched under the full page / quick row */
html#XF[data-template="login"] .p-body-pageContent > .blockMessage,
html#XF[data-template="login"] .g6m397-grid ~ .blockMessage,
html#XF[data-template="login"] .p-body-inner > .blockMessage {
	max-width: min(420px, 100%) !important;
}

/* END G6M_LOGIN_ERROR_PLACE_V494 */

