.gdv-chat-wrap {
	max-width: 1400px;
}

.gdv-chat-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin: 8px 0 12px;
}

.gdv-chat-heading h1 {
	margin: 0;
}

.gdv-chat-heading-hello {
	display: flex;
	align-items: center;
	gap: 8px;
}

.gdv-chat-heading-hello .gdv-desk-who-wave {
	display: block;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
}

.gdv-chat-heading-hello .gdv-desk-who-label {
	font-weight: 500;
	color: #646970;
}

.gdv-chat-heading-hello .gdv-desk-who-name {
	font-weight: 700;
}

.gdv-chat-heading-meta {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.gdv-chat-tab-panel[hidden] {
	display: none !important;
}

.gdv-chat-incoming {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	background: #fff4e5;
	border: 1px solid #dba617;
	border-radius: 8px;
	padding: 12px 16px;
	margin: 12px 0;
}

.gdv-chat-incoming[hidden] {
	display: none;
}

.gdv-chat-incoming p {
	margin: 4px 0 0;
}

.gdv-chat-incoming-actions {
	display: flex;
	gap: 8px;
}

.gdv-chat-toolbar {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin: 12px 0;
}

.gdv-chat-toolbar-actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 8px;
}

.gdv-chat-agents-wrap {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.gdv-desk-bar-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #646970;
}

.gdv-chat-agents {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.gdv-chat-agents-empty {
	color: #8c8f94;
	font-size: 13px;
}

.gdv-chat-agent-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f0f6fc;
	color: #1d2327;
	border-radius: 999px;
	padding: 3px 10px 3px 8px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}

.gdv-chat-agent-chip.is-me {
	background: #dbeafe;
	box-shadow: inset 0 0 0 1px #2271b1;
}

.gdv-chat-agent-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2271b1;
	flex: 0 0 auto;
}

.gdv-chat-agent-name {
	max-width: 160px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gdv-chat-mute {
	display: inline-flex !important;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	white-space: nowrap;
	height: 30px;
	min-height: 30px;
	line-height: 1 !important;
	padding: 0 10px !important;
	box-sizing: border-box;
}

.gdv-chat-mute svg {
	width: 16px;
	height: 16px;
	display: block;
	flex: 0 0 16px;
}

.gdv-chat-mute .gdv-chat-mute-off {
	display: none;
}

.gdv-chat-mute.is-off .gdv-chat-mute-on {
	display: none;
}

.gdv-chat-mute.is-off .gdv-chat-mute-off {
	display: block;
}

.gdv-chat-mute.is-off {
	color: #d63638;
}

.gdv-chat-ready {
	font-weight: 600;
}

.gdv-chat-live-flag {
	display: flex;
	align-items: center;
	gap: 6px;
}

.gdv-chat-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #dcdcde;
	display: inline-block;
}

.gdv-chat-dot.is-on {
	background: #00a32a;
}

.gdv-chat-dot.is-off {
	background: #d63638;
}

.gdv-chat-desk {
	display: grid;
	grid-template-columns: 300px 1fr;
	height: 600px;
	max-height: calc(100dvh - 200px);
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	overflow: hidden;
}

.gdv-chat-list-col {
	display: flex;
	flex-direction: column;
	border-right: 1px solid #dcdcde;
	overflow: hidden;
	min-height: 0;
	height: 100%;
}

.gdv-chat-list-search {
	flex: 0 0 auto;
	padding: 8px;
	border-bottom: 1px solid #f0f0f1;
	background: #fff;
}

.gdv-chat-list-search input[type="search"] {
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	margin: 0;
	padding: 7px 10px;
	border: 1px solid #c3c4c7;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.4;
}

.gdv-chat-list {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
}

.gdv-chat-item {
	display: block;
	width: 100%;
	text-align: left;
	border: 0;
	border-bottom: 1px solid #f0f0f1;
	background: #fff;
	padding: 12px 8px 12px 12px;
	cursor: pointer;
	position: relative;
}

.gdv-chat-item:hover,
.gdv-chat-item.is-active {
	background: #f0f6fc;
}

.gdv-chat-item-row {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 4px 8px;
	width: 100%;
	padding-right: 0;
	box-sizing: border-box;
}

.gdv-chat-item-sub {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	min-width: 0;
	margin-top: 3px;
	padding-right: 72px;
	box-sizing: border-box;
}

