/* Bitrix24 Live Chat (Garda theme) */

/* Font to match site (Manrope is already loaded site-wide) */
.bx-livechat-wrapper,
.bx-livechat-wrapper *,
.bx-im-messenger,
.bx-im-messenger * {
	font-family: "Manrope", "Montserrat", Arial, sans-serif !important;
}

/* Keep default widget button visible; only restyle widget */
.bx-livechat-head {
	background: #0C181A !important;
	font-weight: 600 !important;
}

.bx-livechat-title {
	font-weight: 600 !important;
}

.bx-livechat-copyright {
	display: none !important;
}

.bx-im-textarea-send-button-bright-arrow {
	background: transparent !important;
	box-shadow: none !important;
	border: none !important;
	position: relative !important;
	width: 32px !important;
	height: 32px !important;
	min-width: 32px !important;
	min-height: 32px !important;
	padding: 0 !important;
}

/* Send icon color */
.bx-im-textarea-send-button-bright-arrow,
.bx-im-textarea-send-button-bright-arrow * {
	color: #57A7B3 !important;
	fill: #57A7B3 !important;
	stroke: #57A7B3 !important;
}

.bx-im-textarea-send-button-bright-arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	transform: translate(-50%, -50%);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 4L21 12L4 20L7 12L4 4Z' fill='%2357A7B3'/%3E%3C/svg%3E");
}

/* Consent block typography */
.bx-livechat-consent-window,
.bx-livechat-consent-window * {
	font-family: "Montserrat", Arial, sans-serif !important;
	text-transform: none !important;
	font-weight: 400 !important;
}

/* Consent buttons */
.bx-livechat-btn.bx-livechat-btn-success {
	background: #57A7B3 !important;
	border-color: #57A7B3 !important;
	color: #ffffff !important;
}

.bx-livechat-consent-window .bx-livechat-btn {
	font-family: "Montserrat", Arial, sans-serif !important;
	text-transform: none !important;
	font-weight: 400 !important;
}

.bx-livechat-chat-start .bx-livechat-body-with-message {
	background: #F4FCFE !important;
	background-image: none !important;
}

/* Broader overrides for chat background */
.bx-livechat-body,
.bx-livechat-body-with-message,
.bx-livechat-dialog,
.bx-livechat-wrapper {
	background: #F4FCFE !important;
	background-image: none !important;
}

/* Compact chat body */
.bx-livechat-body {
	height: 300px !important;
	max-height: 300px !important;
}

/* Remove extra empty space inside chat box */
.bx-livechat-box {
	min-height: 0 !important;
	height: auto !important;
	padding-bottom: 0 !important;
}

.bx-livechat-body,
.bx-livechat-body-with-message {
	margin-bottom: 0 !important;
}

/* Trim wrapper spacing */
.bx-livechat-wrapper {
	height: auto !important;
	min-height: 0 !important;
	padding-bottom: 0 !important;
}

/* Rounded outer chat container */
.bx-livechat-wrapper,
.bx-livechat-dialog,
.bx-livechat-box {
	border-radius: 16px !important;
	overflow: hidden !important;
}
