.pg-chat-brand {
	min-width: 0;
}

.pg-chat-brand > div {
	min-width: 0;
}

.pg-chat-logo {
	display: block;
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	padding: 0;
	border: 2px solid #ff7a00;
	border-radius: 13px;
	background: #fff;
	box-sizing: border-box;
	object-fit: cover;
	box-shadow: 0 3px 10px rgba(255, 122, 0, .14);
}

.pg-chat-brand strong {
	display: block;
	max-width: 250px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pg-chat-settings {
	min-height: 0;
	overflow-y: auto;
}

.pg-chat-profile-form {
	padding: 18px;
	border: 1px solid #ffd7b5;
	border-radius: 16px;
	background: linear-gradient(145deg, #fffaf6 0%, #fff 72%);
}

.pg-chat-profile-form h3 {
	margin: 0 0 15px;
	font-size: 15px;
	color: #1d2738;
}

.pg-chat-profile-editor {
	display: flex;
	align-items: center;
	gap: 15px;
}

.pg-chat-profile-photo {
	position: relative;
	width: 74px;
	flex: 0 0 74px;
	text-align: center;
}

.pg-chat-profile-photo img {
	display: block;
	width: 74px;
	height: 74px;
	border: 3px solid #fff;
	border-radius: 24px;
	background: #f2f5f9;
	box-shadow: 0 5px 18px rgba(28, 39, 56, .12);
	box-sizing: border-box;
	object-fit: cover;
}

.pg-chat-profile-photo label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	margin: -10px auto 0;
	padding: 0 10px;
	border: 1px solid #ff7a00;
	border-radius: 15px;
	background: #fff;
	color: #f06400;
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 3px 8px rgba(255, 122, 0, .12);
}

.pg-chat-profile-fields {
	display: flex;
	min-width: 0;
	flex: 1;
	flex-direction: column;
	gap: 8px;
}

.pg-chat-profile-fields > label:first-child {
	display: block;
	padding: 0;
	border: 0;
	background: transparent;
}

.pg-chat-profile-fields > label:first-child > span {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 700;
	color: #465269;
}

.pg-chat-profile-fields input[type="text"] {
	width: 100%;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #dbe3ee;
	border-radius: 11px;
	background: #fff;
	box-sizing: border-box;
	font-size: 13px;
	color: #17233a;
}

.pg-chat-profile-fields input[type="text"]:focus {
	border-color: #ff7a00;
	outline: 0;
	box-shadow: 0 0 0 3px rgba(255, 122, 0, .1);
}

#pgChatProfileImage {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.pg-chat-profile-remove {
	display: inline-flex !important;
	align-items: center;
	justify-content: flex-start !important;
	gap: 6px;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	font-size: 11px;
	color: #77839a;
}

.pg-chat-profile-remove input {
	width: 15px !important;
	height: 15px !important;
	margin: 0;
}

.pg-chat-profile-form > p {
	margin: 14px 0 10px;
	font-size: 11px;
	line-height: 1.55;
	color: #7b879c;
}

.pg-chat-profile-save {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 40px;
	border: 0;
	border-radius: 11px;
	background: #ff7a00;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.pg-chat-profile-save:disabled {
	opacity: .55;
	cursor: wait;
}

.pg-chat-settings-divider {
	height: 1px;
	margin: 20px 0;
	background: #edf1f6;
}

@media (max-width: 767px) {
	.pg-chat-logo {
		width: 36px;
		height: 36px;
		flex-basis: 36px;
		border-radius: 12px;
	}

	.pg-chat-brand strong {
		max-width: calc(100vw - 155px);
	}

	.pg-chat-profile-form {
		padding: 15px;
	}

	.pg-chat-profile-editor {
		align-items: flex-start;
		gap: 12px;
	}

	.pg-chat-profile-photo,
	.pg-chat-profile-photo img {
		width: 66px;
		height: 66px;
	}

	.pg-chat-profile-photo {
		flex-basis: 66px;
	}
}