.gdv-chat-item-who {
	display: flex;
	align-items: center;
	gap: 4px;
	min-width: 0;
	flex: 1 1 auto;
}

.gdv-chat-item-name {
	flex: 0 1 auto;
	font-weight: 700;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: normal;
}

.gdv-chat-item small {
	display: block;
	color: #646970;
	margin-top: 3px;
	line-height: 1.4;
}

.gdv-chat-item-meta {
	flex: 1 1 auto;
	min-width: 0;
	margin-top: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding-right: 0;
}

.gdv-chat-item-phone {
	color: #1d2327;
	font-weight: 700;
	font-size: 13px;
}

.gdv-chat-item-agent {
	position: absolute;
	right: 8px;
	top: auto;
	margin: 0;
	flex: 0 0 auto;
	max-width: 46%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding: 2px 8px;
	border: 1px solid #dcdcde;
	border-radius: 999px;
	background: #fff;
	color: #8c8f94;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.3;
	box-sizing: border-box;
}

.gdv-chat-item-started {
	display: flex !important;
	align-items: center;
	gap: 5px;
	padding-right: 36px;
}

.gdv-chat-item-started svg {
	flex: 0 0 13px;
	color: #8c8f94;
}

.gdv-chat-item-ip {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gdv-chat-head-watch {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	min-width: 0;
	margin-top: 4px;
}

.gdv-chat-head-agent {
	display: inline-block;
	flex: 0 0 auto;
	margin: 0 0 0 auto;
	max-width: 42%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding: 2px 8px;
	border: 1px solid #dcdcde;
	border-radius: 999px;
	background: #fff;
	color: #8c8f94;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.3;
	box-sizing: border-box;
}

.gdv-chat-item-preview {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding-right: 36px;
}

.gdv-chat-status {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	padding: 1px 6px;
	border-radius: 999px;
	margin-left: 0;
	flex: 0 0 auto;
}

.gdv-chat-status.is-waiting,
.gdv-chat-status.is-ringing {
	background: #fcf9e8;
	color: #9d6e00;
}

.gdv-chat-status.is-active {
	background: #edfaef;
	color: #007017;
}

.gdv-chat-status.is-closed {
	background: #f0f0f1;
	color: #50575e;
}

.gdv-chat-item-time {
	position: static;
	flex: 1 0 100%;
	margin: 2px 0 0;
	font-size: 11px;
	font-weight: 400;
	color: #8c8f94;
	white-space: nowrap;
	line-height: 1.2;
}

.gdv-chat-rename {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #8c8f94;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	box-shadow: none;
}

.gdv-chat-rename svg {
	display: block;
}

.gdv-chat-rename:hover,
.gdv-chat-rename:focus {
	color: #2271b1;
	background: #e7f0f7;
	outline: none;
}

.gdv-chat-pane {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
	height: 100%;
	overflow: hidden;
}

.gdv-admin-pane-headwrap {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 6px 12px;
	border-bottom: 1px solid #dcdcde;
	box-sizing: border-box;
}

.gdv-admin-pane-headwrap .gdv-chat-pane-head {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0;
	border-bottom: 0;
}

.gdv-admin-pane-side {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 6px;
	flex: 0 0 auto;
	min-width: max-content;
	overflow: visible;
}

.gdv-chat-pane-actions {
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 6px;
}

.gdv-chat-transfer {
	position: relative;
}

.gdv-chat-transfer[hidden] {
	display: none;
}

.gdv-admin-pane-headwrap #gdv-chat-transfer-btn {
	flex: 0 0 auto;
	height: 22px;
	min-height: 22px;
	margin: 0;
	padding: 0 10px;
	line-height: 20px;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
	box-sizing: border-box;
}

.gdv-admin-pane-headwrap #gdv-chat-transfer-btn:hover,
.gdv-admin-pane-headwrap #gdv-chat-transfer-btn:focus {
	background: #135e96;
	border-color: #135e96;
	color: #fff;
}

.gdv-chat-transfer-menu {
	position: fixed;
	right: 0;
	top: auto;
	z-index: 100000;
	min-width: 180px;
	max-width: 260px;
	max-height: 240px;
	overflow: auto;
	padding: 4px;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.gdv-chat-transfer-empty {
	margin: 0;
	padding: 8px 10px;
	font-size: 12px;
	color: #646970;
}

.gdv-chat-transfer-item {
	display: block;
	width: 100%;
	margin: 0;
	padding: 7px 10px;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #1d2327;
	font-size: 12px;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
}

.gdv-chat-transfer-item:hover,
.gdv-chat-transfer-item:focus {
	background: #f0f6fc;
	color: #135e96;
}

.gdv-admin-pane-headwrap #gdv-chat-end {
	flex: 0 0 auto;
	height: 22px;
	min-height: 22px;
	margin: 0;
	padding: 0 10px;
	line-height: 20px;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
	background: #d63638;
	border-color: #d63638;
	color: #fff;
	box-sizing: border-box;
}

