
.setting-image-preview {
	width: 100px;
	height: 75px;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	display: flex;
}

.room-coverimage-preview {
	height: 50px;
	width: 50px;
	border-radius: 50%;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow: hidden;
	border: 1px solid;
}

.room-coverimage-preview img {
	object-fit: cover;
}
  
.room-bgimage-preview {
	height: 50px;
	width: 50px;
	border-radius: 2px;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow: hidden;
	border: 1px solid;
  	display: inline-block;
}

.room-bgimage-preview img {
object-fit: cover;
}

/*** Loader ***/
.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #36b9cc;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}

/*** Loader End ***/

.btn-group-xs > .btn, .btn-sm {
    line-height: 1;
	border-radius: .2rem;
	font-size: 12px;
	width: fit-content;
}

.badge {
	color: #fff;
	border-radius: 3px;
    line-height: 1;
}

.imagePreview {
    width: 150px;
    height: 150px;
    background-position: center center;
    background-color:#fff;
    background-size: cover;
    background-repeat:no-repeat;
    box-shadow:0px -3px 6px 2px rgba(0,0,0,0.2);
}

.btn-upload{
    display:block;
    width: 150px;
    border-radius:0px;
    box-shadow:0px 4px 6px 2px rgba(0,0,0,0.2);
}

.upload-image{
    width: 0px;
    height: 0px;
    overflow: hidden;
}

/* Plugin date-dropdown Container */
.date-dropdown {
    width: 33%;
    display: inline-block;
    box-sizing: border-box;
}

.date-dropdown select {
	padding: 6px;
	border: 1px solid #d1d3e2;
	border-radius: 0.35rem;
	color: #6e707e;
	margin-right: 3px;
}

.date-dropdown select.invalid {
    color: #E9403C;
}

#load-more-end{
    text-align: center;
}

#image-settings .row {
    border-bottom: 1px solid #253344;
    margin-bottom: 15px;
}

#image-settings label {
    font-weight: bold;
}



.admin-img-preview {
    background-color: #2e353e !important;
}

.user-avatar {
    display: flex;
    align-items: center;
    margin-right: auto;
}

img.img-profile {
    width: 40px;
    border-radius: 5px;
}

.user-avatar {
    display: flex;
    align-items: center;
}

.user-avatar {
    display: flex;
    align-items: center;
	margin-right: auto;
}

.user-info {
    display: flex;
    flex-direction: column;
    flex: 1 1 0px;
    justify-content: center;
    min-width: 0;
    padding: 0 16px 0 0;
    color: #acbdbd;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

div#chats {
    margin-left: 0;
    margin-right: 0;
}

.tab-content.tab-sidebar .tab-pane {
    padding: 0px;
}


.form-control[readonly] {
    background-color: #737373;
}

.trans-lang-switch, .trans-section-switch{
    background-color: #1d2127 !important;
    width: auto !important;
    display: inline;
}

::-webkit-scrollbar {
  width: 10px !important;
}

div, span, ul {
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

::-webkit-scrollbar-track {
  background: #282d36;
}

::-webkit-scrollbar-thumb {
  background-color: #ccc ;
  border-radius: 0px;
  border: 3px solid transparent;
}

.table-responsive .row {
	margin: 0;
}

.custom-colors .h4 {
	color: #2196F3;
	margin-bottom: 20px;
	border-bottom: 1px solid #282d36;
	width: 100%;
	padding-bottom: 18px;
}

.sidebar-brand-text.mx-3 {
	text-align: left;
}

.sidebar-brand img {
	width: 50px;
}


/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 24px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.switch .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}

/* Rounded sliders */
.slider.round {
 border-radius: 5px;
}

.slider.round:before {
  border-radius: 50%;
}


.select2-container--bootstrap4 .select2-selection--single {
    height: 38px !important;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    height: 38px !important;
    font-size: 1rem;
    line-height: 38px;
    border-radius: 3px;
}

.select2-search--dropdown .select2-search__field {
    font-size: 1rem;
}

.select2-results__option--selectable {
    font-size: 1rem;
}

.sidebar-brand-text.mx-3 {
	display: -webkit-box;
	overflow: hidden !important;
	font-size: 12px;
	line-height: 18px;
	text-overflow: ellipsis;
	word-wrap: break-word;
	-webkit-line-clamp: 2;
	-webkit-box-orient: horizontal;
}

.form-control-file{
	overflow: hidden;
}

