.aitm-global-banner {
	--aitm-banner-accent: #1E4FD8;
	--aitm-banner-accent-hover: #1740B0;
	--aitm-banner-border: #E1E6EE;
	background: #fff;
	border: 1px solid var(--aitm-banner-border);
	border-radius: 10px;
	box-sizing: border-box;
	color: #0f172a;
	margin: 1rem auto;
	max-width: min(var(--aitm-banner-max-width, 640px), calc(100% - 2rem));
	overflow-wrap: break-word;
	padding: 0.9rem 1rem;
	width: auto;
	word-break: normal;
}

.aitm-global-banner__inner {
	align-items: flex-start;
	display: flex;
	gap: 0.75rem;
	justify-content: space-between;
}

.aitm-global-banner--acknowledgement .aitm-global-banner__inner {
	align-items: flex-end;
	flex-direction: column;
}

.aitm-global-banner__text {
	font-size: 0.95rem;
	line-height: 1.45;
	margin: 0;
	overflow-wrap: break-word;
	word-break: normal;
}

.aitm-global-banner__button {
	background: var(--aitm-banner-accent);
	border: 0;
	border-radius: 8px;
	color: #ffffff;
	cursor: pointer;
	flex: 0 0 auto;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.25;
	padding: 0.55rem 0.85rem;
	transition: background-color 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}

.aitm-global-banner__button:focus,
.aitm-global-banner__button:hover {
	background: var(--aitm-banner-accent-hover);
	box-shadow: 0 2px 8px rgba(30, 79, 216, 0.22);
	filter: none;
}

.aitm-global-banner__button:focus-visible {
	outline: 2px solid rgba(30, 79, 216, 0.35);
	outline-offset: 2px;
}

.aitm-global-banner--fixed {
	margin: 0;
	max-width: min(var(--aitm-banner-max-width, 420px), calc(100% - 2rem));
	position: fixed;
	width: max-content;
	z-index: 9998;
}

.aitm-global-banner--shadow {
	box-shadow: 0 1px 2px rgba(16, 25, 43, 0.04), 0 8px 24px rgba(16, 25, 43, 0.08);
}

.aitm-global-banner--no-shadow {
	box-shadow: none;
}

.aitm-global-banner--fixed-top_left,
.aitm-global-banner--fixed-bottom_left {
	margin-right: 1rem;
}

.aitm-global-banner--fixed-top_right,
.aitm-global-banner--fixed-bottom_right {
	margin-left: 1rem;
}

.aitm-global-banner--acknowledged {
	display: none;
}

.aitm-global-banner--fixed.aitm-global-banner--mobile-full {
	border-radius: 10px 10px 0 0;
	bottom: 0 !important;
	left: 0 !important;
	margin: 0;
	max-width: none !important;
	right: 0 !important;
	top: auto !important;
	width: auto;
}

.aitm-global-banner--mobile-full .aitm-global-banner__inner {
	align-items: stretch;
}

.aitm-global-banner--mobile-full .aitm-global-banner__button {
	width: 100%;
}

@media (max-width: 768px) {
	.aitm-global-banner--fixed {
		max-width: 320px;
	}
}

@media (max-width: 640px) {
	.aitm-global-banner__inner {
		flex-direction: column;
	}
}
