.godin-floating-chat {
	position: fixed;
	z-index: 9999;
	bottom: 22px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.godin-floating-chat--right {
	right: 22px;
}

.godin-floating-chat--left {
	left: 22px;
	align-items: flex-start;
}

.godin-floating-chat__button {
	width: var( --godin-floating-chat-button-size, 64px );
	height: var( --godin-floating-chat-button-size, 64px );
	border: 0;
	border-radius: 50%;
	padding: 0;
	background: transparent;
	box-shadow: 0 14px 35px rgba( 17, 24, 39, 0.28 );
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 160ms ease, box-shadow 160ms ease;
	overflow: hidden;
}

.godin-floating-chat__button:hover,
.godin-floating-chat__button:focus-visible {
	transform: translateY( -2px );
	box-shadow: 0 18px 42px rgba( 17, 24, 39, 0.34 );
}

.godin-floating-chat__button:focus-visible {
	outline: 3px solid #f59e0b;
	outline-offset: 3px;
}

.godin-floating-chat__button img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.godin-floating-chat__default-icon {
	position: relative;
	width: calc( var( --godin-floating-chat-button-size, 64px ) * 0.5 );
	height: calc( var( --godin-floating-chat-button-size, 64px ) * 0.375 );
	border: 3px solid #111827;
	border-radius: 9px;
}

.godin-floating-chat__default-icon::after {
	content: "";
	position: absolute;
	right: 4px;
	bottom: -8px;
	width: 10px;
	height: 10px;
	background: transparent;
	border-right: 3px solid #111827;
	border-bottom: 3px solid #111827;
	transform: rotate( 45deg );
}

.godin-floating-chat__default-icon::before {
	content: "";
	position: absolute;
	left: 7px;
	top: 8px;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #111827;
	box-shadow: 8px 0 0 #111827, 16px 0 0 #111827;
}
.godin-floating-chat__panel {
	width: min( 280px, calc( 100vw - 44px ) );
	padding: 12px;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 18px 48px rgba( 15, 23, 42, 0.2 );
	border: 1px solid rgba( 15, 23, 42, 0.08 );
}

.godin-floating-chat__heading {
	color: #111827;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	margin: 2px 4px 10px;
}

.godin-floating-chat__channels {
	display: grid;
	gap: 8px;
}

.godin-floating-chat__channel {
	min-height: 48px;
	display: flex;
	align-items: center;
	gap: 10px;
	border-radius: 8px;
	padding: 10px 12px;
	background: #f9fafb;
	color: #111827;
	text-decoration: none;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	transition: background-color 140ms ease, transform 140ms ease;
}

.godin-floating-chat__channel:hover,
.godin-floating-chat__channel:focus-visible {
	background: #eef2f7;
	color: #111827;
	transform: translateY( -1px );
	text-decoration: none;
}

.godin-floating-chat__channel:focus-visible {
	outline: 2px solid #111827;
	outline-offset: 2px;
}

.godin-floating-chat__channel-icon {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 30px;
	font-size: 13px;
	font-weight: 800;
}

.godin-floating-chat__channel--line .godin-floating-chat__channel-icon {
	background: #06c755;
}

.godin-floating-chat__channel--whatsapp .godin-floating-chat__channel-icon {
	background: #25d366;
}

.godin-floating-chat__channel--messenger .godin-floating-chat__channel-icon {
	background: #168aff;
}

.godin-floating-chat__channel-label {
	min-width: 0;
	overflow-wrap: anywhere;
}

@media ( max-width: 600px ) {
	.godin-floating-chat {
		--godin-floating-chat-button-size: 58px !important;
		bottom: 16px;
	}

	.godin-floating-chat--right {
		right: 16px;
	}

	.godin-floating-chat--left {
		left: 16px;
	}

	.godin-floating-chat__button {
		width: 58px !important;
		height: 58px !important;
	}

	.godin-floating-chat__button img {
		width: 58px !important;
		height: 58px !important;
	}

	.godin-floating-chat__default-icon {
		width: 29px !important;
		height: 22px !important;
	}
}