.table td, .table th {
	padding: .50rem .75rem;
	vertical-align: middle;
	font-size: 14px;
}

table {
	border-radius: 5px;
	overflow: hidden;
}

th {
	border-top: none !important;
	border-bottom: none !important;
}

.btn {
	white-space: nowrap;
}

.hidden-row, .delete-row{
	display: none;
}

img.auth-provider-icon {
    width: 32px;
}

.upload-radio-icon, .upload-reaction-icon, .upload-badge-icon {
    width: 0px;
    height: 0px;
    overflow: hidden;
}

.radio-icon, .reaction-icon, .badge-icon{
	width: 32px;
	border-radius: 5px;
}

span.input-group-text {
	color: #e3e6d3;
    background-color: #2e353e;
    border-color: #1d2127;
}

.nowrap{
	white-space: nowrap;
}


.trans-phrase {
	border-bottom: 1px solid #3a3b45;
	padding-bottom: 10px;
	padding-top: 10px;
	margin: 0;
  transition: 0.3s;
}

.trans-phrase:hover {
  background: #1d2127;
}

.disable {
  pointer-events: none;
}

.bg-gradient-primary {
	background-color: #2b3037;
  background-image:none;
}

.bg-darkgray {
	background: #E5E7E9;
}


.sidebar .nav-item .collapse .collapse-inner .collapse-item:hover, .sidebar .nav-item .collapsing .collapse-inner .collapse-item:hover {
	background-color: #2b3037;
	color: #eee;
}


.room-bgimage-remove {
	padding: 0;
	line-height: 1;
	margin-top: -40px;
	padding: 1px 2px;
	font-size: 10px;
}

.remove-setting {
	height: 20px;
	align-self: center;
	margin-left: 5px;
	border: none;
	background: #f44336;
	color: #fff;
	padding: 5px;
	border-radius: 2px;
	line-height: 1;
	font-size: 10px;
}

.table-responsive .row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

@media (min-width: 992px) {
    .navbar-expand-lg.navbar-vertical~.navbar {
        margin-left: 14rem;
    }
}

.navbar-vertical.navbar-expand-lg .navbar-brand {
    justify-content: flex-start;
    padding-left: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.color-picker {
    height: 40px;
}

html[data-bs-theme="dark"] .modal-content {
	border: 3px solid #374151;
}

.date-dropdowns {
    display: flex;
}


html[data-bs-theme="dark"] .date-dropdown select {
    background: #111827;
    color: #fff;
	border: 1px solid #374151;
}

.update-translation {
    position: fixed;
    right: 25px;
    bottom: 25px;
}

/* Sidebar section headers */
.nav-section-header {
    font-size: 0.625rem;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0;
    pointer-events: none;
}

/* Sidebar search */
#sidebar-search {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
}

#sidebar-search::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

#sidebar-search:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* Dashboard sparkline chart margins */
.chart-sm .apexcharts-canvas {
    margin: 0 -1px -5px -1px;
}

.chart-sm .apexcharts-inner {
    transform: translateY(-2px);
}

/* AI Translate controls */
.trans-phrase-filter {
    min-width: 300px;
}

.ai-translate-batch-size {
    width: auto !important;
    min-width: 70px;
    flex: 0 0 auto;
}

.ai-translate-scope {
    width: auto !important;
    min-width: 70px;
    flex: 0 0 auto;
}

.ai-translate-progress .progress {
    height: 6px;
}

.ai-translate-progress-bar {
    transition: width 0.3s ease;
}

.bot-message-list-container {
	border: 1px solid #dee2e6;
	border-radius: 4px;
	padding: 12px;
}

.bot-message-list-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 10px;
	margin-bottom: 8px;
	border: 1px solid #e9ecef;
	border-radius: 4px;
	background: #f8f9fa;
}

.bot-message-list-item .msg-type-select {
	width: 100px;
	flex-shrink: 0;
}

.bot-message-list-item .msg-content-area {
	flex: 1;
	min-width: 0;
}

.bot-message-list-item .msg-content-area textarea {
	width: 100%;
	min-height: 60px;
	resize: vertical;
}

.bot-message-list-preview {
	max-width: 80px;
	max-height: 80px;
	border-radius: 4px;
	object-fit: cover;
}

.bot-message-list-item .btn-remove-msg {
	flex-shrink: 0;
	align-self: flex-start;
}

.bot-message-list-add {
	margin-top: 8px;
}