:root {
  --bs-body-font-size: 0.875rem;
}

[data-bs-theme=dark] {
  --bs-body-bg: #212121;
  --bs-body-color: #dddddd;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  background-color: #f0f5f8;
}

[data-bs-theme="dark"] body {
  background-color: #18191A;
}

.navbar {
  height: 65px;
  background-color: #f0f5f8;
  border-bottom: 1px solid rgba(70, 70, 70, 0.1);
}

[data-bs-theme=dark] .navbar {
  background-color: #18191A;
  border-bottom: 1px solid rgba(218, 218, 218, 0.1);
}

.navbar .nav-link {
  color: #34303d;
  font-weight: 600;
  border-radius: 5px;
  margin-left: .25rem;
  margin-right: .25rem;
  padding-left: .75rem;
  padding-right: .75rem;
  transition: all .2s ease-in-out;
}

[data-bs-theme=dark] .navbar .nav-link {
  color: #c6cace;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  background-color: rgba(181, 172, 233, 0.1);
}

[data-bs-theme=dark] .navbar .nav-link:hover,
[data-bs-theme=dark] .navbar .nav-link.active {
  color: #c6cace;
  background-color: rgba(137, 130, 173, 0.1);
}

.navbar-dark {
  color: #dddada;
  background-color: #131414 !important;
}

.navbar-dark .nav-link {
  color: #dddada;
}

.navbar-toggler {
  padding: 0;
  box-shadow: none !important;
  border: 0 !important;
}

.navbar-brand {
  padding: 0;
  margin: 0;
  font-weight: 700;
  font-size: 1.5rem;
}

.site-logo {
  width: auto;
  height: 32px;
  outline: 0;
}

[data-bs-theme=auto] .logo-light,
[data-bs-theme=light] .logo-light {
  display: none;
}

[data-bs-theme=dark] .logo-dark {
  display: none;
}

/* Main and Sidebar */
main {
  padding-top: 65px;
}

.main {
  padding-top: 1rem;
  margin-bottom: 1rem;
}

.sidebar-menu .nav-link {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  margin-bottom: 5px;
  color: #5a6376;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: all .1s ease-in-out;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-bs-theme=dark] .sidebar-menu .nav-link {
  color: #bbc0c5;
}

.sidebar-menu .nav-link span {
  color: #252d3d;
}

[data-bs-theme=dark] .sidebar-menu .nav-link span {
  color: #bbc0c5;
}

.sidebar-menu .nav-link:hover {
  background-color: rgba(181, 172, 233, 0.1);
}

[data-bs-theme=dark] .sidebar-menu .nav-link:hover {
  background-color: rgba(137, 130, 173, 0.1);
}

.sidebar-menu .nav-link.actived {
  background-color: rgba(137, 130, 173, 0.1);
}

[data-bs-theme=dark] .sidebar-menu .nav-link.actived,
[data-bs-theme=dark] .sidebar-menu .nav-link.actived span {
  color: #dee2e6;
}

.sidebar-menu .nav-link svg {
  margin-bottom: 2px;
}

.sidebar-menu .divider {
  margin: 10px 15px;
  position: relative;
  overflow: hidden;
}

