:root {
	--border: 1px solid #dedede;
	--border-color: #dedede;
	--font-color-secondary: #444;
	--primary: #5685ff;
	--shadow-lg: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
	--shadow-inset: -11px 51px 105px -31px rgba(0, 0, 0, 0.52) inset;
	--shadow-solid: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.bg-body-secondary {
	background-color: #f2f3f5 !important;
}

.bg-border {
	background-color: #f4f4f4 !important;
}

.btn-gray {
	background-color: #f4f4f4 !important;
}

.bg-main {
	background-color: #f2f1f6 !important;
}
.text-placeholder {
	color: #a9a9a9;
}
.form-control::placeholder {
	color: #a9a9a9;
}

.text-oneliner {
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	height: 20px;
}

.main-side {
	background-color: rgba(241, 244, 247, 0.6);
}

.bg-placeholder {
	background-color: #f1f1f1;
}

.card.bg-primary {
	border: 1px solid var(--primary);
	background-color: #e7f1ff !important;
}

body,
html {
	font-size: 16px;
	font-family: "Inter", sans-serif;
	background-color: #f2f3f5;
	height: 100vh;
	overflow: hidden;
	position: relative;
}

.app {
	background-color: #fff;
	width: 1480px;
	max-height: 900px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 50px;
	border: 1px solid #ddd;
	box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
	position: relative;
}

.header {
	border-bottom: 1px solid var(--border-color);
	position: sticky;
	width: 100%;
	top: 0px;
	background-color: #fff;
	z-index: 3;
	min-height: 60px;
}

.modal {
	backdrop-filter: blur(10px);
}

.modal-content {
	border-radius: 0rem;
}

.chats-list {
	display: flex;
	flex-direction: column;
}
.chat__list::-webkit-scrollbar {
	width: 0px;
}
.chat__list::-webkit-scrollbar-track {
	background-color: #fff !important;
}

.chats-list .chat {
	display: flex;
	margin-top: 1rem;
	padding: 0rem 1rem;
	align-items: center;
	overflow: hidden;
}

.chat .chat-avatar {
	width: 48px;
	margin-right: 1rem;
}
.chat .chat-info {
	width: auto;
	overflow: hidden;
}
.chat .chat-avatar img {
	width: 100%;
	border-radius: 50%;
}

.chat-info .chat-info-name {
	margin-bottom: 2px;
}

.chat-info .chat-info-name h3 {
	font-size: 1rem;
	font-weight: 600;
	margin: 2px;
	max-width: 57%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.chat-info .chat-info-message p {
	font-size: 0.8rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 75vw;
	margin-bottom: 0px;
}

.font-xs {
	font-size: 0.7rem;
}

.text-primary {
	color: var(--primary) !important;
}
.rounded-lg {
	border-radius: 0.5rem;
}
.rounded-xl {
	border-radius: 1rem;
}
.pending-image {
	position: relative;
}
.pending-image::after {
	content: "";
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	background-color: rgba(0, 0, 0, 0.4);
	border-radius: 0.5rem;
	backdrop-filter: blur(5px);
	transition: all 0.3s ease-in-out;
}
.location-maps {
	overflow: hidden;
	max-height: 200px;
	object-position: center;
	border-radius: 6px;
	margin-bottom: 4px;
}
.image-profile.primary {
	border: 2px solid var(--primary) !important;
	color: #fff !important;
	background-color: var(--primary) !important;
}
.image-profile.danger {
	border: 2px solid rgb(248 113 113) !important;
	color: #fff !important;
	background-color: rgb(248 113 113) !important;
}

.image-profile.warning {
	border: 2px solid rgb(251 146 60) !important;
	color: #fff !important;
	background-color: rgb(251 146 60) !important;
}
.document-preview.loading {
	background-color: rgba(0, 0, 0, 0.2);
	border-radius: 0.5rem;
	padding-top: 0.7rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.5rem;
	color: #fff;
}
.doc-file-name {
	max-width: 75%;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	text-wrap: nowrap;
}
.doc-file-name div {
	overflow: hidden;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.document-preview img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-top-right-radius: 6px;
	border-top-left-radius: 6px;
	margin-bottom: 8px;
	box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.document-preview {
	max-height: 100px;
	overflow: hidden;
	background-color: #fff !important;
}
.pending-image::before {
	content: "Uploading...";
	font-weight: 600;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	font-size: 1rem;
	z-index: 9;
	transition: all 0.3s ease-in-out;
}

.conversation-list {
	overflow-y: scroll;
	position: relative;
	z-index: 2;
	transition: all 0.1s ease-in-out;
	height: auto;
	max-height: 80.5vh;
	padding-bottom: 10px;
}

.conversation-item {
	display: flex;
	flex-direction: column;
	/* rotate: 180deg; */
}

.conversation-bubble {
	display: inline-block;
	align-self: flex-start;
	max-width: 65%;
	min-width: 100px;
	margin-top: 0.5rem;
	border-radius: 0.5rem;
	margin-right: 0.5rem;
	margin-left: 0.5rem;
	padding: 0.5rem;
	word-wrap: break-word;
	position: relative;
	font-size: 0.8rem !important;
}

.conversation-bubble .chat-reply {
	background-color: #00000024;
	padding: 4px;
	border-radius: 4px;
	max-height: 60px;
	overflow: hidden;
	text-overflow: ellipsis;
	text-wrap: pretty;
	margin-bottom: 4px;
	margin-left: -4px;
	margin-right: -4px;
	margin-top: -4px;
}

.conversation-bubble .chat-reply img {
	width: 42px;
	height: 42px;
	overflow: hidden;
}

.conversation-bubble a {
	color: var(--primary);
	text-decoration: none;
}

.conversation-bubble p {
	margin: 0 !important;
	margin-bottom: 2px !important;
	font-size: 0.8rem;
}

.conv-item:has(i) .placeholder-interval {
	color: #e4e4e4 !important;
}

.conversation-bubble.bubble-system p {
	font-size: 0.8rem;
	text-transform: uppercase;
}

.conversation-bubble.bubble-system .text-desc {
	font-size: 0.5rem;
	color: #444;
}

.conversation-date-container {
	display: flex;
	justify-content: center;
	margin-top: 4px;
}

.conversation-date {
	padding: 0.3rem 1rem;
	border-radius: 10px;
	background-color: #f1f1f1;
	border: var(--border);
	display: inline-block;
}
.conversation-item:has(.bubble-system) {
	display: block;
	text-align: center;
	padding: 0.75rem;
}
.conversation-bubble.bubble-system {
	color: var(--primary);
	font-weight: 600;
	font-style: italic;
	margin-top: 0px;
	background: #e7f1ff;
	border: 1px solid var(--primary);
	font-size: 16px;
	padding: 1rem 1rem !important;
	border-radius: 0px;
	font-size: 2rem !important;
	border-radius: 6px;
	min-width: 180px;
	font-weight: 700;
}
.conversation-bubble.bubble-system.bubble-job {
	color: green;
	background: #e3ffe3;
	border-color: green;
}
.bubble-system .conversation-time {
	display: none !important;
}

.conversation-bubble.bubble-brand-change {
	background: #ffe1e1;
	color: #ff0000;
	border: 1px solid #ff0000;
}
.bubble-sender {
	background-color: #e1f3db;
	color: #000;
	align-self: flex-end;
}

.bubble-sender .conversation-time {
	text-align: right;
}

.bubble-bot,
.bubble-autotext {
	opacity: 1;
}

.bubble-bot::before {
	content: "\f544";
	position: absolute;
	left: -40px;
	top: 43%;
	background-color: var(--primary);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	font-family: "Font Awesome 6 Pro";
	display: flex;
	text-align: center;
	justify-content: center;
	align-items: center;
	color: #e8e8e8;
	opacity: 0.7;
}

.bubble-autotext::before {
	content: "\f72b";
	position: absolute;
	left: -40px;
	top: 43%;
	background-color: var(--bs-gray-500);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	font-family: "Font Awesome 6 Pro";
	display: flex;
	text-align: center;
	justify-content: center;
	align-items: center;
	color: #e8e8e8;
	opacity: 0.7;
}

.conversation-bubble.sticker {
	background-color: transparent;
	max-width: 25%;
}

.conversation-bubble.with-images {
	max-width: 260px;
	min-width: 140px;
	padding: 4px;
}

.conversation-bubble.with-video {
	max-width: 40%;
}

.conversation-bubble.with-maps {
	padding: 4px;
	max-width: 280px;
}

.video-control {
	border-radius: 6px;
}
.message-image {
	width: 260px !important;
	height: 100%;
	object-fit: cover;
	max-height: 300px;
	border-radius: 6px;
	margin-bottom: 4px;
}
.btn-send {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.btn-primary {
	background-color: var(--primary);
	border: var(--primary);
}

.btn-danger {
	background-color: rgb(248 113 113);
	border: rgb(248 113 113);
}

.btn-warning {
	background-color: #ffdb6e;
	border: #ffdb6e;
}

.btn-success {
	background-color: rgb(163 230 53);
	border: rgb(163 230 53);
}
.chat-item__time {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: end;
	height: 42px;
}

.badge.badge-primary {
	background-color: var(--primary);
	border-radius: 50%;
	width: 20px;
	height: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
}

div.chat-unread .chat-item__time {
	font-weight: 600;
	color: var(--primary) !important;
}
.chat-input {
	border: 0px !important;
	height: auto;
	border: 2px solid #000;
	position: relative;
	padding: 0px;
	background-color: transparent;
	z-index: 2;
	max-height: 100px;
	overflow-y: scroll;
	/* visibility: hidden; */
}
.chat-input-container:has(.chat-input.chat-input-off) {
	cursor: not-allowed;
	background-color: #d1d1d1;
	pointer-events: none;
}
.chat-input::-webkit-scrollbar {
	width: 4px;
}
.chat-input::-webkit-scrollbar-thumb {
	background-color: #ddd;
	border-radius: 10px;
}
.chat-input::-webkit-scrollbar-track {
	background-color: #fff;
}

.chat-input:focus {
	background-color: transparent;
}
.chat-input:not(:empty) {
	background-color: #fff !important;
	/* padding: 6px; */
}

.chat-input-control {
	position: relative;
	width: 100%;
	padding: 8px 12px;
}
.chat-input-container {
	border-radius: 1.5rem;
	display: flex;
}
.font-lg {
	font-size: 1.2rem;
}
.font-xl {
	font-size: 1.5rem;
}
.form-control:focus {
	outline: none !important;
	box-shadow: none !important;
	background-color: transparent;
}
.conversation-bubble.sticker .conversation-time {
	background-color: #e2e3e2;
	display: block !important;
	padding: 0.1rem 0.5rem;
	margin-top: 0.255rem;
	border-radius: 0.5rem;
	float: right;
}
.new-chat {
	/* flex: 1; */
	z-index: 4;
	width: 100%;
	left: 0px;
	border-top: 1px solid #ddd;
	backdrop-filter: blur(10px);
	/* min-height: 70px; */
}
.bubble-receiver {
	background-color: #e8ecef;
}
.conversation-time {
	font-size: 0.6rem;
	/* opacity: 0.5; */
	text-align: right;
	color: #999 !important;
}
.new-chat-container {
	position: fixed;
	bottom: 0px;
	left: 0px;
	width: 100vw;
	padding: 1rem;
	background-color: #fff;
	box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
	z-index: 3;
}

.new-chat-container .form-control {
	border: none;
	border-radius: 0px;
	padding: 1rem;
	border-radius: 1rem;
	border: var(--border);
}

.border-right-1 {
	border-right: 1px solid #ddd;
}

.border-left-1 {
	border-left: 1px solid #ddd;
}

.btn-new-chat {
	border-radius: 50%;
	border: var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 52px;
	font-size: 1.2rem;
}
.text-body-secondary {
	color: #444 !important;
}
.photo-profile {
	width: 42px;
	height: 42px;
}
.font-sm {
	font-size: 0.8rem;
}
.font-xs {
	font-size: 0.7rem !important;
}
.photo-profile img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
}
.background-chat {
	background-image: url("../bg-chat.jpg");
	background-size: cover;
	position: fixed;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
}

.head-chat-category {
	border: 1px solid #ddd;
	border-radius: 1.2rem;
	display: inline-block;
	padding: 0.1rem;
	padding-top: 0.15rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: width 2s ease-in-out;
}

.profile-photo {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}
.placeholder-interval {
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	/* font-style: italic; */
	color: var(--primary);
	background: #e4e4e4;
}
.btn-filter {
	text-decoration: none;
	text-align: center;
	color: #444;
	padding: 0.5rem 1.5rem;
	font-size: 10px;
	border-radius: 1rem;
	transition: all 0.3s ease-in-out;
}

.btn-filter.active {
	background-color: var(--primary);
	color: #fff;
	border-radius: 1rem;
	transition: all 0.3s ease-in-out;
}
.attachment-buttons {
	height: 0px;
	overflow: hidden;
	transition: all 0.3s ease-in-out;
	position: absolute;
	bottom: 62px;
	background: #fff;
	border-radius: 12px;
	box-shadow: var(--shadow-lg);
	left: 8px;
	z-index: 4;
}
.attachment-buttons.show {
	height: auto;
	transition: all 0.3s ease-in-out;
}
.attachment-button {
	font-size: 0.8rem;
	width: 200px;
	display: flex;
	/* flex-direction: column; */
	align-items: center;
}

.attachment-button i {
	/* flex-grow: 1; */
	font-size: 12px;
	background-color: var(--border-color);
	color: #000;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	margin-bottom: 4px;
	margin-right: 12px;
}

.new-message-badge {
	position: absolute;
	bottom: 80px;
	right: 10px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background-color: #fff;
	border: 1px solid var(--border-color);
	color: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
	z-index: 9;
	box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
	transition: all 0.3s ease-in-out;
}

.attachment-button.receipt i {
	background-color: rgb(248 113 113);
}

.attachment-button.document i {
	background-color: rgb(248 113 113);
}

.attachment-button.camera i {
	background-color: rgb(163 230 53);
}

.attachment-button.gallery i {
	background-color: rgb(251 146 60);
}

.attachment-button.audio i {
	background-color: rgb(6 182 212);
}

.attachment-button.location i {
	background-color: rgb(129 140 248);
}

.attachment-button.contact i {
	background-color: rgb(236 72 153);
}

.btn-check:checked + .btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check) + .btn:active {
	border-color: transparent;
}
.attachments {
	display: inline-block;
	overflow-x: scroll;
	white-space: nowrap;
	/* width: 100vw; */
}
.attachments::-webkit-scrollbar {
	height: 4px;
}

.attachments::-webkit-scrollbar-track {
	background: #fff;
	height: 4px;
}

.attachments::-webkit-scrollbar-thumb {
	background: var(--border-color);
	border-radius: 10px;
}

.attachments .img-thumb-container {
	display: inline-block;
	margin-left: 6px;
	margin-bottom: 16px;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
.attachments .img-thumb-container:first-child {
	margin-left: 12px;
}
.img-thumb {
	width: 80px;
	height: 80px;
	border-radius: 6px;
	object-fit: contain;
	/* border: 1px solid var(--border-color); */
}
.border-1 {
	border: 1px solid #ddd !important;
}

.viewer.show,
.page-loader.show {
	z-index: 1099;
	position: fixed;
	transition: all 0.3s ease-in-out;
	opacity: 1;
}

.viewer,
.page-loader {
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	background-color: rgba(0, 0, 0, 0.1);
	z-index: -1;
	transition: all 0.3s ease-in-out;
	opacity: 0;
	backdrop-filter: blur(10px);
}

.transition {
	transition: all 0.3s ease-in-out;
}

.transition-fast {
	transition: all 0.1s ease-in-out;
}

.pointer {
	cursor: pointer;
}

.page-loader {
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: -99;
}

.viewer-content {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	/* height: calc(100vh - 20%); */
	/* overflow: hidden; */
}

.viewer-content img {
	height: 100%;
	width: 100%;
	object-fit: contain;
	max-width: 60%;
}

.doclist,.videolist {
	background-color: #fff;
	margin: 0px 1rem;
	padding: 1rem;
	border-radius: 1rem;
}

.doclist,.videolist .item i {
	font-size: 1.2rem;
	margin-right: 0.5rem;
}

.doclist,.videolist .doc-name {
	max-width: 85%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.doclist,.videolist .item {
	border-bottom: 1px solid var(--border-color);
	padding: 0.5rem 0px;
	font-size: 0.8rem;
	display: flex;
	align-items: center;
}

.upload-image-preview,
.upload-file-preview,
.upload-video-preview {
	opacity: 0;
	position: absolute;
	top: 60px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	visibility: hidden;
	background-color: #f2f3f5;
	backdrop-filter: blur(10px);
	z-index: 999;
	transition: all 0.3s ease-in-out;
}
.upload-image-preview.show,
.upload-file-preview.show,
.upload-video-preview.show {
	opacity: 1;
	visibility: visible;
	z-index: 999;
	transition: all 0.3s ease-in-out;
}

.image-preview-container {
	height: 100%;
	width: 100%;
	align-items: center;
	flex-direction: column;
	display: flex;
}

.image-preview-container .image-showed {
	width: 100%;
	height: 100%;
}
.image-preview-container .image-showed img {
	max-height: 330px;
	/* width: 100%; */
	height: auto;
	object-fit: contain;
	box-shadow: var(--shadow-lg);
	margin-left: auto;
	margin-right: auto;
}
.btn-close-transparent {
	background-color: rgba(0, 0, 0, 0.6);
	border-radius: 50%;
	color: #fff;
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}
.upload-image-preview .image-thumbnail::-webkit-scrollbar {
	display: none;
}
.upload-image-preview .image-thumbnail {
	display: block;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	/* height: 140px; */
}
.upload-image-preview .image-thumbnail div.active {
	opacity: 1;
	border: 2px solid var(--primary);
	transition: ease-in all 0.2s;
}
.upload-image-preview .image-thumbnail img {
	width: 70px;
	height: 70px;
	object-fit: cover;
	display: inline-block;
	border-radius: 8px;
	transition: ease-in all 0.5s;
}
.upload-image-preview .image-thumbnail > div {
	height: 70px;
	width: 70px;
	position: relative;
	margin-right: 8px;
	border-radius: 8px;
	border: 1px solid #ddd;
	overflow: hidden;
}
.upload-image-preview .image-thumbnail > div:hover span {
	opacity: 1;
	transition: ease-in all 0.5s;
}
.upload-image-preview .image-thumbnail > div span i {
	width: auto;
	height: 20px;
	padding: 4px 8px;
}
.upload-image-preview .image-thumbnail > div span {
	display: flex;
	box-shadow: -3px 4px 20px -5px rgba(0, 0, 0, 0.5) inset;
	border-radius: 8px;
	content: "\f00d";
	position: absolute;
	top: 0px;
	right: 0px;
	color: #000;
	opacity: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	font-family: "Font Awesome 6 Pro";
	justify-content: end;
}
.conv-item.active {
	background-color: #f1f1f1;
}
.image-caption {
	width: 100%;
	padding: 0.5rem 1rem;
	border-top: 1px solid #ddd;
}
.btn-light.active {
	background-color: var(--primary);
	color: #fff;
	transition: all 0.3s ease-in-out;
}
.image-caption .form-control {
	border: var(--border);
	border-radius: 1rem;
	width: 100%;
}
.login-form .form-control {
	border: var(--border);
	border-radius: 1rem;
}
.login-form .btn {
	border-radius: 1rem;
	font-weight: 600;
	background-color: var(--primary);
	border: var(--border);
}
.section-title {
	border-bottom: 2px solid var(--primary);
}
div:where(.swal2-container).swal2-backdrop-show,
div:where(.swal2-container).swal2-noanimation {
	backdrop-filter: blur(2px);
	/* background: #4b4b4b5e !important; */
}
div:where(.swal2-container) h2:where(.swal2-title) {
	font-size: 1.2rem !important;
}
div:where(.swal2-container) .swal2-html-container {
	font-family: "Inter";
	color: #818181 !important;
	font-size: 14px !important;
	line-height: 1.5rem !important;
}
div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
	background-color: #fff !important;
	border: 0px;
	border-radius: 0px !important;
	font-size: 1rem !important;
	box-shadow: none;
	color: var(--primary) !important;
	width: 100%;
	border-right: 1px solid #ddd !important;
	margin: 0px !important;
	padding: 18px 0px !important;
	border-top: 1px solid #ddd !important;
}
div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel {
	background-color: #fff !important;
	border: 0px;
	border-radius: 0px;
	font-size: 1rem;
	color: var(--bs-danger) !important;
	box-shadow: none;
	width: 100%;
	margin: 0px !important;
	padding: 18px 0px !important;
	border-radius: 0px !important;
	border-top: 1px solid #ddd !important;
}
div:where(.swal2-container).swal2-center > .swal2-popup {
	border-radius: 28px !important;
	background-color: #ffffff !important;
	backdrop-filter: blur(2px) !important;
	padding-bottom: 0px;
	overflow: hidden;
}

div:where(.swal2-container) div:where(.swal2-actions) button {
	min-width: 100px !important;
}

.swal2-icon div {
	background-color: transparent !important;
}

div:where(.swal2-icon).swal2-success [class^="swal2-success-line"] {
	background-color: var(--primary) !important;
}

div:where(.swal2-icon).swal2-success [class^="swal2-success-line"] {
	background-color: var(--primary) !important;
}

div:where(.swal2-icon).swal2-success {
	border-color: var(--primary) !important;
	color: var(--primary) !important;
}
div:where(.swal2-container)
	div:where(.swal2-actions):not(.swal2-loading)
	.swal2-styled:active {
	background-image: none !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:focus {
	box-shadow: none !important;
}
div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel:focus {
	box-shadow: none !important;
}

.swal2-actions {
	display: flex !important;
	justify-content: center;
	width: 100%;
	flex-wrap: nowrap;
	/* border-top: 1px solid #ddd; */
}
.table.table-sticky {
	border-collapse: separate;
	border-spacing: 0;
}

.table.table-sticky thead th {
	border-top: 1px solid #ddd;
}

.table.table-sticky td,
.table.table-sticky th {
	border: 0px;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

.table.table-sticky td:first-child,
.table.table-sticky th:first-child {
	border-left: 1px solid #ddd;
}

.table.table-sticky thead {
	position: sticky;
	top: 0;
	background: #f1f1f1;
	z-index: 2;
}

.table thead th {
	font-size: 12px;
	font-weight: 700;
	text-align: center;
	background: #f1f1f1;
}
.table tbody td {
	font-size: 12px;
	font-weight: normal;
	background: transparent;
}
.desktop .conversation-bubble.with-image {
	max-width: 40% !important;
}

.conversation-bubble.with-document {
	max-width: 320px !important;
}

.agent-item,
.chat-item {
	padding: 0.5rem 1rem;
}
.agent-item.active,
.chat-item.active {
	background-color: #f1f1f1;
	padding: 0.5rem 1rem;
	border-radius: 8px;
}
.box-shadow {
	box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.border-bottom-1 {
	border-bottom: 1px solid #ddd;
}
.border-top-1 {
	border-top: 1px solid #ddd;
}
::-webkit-scrollbar {
	background: #fff;
	height: 2px;
	width: 2px;
}

::-webkit-scrollbar-track {
	background: #f2f3f5;
	height: 2px;
	width: 2px;
}

::-webkit-scrollbar-thumb {
	background: var(--border-color);
	border-radius: 10px;
	height: 2px;
	width: 2px;
}
.loader {
	width: 32px;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 2px solid var(--primary);
	animation: l20-1 0.8s infinite linear alternate, l20-2 1.6s infinite linear;
}

.condition:not(:has(.cond)) {
	margin-bottom: 14px;
}

.condition table td {
	border: 0px;
	padding: 0px;
}

.condition {
	margin-bottom: 8px;
}

.condition:has(.cond) {
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	padding-bottom: 8px;
	border-bottom: 1px solid #ddd;
}

.condition:has(.cond):last-child {
	border-bottom: none;
}

.closing-sec span.bold {
	font-size: 0.8rem;
	font-weight: 700;
}

.closing-sec textarea {
	font-size: 0.8rem;
}

.cond {
	width: 70px;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.7rem;
	white-space: normal;
	background-color: #f4f4f4;
	border-radius: 4px;
	text-align: center;
	padding: 8px;
}

.chat-item__content .chat-item__name {
	font-weight: 400;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.fu-action .form-control {
	width: 100% !important;
	font-size: 12px;
	border-radius: 8px;
	margin-top: 4px;
	background: #f6f6f6;
}

.fu-action span {
	font-size: 12px;
	font-weight: 600;
}

textarea[name="note"] {
	font-size: 12px;
}

div:has(textarea[name="note"]) > span {
	font-size: 12px;
	font-weight: bold;
}

.backdrop {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	/* background: #00000073; */
	z-index: 3;
	align-items: center;
	justify-content: center;
	/* width: 100vw; */
	/* height: 100vh; */
}
.pop-up {
	position: absolute;
	left: 0px;
	background-color: rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(2px);
	width: 100%;
	height: 100%;
	z-index: 9;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease-in-out;
	opacity: 0;
	visibility: hidden;
}

.pop-up.show {
	opacity: 1;
	visibility: visible;
	transition: all 0.3s ease-in-out;
}

.pop-up .pop-up-header {
	margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid #ddd;
}

.pop-up:has(.pop-up-footer) .pop-up-content {
	padding-bottom: 0px;
}

.pop-up .pop-up-footer .btn {
	border-radius: 22px;
	/* font-size: 12px; */
}

.text-white {
	color: #fff !important;
}

.prof-sec .content {
	max-height: 85vh;
	padding-bottom: 48px;
}

.pop-up .pop-up-content {
	background-color: #fff;
	border-radius: 8px;
	padding: 1rem;
	box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
	width: 400px;
}
.pop-up .pop-up-footer {
	border-top: 1px solid #ddd;
	margin-left: -1rem;
	margin-right: -1rem;
	padding: 10px;
}
.pop-up .pop-up-content .pop-up-body {
	max-height: 60vh;
	overflow-y: auto;
	overflow-x: hidden;
	position: relative;
}
.pop-up .pop-up-content .pop-up-body::-webkit-scrollbar {
	display: none;
}
.card {
	border: 0;
	border-radius: 8px;
	box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

/* Datepicker */
.datepicker {
	box-shadow: var(--shadow-lg);
	border: 0px;
	/* border-radius: 12px; */
	padding: 0px !important;
	overflow: hidden;
}
.datepicker thead {
	background-color: var(--primary);
	border: 0px;
	color: #fff;
	font-weight: 400;
	padding: 12px !important;
}
.datepicker .next,
.datepicker .prev {
	color: #ddd;
}
.datepicker .dow {
	font-weight: 600;
	font-size: 0.8rem;
}
.datepicker thead,
.datepicker tbody {
	padding: 12px !important;
	/* display: list-item; */
}
.datepicker .datepicker-switch:hover,
.datepicker .next:hover,
.datepicker .prev:hover,
.datepicker tfoot tr th:hover {
	background-color: var(--primary);
}
.datepicker table tr td.active.active {
	background-color: var(--primary) !important;
	background: none;
	border-radius: 50%;
}
.datepicker td,
.datepicker th {
	width: 48px;
	height: 48px;
	border-radius: 0px;
	font-size: 12px;
}
.datepicker .datepicker-switch {
	font-size: 1.2rem;
	padding: 10px;
}
.datepicker th {
	font-weight: 400;
}
.datepicker table tr td.new,
.datepicker table tr td.old {
	color: #ddd;
}
.datepicker table tr td.today {
	background-color: #ddd !important;
	background: none;
	border-radius: 50%;
}

.input-placeholder {
	color: #a9a9a9;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	position: absolute;
	z-index: 1;
	top: 8px;
}
/* Tabs */

.tab-controller {
	display: flex;
	justify-content: space-between;
	z-index: 5;
}
.tab-controller > .tab-control-item {
	flex: 1;
	text-align: center;
	padding: 12px;
	border-bottom: 2px solid #ddd;
	/* border-right: 1px solid #ddd; */
}
.tab-control-item:last-child {
	border-right: none;
}
.tab-control-item.tab-action {
	flex: initial;
	width: 50px;
}
.tab-controller > .tab-control-item.active {
	border-bottom: 2px solid var(--primary);
	color: var(--primary);
	transition: all 0.3s ease-in-out;
}
.tab-controller > .tab-control-item.active a {
	color: var(--primary);
	font-weight: 600;
	transition: all 0.3s ease-in-out;
}
.autotext-container-sidebar {
	height: 475px;
	overflow: scroll;
}
.tab-controller > .tab-control-item a {
	text-decoration: none;
	color: #000;
	font-size: 0.8rem;
}

.tab-content {
	display: none;
}

.tab-content .auto-text-item:first-child {
	margin-top: 18px;
}

.tab-content.show {
	display: block;
}

/* Dropdown menu */
.__dropdown-menu {
	padding: 8px 0px;
	position: absolute;
	background-color: #fff;
	min-width: 150px;
	max-width: fit-content;
	/* right: 0px; */
	box-shadow: var(--shadow-solid);
	border-radius: 6px;
	scale: 0;
	opacity: 0;
	transform-origin: top left;
	transition: all 0.2s ease-in-out;
	z-index: 99;
}
.__dropdown-menu.show {
	scale: 1;
	opacity: 1;
	transition: all 0.2s ease-in-out;
}
.__dropdown-menu .dropdown-menu-item {
	padding: 0.5rem 1rem;
	font-size: 0.8rem;
}
.__dropdown-menu .dropdown-menu-item:hover {
	background-color: #f1f1f1;
}
.__dropdown-menu .dropdown-menu-item a {
	text-decoration: none;
	color: #444;
}

/* Emoji Picker */
.fg-emoji-container {
	transform-origin: bottom left;
	box-shadow: var(--shadow-lg);
	scale: 0;
	left: 30% !important;
	bottom: 60px !important;
	transition: all 0.3s ease-in-out;
}
.fg-emoji-container.show {
	transform-origin: bottom left;
	left: 30% !important;
	bottom: 60px !important;
	scale: 1;
	transition: all 0.3s ease-in-out;
}
.fg-emoji-nav {
	background-color: #fff !important;
	color: #ddd !important;
}
.fg-emoji-picker-search {
	z-index: 9;
	padding: 12px;
	padding-bottom: 12px;
	background: #fff;
	width: 100% !important;
}
.fg-emoji-picker-search input {
	border: 0px;
	border-radius: 12px;
	padding: 12px;
	width: 100% !important;
}
.fg-emoji-list {
	margin-top: -18px !important;
}
.fg-emoji-picker-category-title {
	font-weight: 400 !important;
	font-size: 0.8rem !important;
	color: #b3b3b3 !important;
}
.select2-container .select2-selection--single {
	height: 38px;
	border: var(--border);
	font-size: 0.8rem;
	border-radius: 8px;
}
.select2-container--default
	.select2-selection--single
	.select2-selection__rendered {
	line-height: 38px;
}
.select2-container--default
	.select2-selection--single
	.select2-selection__arrow {
	height: 38px;
}
.select2-container--default .select2-results__option {
	font-size: 0.8rem;
}
.select2-container--default .select2-selection--multiple {
	min-height: 38px;
	border: var(--border);
	font-size: 0.8rem;
	border-radius: 8px;
}
@keyframes l20-1 {
	0% {
		clip-path: polygon(50% 50%, 0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%);
	}
	12.5% {
		clip-path: polygon(
			50% 50%,
			0 0,
			50% 0%,
			100% 0%,
			100% 0%,
			100% 0%,
			100% 0%
		);
	}
	25% {
		clip-path: polygon(
			50% 50%,
			0 0,
			50% 0%,
			100% 0%,
			100% 100%,
			100% 100%,
			100% 100%
		);
	}
	50% {
		clip-path: polygon(
			50% 50%,
			0 0,
			50% 0%,
			100% 0%,
			100% 100%,
			50% 100%,
			0% 100%
		);
	}
	62.5% {
		clip-path: polygon(
			50% 50%,
			100% 0,
			100% 0%,
			100% 0%,
			100% 100%,
			50% 100%,
			0% 100%
		);
	}
	75% {
		clip-path: polygon(
			50% 50%,
			100% 100%,
			100% 100%,
			100% 100%,
			100% 100%,
			50% 100%,
			0% 100%
		);
	}
	100% {
		clip-path: polygon(
			50% 50%,
			50% 100%,
			50% 100%,
			50% 100%,
			50% 100%,
			50% 100%,
			0% 100%
		);
	}
}
@keyframes l20-2 {
	0% {
		transform: scaleY(1) rotate(0deg);
	}
	49.99% {
		transform: scaleY(1) rotate(135deg);
	}
	50% {
		transform: scaleY(-1) rotate(0deg);
	}
	100% {
		transform: scaleY(-1) rotate(-135deg);
	}
}
@media only screen and (max-width: 1500px) {
	.conversation-list {
		max-height: 80.5vh;
	}
}
@media only screen and (max-width: 1500px) {
	.autotext-container-sidebar {
		height: 570px;
	}
	.app {
		width: 100%;
		max-width: 100%;
		max-height: 100%;
		margin: 0px;
		border: none;
		box-shadow: none;
	}

	.conversation-list {
		max-height: calc(100vh - 60px);
		padding-bottom: 10px;
		height: 100%;
	}

	.conversation-scroll {
		height: calc(100vh - 60px);
	}

	.chat__list {
		height: 100% !important;
		max-height: calc(100vh - 60px);
		overflow: scroll;
		padding-bottom: 80px;
	}

	.chat-item__content .chat-item__name {
		max-width: 100%;
		white-space: nowrap;
		text-overflow: ellipsis;
		overflow: hidden;
		font-size: 14px;
	}

	.con-v-sec,
	.action-sec {
		height: 100vh !important;
	}
}

div:has(.dropdown-select-brand) {
	position: relative;
}
.dropdown-select-brand {
	width: 160px;
	background: #fff;
	box-shadow: var(--shadow-lg);
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease-in-out;
	height: 0px;
	overflow: hidden;
	position: absolute;
}

.dropdown-select-brand.show {
	position: absolute;
	top: 26px;
	left: -54px;
	z-index: 1010;
	width: 160px;
	transition: all 0.3s ease-in-out;
	background: #fff;
	box-shadow: var(--shadow-lg);
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	opacity: 1;
	visibility: visible;
	height: auto;
	overflow: hidden;
}

.dropdown-select-brand .brand-item {
	padding: 8px 12px;
	font-size: 0.8rem;
	display: block;
	text-decoration: none;
	color: #000;
	transition: all 0.3s ease-in-out;
}

.dropdown-select-brand .brand-item:hover {
	background-color: #f1f1f1;
	transition: all 0.3s ease-in-out;
}

.dropdown-select-brand .brand-item.active {
	font-style: italic;
	font-weight: bold;
}

.chat-filter {
	display: flex;
	justify-content: space-evenly;
	margin-top: 8px;
	height: 0px;
	overflow: hidden;
	transition: all 0.3s ease-in-out;
}

.chat-filter.show {
	height: 38px;
	transition: all 0.3s ease-in-out;
	border-bottom: 1px solid #ddd;
	padding-bottom: 8px;
}

.chat-filter .filter-item {
	color: #444;
	font-size: 0.7rem;
	text-decoration: none;
	min-width: 80px;
	text-align: center;
	border-radius: 12px;
	border: 1px solid #ddd;
	padding: 2px 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-style: italic;
}

.chat-filter .filter-item.active {
	background-color: var(--primary);
	color: #fff;
	border: 1px solid var(--primary);
}

.blink {
	animation: blink 1s infinite;
}

.pulse {
	animation: pulse 1s infinite;
}

@keyframes pulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.1);
	}
	100% {
		transform: scale(1);
	}
}

@keyframes blink {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.rounded-md {
	border-radius: 0.375rem;
}

.my-form-control {
	font-size: 0.8rem;
	border-radius: 8px;
	border-color: var(--border-color) !important;
	padding: 8px 8px;
}

.tox-tinymce {
	border: 1px solid var(--border-color) !important;
}

div:where(.swal2-container) div:where(.swal2-validation-message) {
	width: 80%;
	margin-left: auto !important;
	margin-right: auto !important;
	border-radius: 12px;
}
.swal2-loading {
	padding-bottom: 12px !important;
}

.btn-teal {
	background-color: #00a65a;
	color: #fff;
}

.bg-teal {
	background-color: #00a65a;
}

.btn-teal:hover {
	background-color: #008080;
	color: #fff;
}
.select2-container--default .select2-results__option[aria-disabled="true"] {
	display: none;
}
.context-menu-list {
	box-shadow: var(--shadow-lg);
	border: var(--border);
	border-radius: 12px;
	overflow: hidden;
	z-index: 99999999 !important;
}
.context-menu-item {
	font-size: 14px;
	padding: 8px 12px;
}

.disabled {
	pointer-events: none;
}

.custom-check .checkbox {
	--bg: #fff;
	--brdr: #d1d6ee;
	--brdr-actv: #1e2235;
	--brdr-hovr: #bbc1e1;
	--dur: calc((var(--size, 2) / 2) * 0.6s);
	display: inline-block;
	width: calc(var(--size, 1) * 22px);
	position: relative;
}
.custom-check .checkbox:after {
	content: "";
	width: 100%;
	padding-top: 100%;
	display: block;
}
.custom-check .checkbox > * {
	position: absolute;
}
.custom-check .checkbox input {
	-webkit-appearance: none;
	-moz-appearance: none;
	-webkit-tap-highlight-color: transparent;
	cursor: pointer;
	background-color: var(--bg);
	border-radius: calc(var(--size, 1) * 4px);
	border: calc(var(--newBrdr, var(--size, 1)) * 1px) solid;
	color: var(--newBrdrClr, var(--brdr));
	outline: none;
	margin: 0;
	padding: 0;
	transition: all calc(var(--dur) / 3) linear;
}
.custom-check .checkbox input:hover,
.custom-check .checkbox input:checked {
	--newBrdr: calc(var(--size, 1) * 2);
}
.custom-check .checkbox input:hover {
	--newBrdrClr: var(--brdr-hovr);
}
.custom-check .checkbox input:checked {
	--newBrdrClr: var(--brdr-actv);
	transition-delay: calc(var(--dur) / 1.3);
}
.custom-check .checkbox input:checked + svg {
	--dashArray: 16 93;
	--dashOffset: 109;
}
.custom-check .checkbox svg {
	fill: none;
	left: 0;
	pointer-events: none;
	stroke: var(--stroke, var(--border-active));
	stroke-dasharray: var(--dashArray, 93);
	stroke-dashoffset: var(--dashOffset, 94);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2px;
	top: 0;
	transition: stroke-dasharray var(--dur), stroke-dashoffset var(--dur);
}
.custom-check .checkbox svg,
.custom-check .checkbox input {
	display: block;
	height: 100%;
	width: 100%;
}

.custom-check input + label svg path {
	fill: none;
	stroke: var(--primary);
	stroke-width: 6px;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 100;
	stroke-dashoffset: 101;
	transition: all 250ms cubic-bezier(1, 0, 0.37, 0.91);
}
.accordion-button:not(.collapsed) {
	color: #000;
	font-weight: 600;
	background-color: #fff;
	box-shadow: none;
	border-bottom: 1px solid #ddd;
}
.accordion-button:focus {
	outline: none;
	box-shadow: none;
	border-color: #ddd;
}
.hide-scrollbar::-webkit-scrollbar {
	display: none;
}
.payment-item.active .check-icon {
	color: var(--primary) !important;
}
.payment-item.active {
	background-color: #f1f1f1;
}

.bg-soft-danger {
	background: #ffe6e6 !important;
}


.bg-red {
	background-color: #ffdbdb !important;
}

.bg-soft-warning {
	background-color: #fff3cd !important;
}

.text-secondary {
	color: #8a8a8a !important;
}
.bg-soft-primary {
	background-color: #e7f1ff !important;
}

.bg-yellow {
	background-color: #f4ffb8 !important;
}
.bg-green {
	background-color: #e5ffd6 !important;
}

.bg-primary {
	background-color: var(--primary) !important;
}

.bg-indigo {
	background-color: #f0f2ff !important;
}

.bg-soft-indigo {
	background-color: #f0f2ff !important;
}

.bg-soft-warning {
	background-color: #fff3cd !important;
}

.conv-item .placeholder-interval.text-soft-danger {
	color: #ffe6e6 !important;
}
.conv-item .placeholder-interval.text-danger {
	color: #f00 !important;
	border-color: #f00 !important;
	border-width: 2px!important;
	border-style: solid!important;
}

.conv-item .placeholder-interval.text-warning {
	color: #f39c12 !important;
	border-color: #f39c12 !important;
	border-width: 2px!important;
	border-style: solid!important;
}

.conv-item .placeholder-interval.text-indigo {
	color: #6610f2 !important;
	border-color: #6610f2 !important;
	border-width: 2px!important;
	border-style: solid!important;
}

.conv-item .placeholder-interval.text-gold {
	color: #a47d2a !important;
	border-color: #a47d2a !important;
	border-width: 2px!important;
	border-style: solid!important;
}

.conv-item .placeholder-interval.text-green {
	color: #00a65a !important;
	border-color: #00a65a !important;
	border-width: 2px!important;
	border-style: solid!important;
}

.bg-gold {
	background-color: #f6f3b6 !important;
}