.bg-chatbot-primary-color{
    background-color: var(--chatbot-primary-bgcolor) !important;
    color: var(--chatbot-primary-color) !important;
}
.bg-chatbot-primary-color-hover:hover{
    background-color: var(--chatbot-primary-bgcolor) !important;
    color: var(--chatbot-primary-color) !important;
}
.codemirror-black-text .cm-content {
  color: black !important;
}
.codemirror-black-text .cm-line {
  color: black !important;
}
.bg-black-950 {  
  background-color: #262626;
}
 .bg-black-900 {
  background-color: #333333;
}
.bg-black-950-hover {
  background-color: #333333;
}
.bg-hover-black-950{
  background-color: transparent;
}
.bg-hover-black-950:hover{
  background-color: #262626;
}
.items-center.active{ 
  background-color:  var(--chatbot-primary-bgcolor) !important;
  color: var(--chatbot-primary-color) !important;
}
.items-center.active .trash svg path,
.items-center.active .trash svg line{
  stroke: var(--chatbot-primary-color) !important;

}
.items-center.active .trash:hover svg path,
.items-center.active .trash:hover svg line{
   stroke:#000 !important;
}
.bg-hover-black-950 .trash{
  display: none;
}
.bg-hover-black-950:hover .trash{
  display: block;
}
.border-color-262626{
  border-color: #262626;
}
.icon-black-950 svg path {
  fill: #262626;
}
.icon-black-950 svg path {
  fill: #fff;
}
.icon-white svg path {
  fill: #fff;
}
.w-inherit {
  width: inherit;
}
.border-454545 {
  border-color: #454545;
}
.dark-icon-switch-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #262626;
  text-align: center;
  padding: 8px;
}
.dark-icon-switch-btn.bg-ct-dark {
  background-color: #333333;
}
.dark-icon-switch-btn svg {
  width: 16px;
  height: 16px;
}
.bg-F6F6F6 {
  background: #f6f6f6;
}
.bg-primary {
  background: #ffb608;
}
.p-sidebar-header {
  padding: 21px 16px;
  border-radius: 8px 8px 0 0;
}
.rounded-mode-selector {
  border-radius: 0 0 8px 8px;
}
.text-black-950 {
  color: #262626;
}
.text-black-700 {
  color: #4f4f4f;
}
.mode-checkbox {
  font-size: 18px;
  font-weight: 600;
  line-height: 21.6px;
  margin-bottom: 8px;
}
.rounded-chat.text-right {
  border-radius: 8px 8px 0 8px;
}
.rounded-chat.text-left {
  border-radius: 8px 8px 8px 0;
}
.icon-radio-checkbox {
  position: relative;
}
.icon-radio-checkbox {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 1px solid #262626;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  cursor: pointer;
  outline: none;
}
.dark .icon-radio-checkbox {
  border-color: #fff;
}
.dark .icon-radio-checkbox:checked {
  background-color: #fff;
}
.dark .icon-radio-checkbox:checked::after {
  border-color: #262626;
}
.icon-radio-checkbox:checked {
  background-color: #262626;
}
.icon-radio-checkbox:checked::after {
  content: "";
  width: 5px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  position: absolute;
  top: 41%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  display: block;
}