.sidebar-menu .divider:after {
  content: '';
  position: absolute;
  width: 100%;
  top: 50%;
  margin-left: 10px;
  margin-top: 2px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

[data-bs-theme=dark] .sidebar-menu .divider:after {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Form and Button */

.btn-primary {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: #281f56;
  --bs-btn-border-color: #211850;
  --bs-btn-hover-bg: #3c3174;
  --bs-btn-hover-border-color: #281f56;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: #251b5a;
  --bs-btn-active-border-color: #281f56;
  --bs-btn-disabled-color: #ffffff;
  --bs-btn-disabled-bg: #423777;
  --bs-btn-disabled-border-color: #423777;
}

.btn-primary:hover {
  color: #ffffff;
}

.btn {
  font-size: 0.875rem;
}

.btn-close {
  opacity: 0.7;
}

.btn-close:hover {
  opacity: 0.95;
}

.btn-border {
  border: 1px solid #e1e1e1;
}

[data-bs-theme="dark"] .border {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.form-control:hover,
.form-select:hover,
.form-control:focus,
.form-select:focus,
.btn-close:focus {
  box-shadow: none;
  border-color: rgba(136, 66, 228, 0.5);
}

[data-bs-theme="dark"] .btn-light {
  color: #bbc0c5;
  background-color: var(--bs-body-bg);
  border-color: #464646;
}

[data-bs-theme="dark"] a.text-dark {
  color: #cecece !important;
}

.form-select {
  cursor: pointer;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.313rem;
}

.form-check-label {
  font-size: 0.875rem;
  font-weight: 600;
}

.form .form-select,
.form .form-control,
.form .form-control:focus,
.form .note-editor {
  background-color: #edf2f7;
}

[data-bs-theme="dark"] .form .form-select,
[data-bs-theme="dark"] .form .form-control,
[data-bs-theme="dark"] .form .form-control:focus,
[data-bs-theme="dark"] .form .note-editor {
  background-color: #1a1b1b;
}

form .form-select,
form .form-control {
  padding: 0.55rem 0.875rem;
}

.post-form .form-select,
.post-form .form-control,
.post-form .form-control:focus {
  background-color: #edf2f7;
}

[data-bs-theme="dark"] .post-form .form-select,
[data-bs-theme="dark"] .post-form .form-control,
[data-bs-theme="dark"] .post-form .form-control:focus {
  background-color: #1a1b1b;
}

.post-form .form-label {
  font-size: 0.875rem;
  font-weight: 600;
}

.hover-blue:hover,
a.hover-blue:hover {
  color: #254ef1 !important;
}

.hover-dark:hover {
  color: #717171 !important;
}

.hover-border:hover {
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
}

[data-bs-theme="dark"] .hover-border:hover {
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.dropdown-menu {
  --bs-dropdown-link-active-color: #000000;
  --bs-dropdown-link-active-bg: rgba(137, 130, 173, 0.1);
  --bs-dropdown-min-width: 15rem;
  --bs-dropdown-padding-x: 0.875rem;
  --bs-dropdown-font-size: 0.838rem;
  --bs-dropdown-item-padding-y: 0.5rem;
  -webkit-animation-name: slideIn;
  animation-name: slideIn;
  animation-duration: 0.2s;
  -webkit-animation-duration: 0.2s;
  animation-fill-mode: both;
  -webkit-animation-fill-mode: both;
}

[data-bs-theme="dark"] .dropdown-menu {
  --bs-dropdown-link-active-color: #ffffff;
}

.dropdown-item {
  font-weight: 600;
  margin: 0.5rem 0;
  border-radius: 0.5rem;
}

.svg-icon-box {
  width: 56px;
  height: 56px;
  color: #000000;
  border: 1px solid #d3d3d3;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.svg-icon-box svg {
  width: 24px;
  height: 24px;
}

#pricing-tab.nav-pills .nav-link,
#pricing-tab.nav-pills .nav-link.active {
  border-radius: 0;
}

table th {
  font-weight: 600;
}

.card {
  border: 0;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 9%), 0 1px 2px 0 rgb(0 0 0 / 5%);
}

[data-bs-theme="dark"] .card-header.bg-white {
  background-color: var(--bs-body-bg) !important;
}

a.card:hover {
  box-shadow: 0 0.3rem 0.7rem rgba(0, 0, 0, 0.15) !important;
}

#template-group .nav-link {
  color: #6b6c77;
  transition: all .1s ease-in-out;
}

[data-bs-theme="dark"] #template-group .nav-link {
  color: #b9bac2;
}

#template-group .nav-link.active {
  border-radius: 1rem;
  padding: 0.5rem 0.75rem !important;
  background-color: rgba(174, 163, 235, 0.1);
}

.zoom {
  transition: all .2s ease-in-out;
}

.zoom:hover {
  transform: scale(1.05);
}

#pricing .nav-link {
  color: #000000;
  font-weight: 600;
}

[data-bs-theme="dark"] #pricing .nav-link {
  color: #ffffff;
}

