.app-rich-editor {
  max-width: 100%;
}
.app-rich-editor .ql-toolbar {
  display: flex;
  flex-wrap: wrap;
}
.app-rich-editor .ql-editor {
  min-height: 10rem;
  overflow-wrap: anywhere;
}
.app-rich-editor .ql-toolbar,
.app-rich-editor .ql-container {
  border: 0;
}
.app-rich-editor .ql-tooltip {
  max-width: calc(100vw - 3rem);
  z-index: 5;
}
.app-rich-editor .ql-tooltip input {
  max-width: 100%;
}
.app-rich-editor .ql-snow .ql-tooltip::before {
  content: attr(data-visit);
}
.app-rich-editor .ql-snow .ql-tooltip.ql-editing::before {
  content: attr(data-enter);
}
.app-rich-editor .ql-snow .ql-tooltip a.ql-action::after {
  content: attr(data-edit);
}
.app-rich-editor .ql-snow .ql-tooltip.ql-editing a.ql-action::after {
  content: attr(data-save);
}
.app-rich-editor .ql-snow .ql-tooltip a.ql-remove::before {
  content: attr(data-remove);
}
[data-ui-image] .image-input-wrapper {
  background-size: cover;
  background-position: center;
}
.app-rich-editor .ql-toolbar .ql-formats:first-child {
  flex-basis: 100%;
  margin-bottom: 0.5rem;
}
.app-rich-editor .ql-picker.ql-header {
  width: 100%;
  min-width: 11rem;
}
.app-rich-editor .ql-stroke {
  stroke: var(--bs-gray-700);
}
.app-rich-editor .ql-fill {
  fill: var(--bs-gray-700);
}
[data-ui-image] .app-image-actions [data-kt-image-input-action="cancel"] {
  position: static;
  display: inline-flex;
}
[data-ui-image] .app-image-actions [data-kt-image-input-action="cancel"] {
  transform: none;
  top: auto;
  left: auto;
}
[data-admin-root] .select2-container,
[data-account-tabs] .select2-container,
[data-wallet-page] .select2-container,
[data-deposit-page] .select2-container,
[data-shop-page] .select2-container,
[data-affiliate-page] .select2-container,
[data-addon-manage] .select2-container,
[data-addon-page] .select2-container {
  max-width: 100%;
  min-width: 0;
}
[data-admin-root] .select2-selection__rendered,
[data-account-tabs] .select2-selection__rendered,
[data-wallet-page] .select2-selection__rendered,
[data-deposit-page] .select2-selection__rendered,
[data-shop-page] .select2-selection__rendered,
[data-affiliate-page] .select2-selection__rendered,
[data-addon-manage] .select2-selection__rendered,
[data-addon-page] .select2-selection__rendered {
  overflow-wrap: anywhere;
}