.gdv-admin-pane-headwrap #gdv-chat-end:hover,
.gdv-admin-pane-headwrap #gdv-chat-end:focus {
	background: #b32d2e;
	border-color: #b32d2e;
	color: #fff;
}

.gdv-admin-pane-headwrap #gdv-chat-end.is-ended,
.gdv-admin-pane-headwrap #gdv-chat-end:disabled {
	background: #f8d7da;
	border-color: #d63638;
	color: #b32d2e;
	opacity: 1;
}

.gdv-admin-pane-headwrap #gdv-chat-end[hidden] {
	display: none !important;
}

.gdv-admin-pane-headwrap #gdv-chat-end.is-mailing {
	position: relative;
	color: transparent !important;
	pointer-events: none;
}

.gdv-admin-pane-headwrap #gdv-chat-end.is-mailing::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 12px;
	margin: -6px 0 0 -6px;
	border: 2px solid rgba(179, 45, 46, 0.28);
	border-top-color: #b32d2e;
	border-radius: 50%;
	animation: gdv-chat-spin 0.6s linear infinite;
}

.gdv-admin-agent-slot {
	display: block;
	max-width: none;
}

.gdv-admin-agent-slot .gdv-chat-head-agent {
	display: block;
	height: 22px;
	margin: 0;
	max-width: none;
	padding: 0 8px;
	line-height: 20px;
	text-align: center;
	box-sizing: border-box;
}

.gdv-chat-pane-head {
	padding: 6px 12px;
	border-bottom: 1px solid #dcdcde;
}

.gdv-chat-pane-head p {
	margin: 0;
}

.gdv-chat-head-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	font-size: 13px;
	line-height: 1.3;
	white-space: nowrap;
}

.gdv-chat-head-who {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex: 0 1 auto;
	min-width: 0;
	max-width: 100%;
}

.gdv-chat-head-name {
	flex: 0 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gdv-chat-head-bits {
	color: #646970;
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gdv-chat-head-url {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 1 1 auto;
	margin: 0;
	min-width: 0;
	max-width: 100%;
	color: #646970;
}

.gdv-chat-head-viewing {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	color: #d63638;
}

.gdv-chat-head-viewing svg {
	display: block;
}

.gdv-chat-head-url a {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: inherit;
	text-decoration: none;
}

.gdv-chat-head-url a:hover {
	color: #2271b1;
	text-decoration: underline;
}

.gdv-chat-pane-msgs {
	flex: 1;
	overflow-y: auto;
	padding: 12px 16px;
	background: #f6f7f7;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: 0;
}

.gdv-chat-row {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	max-width: min(420px, 72%);
}

.gdv-chat-row.is-staff {
	align-self: flex-start;
}

.gdv-chat-row.is-guest {
	align-self: flex-end;
}

.gdv-chat-row-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	max-width: 100%;
}

.gdv-chat-row.is-guest .gdv-chat-row-body {
	align-items: flex-end;
}

.gdv-chat-row.is-staff .gdv-chat-row-body {
	align-items: flex-start;
}

.gdv-chat-msg {
	max-width: 100%;
	padding: 8px 10px;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.4;
	overflow-wrap: anywhere;
	word-break: break-word;
	white-space: pre-wrap;
}

.gdv-chat-msg.is-guest {
	background: #0f7b4a;
	color: #fff;
}

.gdv-chat-row.is-typing .gdv-chat-msg {
	min-width: 52px;
	padding: 10px 14px;
}

.gdv-chat-typing-label {
	font-size: 11px;
	line-height: 1.3;
	color: #8c8f94;
}

.gdv-chat-dots {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.gdv-chat-dots i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #8c8f94;
	display: block;
	animation: gdv-chat-wait-dot 1.1s infinite ease-in-out;
}

.gdv-chat-row.is-guest.is-typing .gdv-chat-dots i {
	background: rgba(255, 255, 255, 0.85);
}

.gdv-chat-dots i:nth-child(2) {
	animation-delay: 0.15s;
}

.gdv-chat-dots i:nth-child(3) {
	animation-delay: 0.3s;
}

@keyframes gdv-chat-wait-dot {
	0%,
	80%,
	100% {
		opacity: 0.3;
		transform: translateY(0);
	}
	40% {
		opacity: 1;
		transform: translateY(-4px);
	}
}

.gdv-chat-msg.is-staff {
	background: #fff;
	border: 1px solid #dcdcde;
}

.gdv-chat-link {
	color: inherit;
	text-decoration: underline;
	word-break: break-all;
}

.gdv-chat-msg.is-staff .gdv-chat-link {
	color: #0f7b4a;
}

.gdv-chat-msg.is-guest .gdv-chat-link {
	color: #fff;
}

.gdv-chat-msg.is-image {
	padding: 4px;
	max-width: 260px;
	background: #fff;
	white-space: normal;
}

.gdv-chat-row.is-guest .gdv-chat-msg.is-image {
	border: 1px solid #dcdcde;
}

.gdv-chat-msg.is-image a {
	display: block;
	line-height: 0;
	cursor: zoom-in;
}

.gdv-chat-msg.is-image img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.gdv-chat-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100010;
	background: rgba(15, 15, 18, 0.82);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 28px 20px;
}