#pricing .nav-link.active {
  color: #ffffff;
  background-color: #281f56;
}

.article {
  font-size: 1rem;
}

.article h1,
.article h2,
.article h3,
.article h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.article h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

.article h3 {
  font-size: 1.2rem;
}

/* Editor */
.editor {
  background-color: #ffffff;
}

[data-bs-theme="dark"] .editor {
  background-color: #131414;
}

.raitor-sidebar {
  width: 100%;
  position: relative;
  background-color: #ffffff !important;
  overflow: hidden;
}

.templateItem a {
  box-shadow: none;
  transition: all .2s ease-in-out;
}

.templateItem a:hover {
  border-color: rgba(146, 146, 146, 0.7) !important;
}

[data-bs-theme="dark"] .raitor-sidebar {
  background-color: #131414 !important;
}

.raitor-editor .ql-editor {
  font-size: 1rem;
  font-weight: 400;
  width: 100%;
  min-height: 400px;
}

.raitor-editor .ql-toolbar.ql-snow,
.raitor-editor .ql-container.ql-snow {
  border: 0px;
}

.raitor-editor .ql-toolbar.ql-snow {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(53, 53, 53, 0.1);
  position: -webkit-sticky;
  position: sticky;
  top: 64px;
  text-align: center;
  z-index: 1020;
}

[data-bs-theme="dark"] .raitor-editor .ql-toolbar.ql-snow {
  background-color: #131414;
  border-bottom: 1px solid rgba(156, 156, 156, 0.1);
}

[data-bs-theme="dark"] .ql-toolbar .ql-stroke {
  fill: none;
  stroke: #a0a4a8;
}

[data-bs-theme="dark"] .ql-toolbar .ql-fill {
  fill: #a0a4a8;
  stroke: none;
}

[data-bs-theme="dark"] .ql-toolbar .ql-picker {
  color: #a0a4a8;
}

.ql-snow .ql-editor {
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 400;
}

