.az-chat-optin {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 1999999985;
	display: none;
	width: min(390px, calc(100vw - 32px));
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #17232b;
}

.az-chat-optin.is-visible {
	display: block;
}

.az-chat-optin__launcher,
.az-chat-optin__panel {
	box-sizing: border-box;
}

.az-chat-optin__launcher {
	position: absolute;
	right: 0;
	bottom: 0;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 54px;
	padding: 10px 16px 10px 12px;
	border: 0;
	border-radius: 999px;
	background: #14212b;
	color: #fff;
	box-shadow: 0 16px 42px rgba(15, 32, 42, .26);
	font: inherit;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.az-chat-optin__launcher:hover,
.az-chat-optin__launcher:focus {
	background: #0f1a22;
	box-shadow: 0 18px 48px rgba(15, 32, 42, .32);
	transform: translateY(-1px);
}

.az-chat-optin__launcher:focus-visible,
.az-chat-optin__close:focus-visible,
.az-chat-optin__fallback-link:focus-visible {
	outline: 3px solid rgba(38, 150, 184, .28);
	outline-offset: 3px;
}

.az-chat-optin__launcher-icon {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: linear-gradient(135deg, #2aa8c9 0%, #6fd0b8 100%);
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}

.az-chat-optin__panel {
	display: none;
	overflow: hidden;
	width: 100%;
	max-height: min(82vh, 720px);
	border: 1px solid rgba(24, 74, 89, .16);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 22px 70px rgba(17, 35, 45, .24);
	transform: translateY(10px);
	opacity: 0;
	transition: opacity .22s ease, transform .22s ease;
}

.az-chat-optin.is-open .az-chat-optin__panel {
	display: block;
	transform: translateY(0);
	opacity: 1;
}

.az-chat-optin.is-open .az-chat-optin__launcher {
	display: none;
}

.az-chat-optin__header {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 36px;
	gap: 12px;
	align-items: center;
	padding: 15px 15px 13px;
	background: linear-gradient(135deg, #112330 0%, #1d596a 58%, #2c9c9a 100%);
	color: #fff;
}

.az-chat-optin__avatar {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .34);
	color: #fff;
	font-size: 20px;
	font-weight: 800;
}

.az-chat-optin__gift-icon {
	display: block;
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.az-chat-optin__launcher-icon .az-chat-optin__gift-icon {
	width: 20px;
	height: 20px;
}

.az-chat-optin__eyebrow,
.az-chat-optin__header h2,
.az-chat-optin__lead {
	margin: 0;
}

.az-chat-optin__eyebrow {
	font-size: 12px;
	line-height: 1.2;
	font-weight: 750;
	letter-spacing: .06em;
	text-transform: uppercase;
	opacity: .78;
}

.az-chat-optin__header h2 {
	margin-top: 2px;
	color: inherit;
	font-size: 19px;
	line-height: 1.18;
	font-weight: 820;
}

.az-chat-optin__close {
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .16);
	color: #fff;
	font: inherit;
	font-size: 24px;
	line-height: 30px;
	cursor: pointer;
}

.az-chat-optin__close:hover,
.az-chat-optin__close:focus {
	background: rgba(255, 255, 255, .24);
}

.az-chat-optin__body {
	overflow: auto;
	max-height: calc(min(82vh, 720px) - 72px);
	padding: 18px 18px 20px;
	background: linear-gradient(180deg, #fbfdfe 0%, #fff 36%);
}

.az-chat-optin__lead {
	margin-bottom: 14px;
	color: #425762;
	font-size: 15px;
	line-height: 1.55;
}

.az-chat-optin .sxm-mailpoet-form {
	max-width: none;
	margin: 0;
	color: #17232b;
}

.az-chat-optin .sxm-mailpoet-card {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.az-chat-optin .sxm-mailpoet-card h2 {
	margin-bottom: 8px;
	color: #17232b;
	font-size: 20px;
	line-height: 1.22;
}

.az-chat-optin .sxm-mailpoet-eyebrow {
	color: #1f8ea7;
	font-size: 11px;
}

.az-chat-optin .sxm-mailpoet-intro,
.az-chat-optin .sxm-mailpoet-notice {
	font-size: 14px;
	line-height: 1.45;
	text-align: left;
}

.az-chat-optin .sxm-mailpoet-points {
	margin: 8px 0 12px;
	padding-left: 1.1rem;
	font-size: 11px;
	line-height: 1.28;
	list-style: disc outside;
	text-align: left;
}

.az-chat-optin .sxm-mailpoet-points li {
	display: list-item;
	margin: 0 0 4px;
	white-space: normal;
}

.az-chat-optin .sxm-mailpoet-points li::marker {
	color: #1f8ea7;
}

.az-chat-optin .sxm-mailpoet-fields {
	grid-template-columns: 1fr;
	gap: 10px;
	margin: 14px 0;
}

.az-chat-optin .sxm-mailpoet-fields label {
	font-size: 14px;
}

.az-chat-optin .sxm-mailpoet-fields span {
	margin-bottom: 4px;
}

.az-chat-optin .sxm-mailpoet-fields input {
	min-height: 44px;
	padding: 11px 12px;
	border-radius: 10px;
	background: #f7fbfc;
}

.az-chat-optin .sxm-mailpoet-submit {
	width: 100%;
	min-height: 48px;
	border-radius: 12px;
	background: #1d869f;
	box-shadow: 0 12px 24px rgba(29, 134, 159, .2);
}

.az-chat-optin .sxm-mailpoet-submit:hover,
.az-chat-optin .sxm-mailpoet-submit:focus {
	background: #176f84;
}

.az-chat-optin__fallback {
	margin: 0 0 10px;
	color: #425762;
	font-size: 15px;
	line-height: 1.5;
}

.az-chat-optin__fallback-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	border-radius: 12px;
	background: #1d869f;
	color: #fff !important;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 12px 24px rgba(29, 134, 159, .2);
}

@media (max-width: 782px) {
	.az-chat-optin {
		right: 12px;
		bottom: 12px;
		left: 12px;
		width: auto;
	}

	.az-chat-optin__launcher {
		right: 0;
		max-width: 100%;
		min-height: 52px;
	}

	.az-chat-optin__panel {
		max-height: min(86vh, 680px);
		border-radius: 18px 18px 14px 14px;
	}

	.az-chat-optin__body {
		max-height: calc(min(86vh, 680px) - 72px);
		padding: 16px;
	}

	.az-chat-optin__header {
		grid-template-columns: 40px minmax(0, 1fr) 34px;
		padding: 13px;
	}

	.az-chat-optin__avatar {
		width: 40px;
		height: 40px;
	}

	.az-chat-optin__header h2 {
		font-size: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.az-chat-optin__launcher,
	.az-chat-optin__panel {
		transition: none;
	}
}