.gdv-chat-lightbox[hidden] {
	display: none !important;
}

.gdv-chat-lightbox img {
	max-width: min(92vw, 1080px);
	max-height: 86vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 10px;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.gdv-chat-lightbox-close {
	position: absolute;
	top: 14px;
	right: 16px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.gdv-chat-lightbox-close:hover {
	background: rgba(255, 255, 255, 0.28);
}

.gdv-chat-msg.is-system {
	align-self: center;
	background: transparent;
	color: #646970;
	font-size: 12px;
	text-align: center;
	max-width: 95%;
	padding: 0;
}

.gdv-chat-avatar {
	flex: 0 0 auto;
	border-radius: 50%;
	overflow: hidden;
	display: block;
	line-height: 0;
}

.gdv-chat-avatar.is-sm {
	width: 28px;
	height: 28px;
	margin-top: 2px;
}

.gdv-chat-avatar.is-lg {
	width: 56px;
	height: 56px;
}

.gdv-chat-avatar.is-logo {
	background: #fff;
}

.gdv-chat-avatar svg,
.gdv-chat-avatar img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.gdv-chat-event {
	align-self: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
	padding: 10px 8px 4px;
	max-width: 95%;
}

.gdv-chat-event-text {
	margin: 0;
	font-size: 13px;
	color: #787c82;
}

.gdv-chat-event-text strong {
	color: #3c434a;
	font-weight: 700;
}

.gdv-chat-meta {
	display: flex;
	align-items: center;
	gap: 5px;
}

.gdv-chat-row.is-guest .gdv-chat-meta {
	justify-content: flex-end;
}

.gdv-chat-receipt {
	font-size: 11px;
	line-height: 1;
	letter-spacing: -1px;
	color: #b4b7bb;
	user-select: none;
}

.gdv-chat-receipt.is-delivered {
	color: #8c8f94;
}

.gdv-chat-receipt.is-seen {
	color: #1a73e8;
}

.gdv-chat-time {
	display: block;
	font-size: 11px;
	line-height: 1.3;
	color: #8c8f94;
	font-style: normal;
}

.gdv-chat-pane-send {
	display: flex;
	gap: 8px;
	padding: 12px;
	border-top: 1px solid #dcdcde;
	width: 100%;
	box-sizing: border-box;
	align-items: stretch;
}

.gdv-chat-pane-send .gdv-chat-attach {
	flex: 0 0 36px;
	width: 36px;
	min-width: 36px;
	padding: 0;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #f6f7f7;
	color: #50575e;
	cursor: pointer;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: none;
}

.gdv-chat-pane-send .gdv-chat-attach svg {
	display: block;
	width: 18px;
	height: 18px;
}

.gdv-chat-pane-send .gdv-chat-attach:hover,
.gdv-chat-pane-send .gdv-chat-attach:focus {
	color: #1d2327;
	border-color: #8c8f94;
	background: #fff;
}

.gdv-chat-pane-send .gdv-chat-attach.is-loading {
	opacity: 1;
	cursor: wait;
	color: transparent;
}

.gdv-chat-pane-send .gdv-chat-attach.is-loading svg {
	opacity: 0;
}

.gdv-chat-pane-send .gdv-chat-attach.is-loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 16px;
	margin: -8px 0 0 -8px;
	border: 2px solid rgba(34, 113, 177, 0.25);
	border-top-color: #2271b1;
	border-radius: 50%;
	animation: gdv-chat-spin 0.6s linear infinite;
}

@keyframes gdv-chat-spin {
	to {
		transform: rotate(360deg);
	}
}

.gdv-chat-pane-send input[type="text"] {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	max-width: none;
}

.gdv-chat-item-del {
	position: absolute;
	right: 8px;
	bottom: 8px;
	top: auto;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: #8c8f94;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.gdv-chat-item-del svg {
	display: block;
}

.gdv-chat-item-del:hover {
	background: #d92d20;
	color: #fff;
}

#gdv-chat-end.is-ended,
#gdv-chat-end:disabled {
	opacity: 0.5;
	cursor: default;
	color: #50575e;
	background: #f0f0f1;
	border-color: #c3c4c7;
	box-shadow: none;
}