.ql-snow .ql-editor h1 {
  font-size: calc(1.325rem + 0.8vw);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.ql-snow .ql-editor h2 {
  font-size: calc(1.3rem + 0.5vw);
  margin-bottom: 0.375rem;
}

.ql-snow .ql-editor h3 {
  font-size: calc(1.275rem + 0.3vw);
  margin-bottom: 0.375rem;
}

.ql-snow .ql-editor h4 {
  font-size: 1.25rem;
  margin-bottom: 0.375rem;
}

.ql-snow .ql-editor h5 {
  font-size: 1rem;
  margin-bottom: 0.375rem;
}

.ql-snow .ql-editor h6 {
  font-size: 1rem;
  margin-bottom: 0.375rem;
}

.ql-snow .ql-editor p,
.ql-snow .ql-editor ul,
.ql-snow .ql-editor ol,
.ql-snow .ql-editor pre {
  margin-top: 0;
  margin-bottom: 1rem;
}

.border-0 .ql-container.ql-snow,
.border-0 .ql-snow .ql-tooltip,
.border-0 .ql-toolbar.ql-snow {
  border: 0px;
  text-align: center;
}

.border-0 .ql-snow .ql-editor h1:first-child {
  margin-bottom: 1.5rem;
}

.form-control-error {
  border-color: #fa8080;
}

.note-toolbar {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 62px !important;
  z-index: 9;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  background-color: #ffffff !important;
}

[data-bs-theme="dark"] .note-toolbar {
  background-color: #242424 !important;
}

.list-group-item.radio:hover {
  background-color: #f7f7f7;
  cursor: pointer;
}

/* Images */

.modal.lightbox {
  background-color: rgba(0, 0, 0, 0.9);
}

.modal.lightbox .modal-dialog .modal-content {
  max-width: auto !important;
}

.lightbox-carousel .ratio {
  background-color: transparent !important;
}

.lightbox-carousel .lightbox-caption {
  font-size: 18px;
}

.lightbox-gallery {
  position: relative;
  transition: all .3s ease-in-out;
  cursor: pointer;
}

.lightbox-gallery:hover {
  box-shadow: 0 0.3rem 0.7rem rgba(0, 0, 0, 0.15);
}

.lightbox-gallery .card-overlay {
  position: absolute;
  display: none;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.lightbox-gallery:hover .card-overlay {
  display: block;
}

/* Responsive */

@media (min-width: 768px) {
  .alert-error {
    color: #842029;
    background-color: #ffcaca;
    border-color: #f5c2c7;
  }

  .border-md {
    border: 1px solid #e1e1e1;
  }

  .shadow-md {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  }

  .navbar,
  .main {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .col-md-auto {
    flex: 1 0 0%;
  }
}

@media (min-width: 992px) {
  .container-full .sidebar {
    display: none;
  }

  .sidebar {
    position: fixed;
    width: 250px;
    height: calc(100% - 65px);
    display: block;
  }

  .sidebar .offcanvas {
    visibility: visible !important;
    display: inline !important;
    position: relative !important;
    top: 0px;
  }

  .main {
    padding-top: 2rem;
    margin-left: 265px;
  }

  .navbar,
  .main {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .raitor-sidebar {
    width: 380px;
    height: calc(100% - 65px);
    position: fixed;
    overflow-y: auto;
    border-left: 0px;
    border-right: 1px solid rgba(34, 34, 34, 0.1);
  }

  .raitor-sidebar-right {
    right: 0;
    border-right: 0px;
    border-left: 1px solid rgba(34, 34, 34, 0.1);
  }

  [data-bs-theme="dark"] .raitor-sidebar {
    border-right: 1px solid rgba(156, 156, 156, 0.1);
  }

  [data-bs-theme="dark"] .raitor-sidebar-right {
    border-left: 1px solid rgba(156, 156, 156, 0.1);
  }

  .raitor-editor {
    margin-left: 380px;
    position: fixed;
    width: calc(100% - 380px);
    height: calc(100% - 65px);
    overflow-y: hidden;
  }

  .raitor-editor .ql-editor {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    padding: 2rem 1rem;
    height: calc(100% - 42px);
    overflow-y: auto;
  }

  .raitor-editor .ql-editor::before {
    padding: 0 3rem;
  }

  .raitor-editor .ql-toolbar.ql-snow {
    top: 0px;
  }

  .form-control,
  .form-select {
    font-size: 0.875rem;
  }

  .post-form .btn {
    padding: 0.55rem 1rem;
  }

  .col-lg-auto {
    flex: 1 0 0%;
  }
}

@media (min-width: 1200px) {

  .navbar,
  .main {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .sidebar {
    margin: auto 1rem;
  }

  .masthead {
    padding: 14rem 0;
  }

  .col-xl-auto {
    flex: 1 0 0%;
  }
}

@media (min-width: 1200px) {
  .raitor-editor .ql-editor {
    padding: 2rem 3rem;
  }

  .raitor-editor .ql-editor::before {
    padding: 0 3rem;
  }
}

/* chat */
.chat-area {
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0 auto;
  width: 100%;
  height: calc(100vh - 100px);
  overflow: hidden;
}

.chat-body {
  width: 100%;
  max-width: 100%;
  height: 100%;
  padding-bottom: 1rem;
  overflow-y: auto;
}

.chat-user {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.user-message {
  display: flex;
  justify-content: flex-end;
}

.user-message,
.response-message {
  margin-bottom: 1rem;
  overflow-x: hidden;
}

.chat-body .ai-content p:not(:last-child) {
  margin-bottom: 1.5rem;
}

.chat-content {
  width: calc(100% - 48px);
}

.chat-action {
  display: flex;
}

.chat-scroll {
  position: absolute;
  right: 0;
  margin-bottom: 8px;
  z-index: 1000;
}

.chat-footer textarea {
  border: 0;
  border-radius: 26px;
  resize: none;
  font-size: 1rem;
  padding: 1rem;
  height: 56px;
  max-height: 250px;
  overflow-x: hidden !important;
}

.chat-footer textarea::-webkit-scrollbar {
  width: 8px;
}

.chat-footer textarea::-webkit-scrollbar-thumb {
  background-color: #e2e2e2;
  border-radius: 5px;
}

.chat-footer textarea::-webkit-scrollbar-track {
  border-radius: 5px;
}

[data-bs-theme=dark] .chat-footer textarea::-webkit-scrollbar-thumb {
  background-color: #2e2e2e;
}

.chat-footer textarea::-webkit-scrollbar-thumb:hover {
  cursor: auto;
}

.chat-footer .chatbox {
  border-radius: 26px;
  background-color: #ffffff;
  border: 1px solid rgba(130, 130, 130, 0.2);
}

[data-bs-theme=dark] .chat-footer .chatbox {
  background-color: #212121;
}

.chat-footer button {
  width: 32px;
  height: 32px;
  margin: 10px;
  padding: 0;
}

.chat-footer .btn-submit {
  display: flex;
  color: #ffffff;
  background-color: #212121;
}

.chat-footer .btn-submit:hover {
  background-color: #4b4b4b;
}

.chat-footer .btn-submit:disabled {
  background-color: #a8a8a8;
}

[data-bs-theme=dark] .chat-footer .btn-submit {
  color: #000000;
  background-color: #eeeeee;
}

[data-bs-theme=dark] .chat-footer .btn-submit:hover {
  background-color: #b9b9b9;
}

[data-bs-theme=dark] .chat-footer .btn-submit:disabled {
  background-color: #585858;
}

.chat-footer {
  width: 100%;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
}

.chat-history {
  position: relative;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 100px);
  overflow: hidden;
}

.chat-history-body {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.chat-history-body .nav-link {
  color: #252d3d;
  border-radius: 5px;
}

[data-bs-theme=dark] .chat-history-body .nav-link {
  color: #e4e4e4;
}

.chat-history-body .nav-link:hover,
.chat-history-body .nav-link.active {
  background-color: rgba(181, 172, 233, 0.1);
}

.chat-history-body .nav-item:hover .dropdown {
  display: inline !important;
}

.chat-history-body .nav-item:hover .nav-link span {
  margin-right: 1.5rem;
}

.chat-history-body .dropdown:hover {
  background-color: rgba(181, 172, 233, 0.1);
  border-radius: 10px;
}

.result-thinking {
  -webkit-font-smoothing: subpixel-antialiased;
  -webkit-animation: pulseSize 1.25s ease-in-out infinite;
  animation: pulseSize 1.25s ease-in-out infinite;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background-color: #696b7c;
  border-radius: 50%;
  box-sizing: border-box;
  content: " ";
  display: inline-block;
  width: 12px;
  height: 12px;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transform-origin: center;
  transform-origin: center;
  will-change: transform;
}

.result-streaming> :not(ol):not(ul):not(pre):last-child::after,
.result-streaming>pre:last-child code::after {
  -webkit-font-smoothing: subpixel-antialiased;
  -webkit-animation: pulseSize 1.25s ease-in-out infinite;
  animation: pulseSize 1.25s ease-in-out infinite;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background-color: #535563;
  border-radius: 50%;
  line-height: normal;
  margin: 0 0.25rem;
  vertical-align: baseline;
  box-sizing: border-box;
  content: " ";
  display: inline-block;
  width: 12px;
  height: 12px;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transform-origin: center;
  transform-origin: center;
  will-change: transform;
}

.result-processing {
  width: 30px;
  height: 30px;
  position: relative;
}

.result-processing svg {
  transform: rotate(-90deg);
}

.result-processing circle {
  fill: none;
  stroke-width: 2px;
  stroke: #ab68ff;
  stroke-dasharray: 66.68;
  stroke-dashoffset: 66.68;
  animation: load 10s linear forwards;
}

.result-processing circle.background {
  stroke: rgba(105, 105, 105, 0.1);
  stroke-width: 2px;
  stroke-dasharray: 0;
  stroke-dashoffset: 0;
}

@keyframes load {
  to {
    stroke-dashoffset: 0;
  }
}

@-webkit-keyframes pulseSize {

  0%,
  to {
    -webkit-transform: scaleX(1);
    transform: scaleX(1)
  }

  50% {
    -webkit-transform: scale3d(1.25, 1.25, 1);
    transform: scale3d(1.25, 1.25, 1)
  }
}

@keyframes pulseSize {

  0%,
  to {
    -webkit-transform: scaleX(1);
    transform: scaleX(1)
  }

  50% {
    -webkit-transform: scale3d(1.25, 1.25, 1);
    transform: scale3d(1.25, 1.25, 1)
  }
}

.chat-sidebar {
  width: 320px;
  top: 0;
  right: 0;
  transform: translateX(100%);
  margin-left: auto;
}

.collapse-chat-sidebar {
  position: fixed;
  right: 0;
  z-index: 1;
  border: 0;
  border-radius: 1rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  transition: all .2s ease-in-out;
}

.collapse-chat-sidebar:hover svg {
  transform: scale(1.3);
}

@media (min-width: 992px) {
  .chat-area {
    width: 770px;
    height: calc(100vh - 110px);
  }

  .chat-action {
    visibility: hidden;
    transition: all .5s ease-in-out;
  }

  .user-message:hover .chat-action,
  .response-message:hover .chat-action {
    visibility: visible;
  }
}

@media (min-width: 1400px) {
  .chat-sidebar {
    position: static;
    z-index: auto;
    flex-grow: 1;
    height: auto !important;
    visibility: visible !important;
    background-color: transparent !important;
    border: 0 !important;
    transform: none !important;
    transition: none;
    top: auto;
    right: auto;
    transform: none;
    margin-left: 0;
    overflow: hidden;
  }

  .chat-sidebar .offcanvas-header {
    display: none;
  }

  .collapse-chat-sidebar {
    display: none;
  }

  .chat-history {
    height: calc(100vh - 165px);
  }
}

@keyframes slideIn {
  0% {
    transform: translateY(1rem);
    opacity: 0;
  }

  100% {
    transform: translateY(0rem);
    opacity: 1;
  }

  0% {
    transform: translateY(1rem);
    opacity: 0;
  }
}

@-webkit-keyframes slideIn {
  0% {
    -webkit-transform: transform;
    -webkit-opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0);
    -webkit-opacity: 1;
  }

  0% {
    -webkit-transform: translateY(1rem);
    -webkit-opacity: 0;
  }
}

/* Treeview */
.tree ul,
.tree ul ul {
  margin: 0;
  padding: 0;
  list-style: none
}

.tree ul ul {
  margin-left: 1rem;
  position: relative
}

.simplebar-scrollbar::before {
  background: #cccccc;
}

.simplebar-scrollbar:hover::before {
  background: #c4c4c4;
}

[data-bs-theme=dark] .simplebar-scrollbar::before {
  background: #333333;
}

[data-bs-theme=dark] .simplebar-scrollbar:hover::before {
  background: #424242;
}

#fileList .card:hover .delete-button {
  display: block !important;
}

/* apex charts */
[data-bs-theme="dark"] .apexcharts-tooltip.apexcharts-theme-light {
  background-color: #333;
  color: #fff;
  border: 1px solid #444;
}

[data-bs-theme="dark"] .apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title {
  background-color: #333;
}

/* RTL */
html[dir=rtl] .bi-arrow-right,
html[dir=rtl] svg.bi.bi-arrow-right-short,
html[dir=rtl] .pagination .page-item.previous,
html[dir=rtl] .pagination .page-item.next,
html[dir=rtl] .collapse-chat-sidebar svg {
  transform: rotate(180deg);
}

html[dir=rtl] .pagination .page-item a {
  border-radius: 0;
}

html[dir=rtl] .ql-editor {
  direction: rtl;
  text-align: right;
}

@media (min-width: 992px) {
  html[dir=rtl] .main {
    margin-left: 0;
    margin-right: 265px;
  }

  html[dir=rtl] .raitor-editor {
    margin-left: 0;
    margin-right: 380px;
  }

  html[dir=rtl] .raitor-sidebar {
    border-left: 1px solid rgba(34, 34, 34, 0.1);
  }
}