.custom-checkbox {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 1px solid #262626;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  cursor: pointer;
  outline: none;
}
.dark .custom-checkbox {
  border-color: #fff;
}
.dark .custom-checkbox:checked {
  background-color: #fff;
}
.dark .custom-checkbox:checked::after {
  border-color: #262626;
}
.custom-checkbox:checked {
  background-color: #262626;
}
.version {
  background: #34c759;
  padding: 4px 8px;
  border-radius: 4px;
  color: #fff;
  position: absolute;
  top: 50%;
  right:-70px;
  transform: translateY(-50%);
  margin-left: 8px;
}
.version-header{
  background: #F6F6F6;
  padding: 4px 8px;
  border-radius: 4px;
  color: #fff;
  position: absolute;
  top: 50%;
  right:-70px;
  transform: translateY(-50%);
}
.max-h-chat{
  max-height: calc(100vh - 190px);
}
.transform-translate-X-50  {
  transform: translateX(-50%);
}
.text-hover-E21F26:hover{
  color: #E21F26 !important;
}
.active.text-hover-E21F26{
  background: #F5F6F8 !important;
}
.bg-hover-F5F6F8:hover{
  background: #F5F6F8 !important;
}
.trash{
  cursor: pointer;
  border-radius: 4px;
  padding:4px;
  width: 24px;
  height: 24px;
  text-align: center;
  background:transparent;
  margin-right: 8px;
}
.trash:hover{
  background:#fff;
}
/* .trash:hover svg path{
  stroke: #fff;
} */
.text-orange:hover{
  color: #ffb608;
}
.custom-checkbox:checked::after {
  content: "";
  width: 5px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  position: absolute;
  top: 41%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  display: block;
}
.arrow-down-style {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik01LjI5Mjg5IDguMjkyODlDNS42ODM0MiA3LjkwMjM3IDYuMzE2NTggNy45MDIzNyA2LjcwNzExIDguMjkyODlMMTIgMTMuNTg1OEwxNy4yOTI5IDguMjkyODlDMTcuNjgzNCA3LjkwMjM3IDE4LjMxNjYgNy45MDIzNyAxOC43MDcxIDguMjkyODlDMTkuMDk3NiA4LjY4MzQyIDE5LjA5NzYgOS4zMTY1OCAxOC43MDcxIDkuNzA3MTFMMTIuNzA3MSAxNS43MDcxQzEyLjMxNjYgMTYuMDk3NiAxMS42ODM0IDE2LjA5NzYgMTEuMjkyOSAxNS43MDcxTDUuMjkyODkgOS43MDcxMUM0LjkwMjM3IDkuMzE2NTggNC45MDIzNyA4LjY4MzQyIDUuMjkyODkgOC4yOTI4OVoiIGZpbGw9IiM5OTk5OTkiLz4KPC9zdmc+Cg==) !important;
  background-repeat: no-repeat !important;
  background-position-x: 98% !important;
  background-position-y: 13px !important;
  background-size: 24px 24px !important;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}
.style-text-list p {
  margin-bottom: 12px;
  line-height: 1.6;
}
.style-text-list p:last-child {
  margin-bottom: 0;
}
.style-text-list ul,
.style-text-list ol {
  margin-bottom: 12px;
  padding-left: 2rem;
}
.style-text-list ol {
  list-style: decimal;
}
.style-text-list ul {
  list-style: disc;
}

.style-text-list li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.style-text-list blockquote,
.style-text-list dl,
.style-text-list dd,
.style-text-list h1,
.style-text-list h2,
.style-text-list h3,
.style-text-list h4,
.style-text-list h5,
.style-text-list h6,
.style-text-list hr,
.style-text-list figure,
.style-text-list pre {
  margin-bottom: 12px;
}
.style-text-list h1,
.style-text-list h2,
.style-text-list h3,
.style-text-list h4,
.style-text-list h5,
.style-text-list h6 {
  font-weight: 700;
}
.lds-ring,
.lds-ring div {
  box-sizing: border-box;
}
.lds-ring {
  display: inline-block;
  position: absolute;
  top: 20%;
  left: 30px;
  width: 30px;
  height: 30px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  margin: 4px;
  border: 4px solid;
  border-radius: 50%;
  animation: 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite lds-ring;
  border-color: currentColor #0000 #0000;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loader-container {
  display: flex;
  justify-content: center;
  align-items: center;
  /* height: 20px; */
}

.loader {
  display: flex;
  justify-content: space-between;
  /* width: 30px; */
}

.loader div {
  width: 4px;
  height: 4px;
  background-color: #ff5c35;
  border-radius: 50%;
  animation: grow-shrink 1.5s infinite;
}

.loader div:nth-child(1) {
  animation-delay: 0s; 
}

.loader div:nth-child(2) {
  animation-delay: 0.3s;
}

.loader div:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes grow-shrink {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
}
@media (max-width: 1025px) and (min-width: 1024px) {
  .width-fix-tablet {
    width: 680px;
  }
  .fix-padding-tablet {
    padding: 0 !important;
  }
  .width-ct1024 {
    width: 290px !important;
  }
}
@media (max-width: 767px) {
  .arrow-down-style {
    background-size: 16px 16px !important;
  }
  .fix-hidden-mobile {
    display: none;
  }
  .fix-block-mobile {
    display: block;
  }
}
/* styles/globals.css hoặc tương đương */
.hide-scrollbar {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE & Edge */
}
.hide-scrollbar::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}