.gdv-chat-pane-send input:disabled,
.gdv-chat-pane-send button:disabled,
.gdv-chat-pane-send.is-locked input,
.gdv-chat-pane-send.is-locked button {
	opacity: 0.55;
	cursor: default;
}

.gdv-muted {
	color: #646970;
}

.gdv-chat-tg-table {
	margin: 8px 0 16px;
	max-width: 1040px;
}

.gdv-chat-tg-table .gdv-chat-member-role {
	white-space: nowrap;
}

.gdv-chat-member-dot {
	margin-right: 6px;
	vertical-align: middle;
}

.gdv-chat-member-dot.is-on {
	background: #2271b1;
}

.gdv-chat-member-dot.is-off {
	background: #8c8f94;
}

.gdv-chat-tg-table tr.is-online td {
	background: #f0f6fc;
}

.gdv-chat-member-state {
	font-weight: 600;
}

.gdv-chat-tg-table tr.is-online .gdv-chat-member-state {
	color: #2271b1;
}

.gdv-chat-tg-table tr:not(.is-online) .gdv-chat-member-state {
	color: #646970;
}

.gdv-chat-tg-table input[type="text"] {
	width: 100%;
	max-width: 220px;
}

.gdv-chat-logo-field {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 8px 0 20px;
}

.gdv-chat-logo-preview {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid #dcdcde;
	background: #fff;
}

.gdv-chat-logo-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.gdv-chat-color-field {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 8px 0 20px;
}

.gdv-chat-color-field input[type="color"] {
	width: 48px;
	height: 36px;
	padding: 0;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
}

.gdv-chat-color-field input[type="text"] {
	width: 110px;
	font-family: ui-monospace, Consolas, monospace;
}

.gdv-chat-side-field {
	display: flex;
	gap: 20px;
	align-items: center;
	margin: 8px 0 20px;
}

.gdv-chat-side-field label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.gdv-chat-social-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 8px 0 12px;
}

.gdv-chat-social-row {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.gdv-chat-social-preview {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid #dcdcde;
	background: #f6f7f7;
	flex: 0 0 36px;
}

.gdv-chat-social-url {
	flex: 1 1 220px;
	min-width: 180px;
}

.gdv-chat-social-label {
	width: 120px;
}

.gdv-chat-settings,
.gdv-chat-help {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	padding: 16px 20px;
	margin-top: 16px;
	max-width: 820px;
}

.gdv-chat-settings h2,
.gdv-chat-help h2 {
	margin-top: 0;
}

.gdv-chat-embed-box {
	margin: 16px 0;
	padding: 12px 14px;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 8px;
}

.gdv-chat-embed-box h3 {
	margin: 0 0 8px;
}

.gdv-chat-embed-box textarea.code {
	font-family: Consolas, Monaco, monospace;
	font-size: 12px;
}

.gdv-chat-help pre {
	background: #1d2327;
	color: #f0f0f1;
	padding: 12px;
	overflow-x: auto;
	border-radius: 6px;
}

@media (max-width: 900px) {
	.gdv-chat-desk {
		grid-template-columns: 1fr;
		height: auto;
		min-height: 0;
		max-height: none;
	}
	.gdv-chat-list-col {
		height: auto;
		max-height: 240px;
	}
	.gdv-chat-pane {
		height: 420px;
	}
}
