.cropper-container {
  display: block;
  background-color: var(--color-white, #FFFFFF);
  box-shadow: 0px 3px 1rem rgba(var(--color-border-rgb, 200, 199, 204), 0.2), inset 0 0 0 1px rgba(var(--color-border-rgb, 200, 199, 204), 0.35);
  border: none;
  margin: 0 auto;
  border-radius: 0.5rem;
  width: 100%;
  padding: 1px;
  position: relative;
}
.is-dark-mode .cropper-container {
  background-color: var(--color-black, #000000);
  box-shadow: 0px 3px 1rem rgba(var(--color-black-rgb, 0, 0, 0), 0.35), inset 0 0 0 1px var(--color-dark-tint, #414141);
}
.cropper-container .loading {
  position: absolute;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  top: 1px;
  right: 0;
  left: 1px;
  bottom: 0;
  background-color: var(--color-white, #FFFFFF);
  display: flex;
  border-radius: calc(0.5rem - 1px);
  z-index: 9;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}
.is-dark-mode .cropper-container .loading {
  background-color: var(--color-black, #000000);
}
.cropper-container .loading.active {
  opacity: 1;
}
.cropper-container .loading x-progress {
  max-width: 280px;
}
.cropper-container .preview {
  display: none;
  animation: 0.4s fadeIn;
  text-align: center;
}
.cropper-container .preview .content {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 150px;
  position: relative;
  overflow: hidden;
  padding: 0.5rem;
  margin: 0.5rem;
}
.is-mobile .cropper-container .preview .content {
  margin: 0.5rem auto;
}
.cropper-container .preview .content:before, .cropper-container .preview .content:after {
  content: "";
  position: absolute;
  z-index: 8999;
  pointer-events: none;
  opacity: 0.2;
}
.cropper-container .preview .content:before {
  top: 0.5rem;
  bottom: 0.5rem;
  left: 0;
  right: 0;
  border-top: 1px dashed #5fa7ef;
  border-bottom: 1px dashed #5fa7ef;
}
.cropper-container .preview .content:after {
  top: 0;
  bottom: 0;
  left: 0.5rem;
  right: 0.5rem;
  border-left: 1px dashed #5fa7ef;
  border-right: 1px dashed #5fa7ef;
}
.cropper-container .preview .content img {
  width: calc(100% - 4px);
  height: auto;
  margin: 2px;
  border-radius: 3px;
}
.cropper-container .preview .buttons {
  display: flex;
  padding: 0.75rem 0.675rem;
  justify-content: center;
}
.cropper-container .preview .buttons x-button:first-child {
  margin-right: 0.5rem;
}
.cropper-container .preview p {
  animation: 0.4s fadeInUp;
  font-size: 0.8rem;
  opacity: 0.7;
}
.cropper-container .editor {
  display: block;
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 5rem);
  width: 100%;
  overflow: hidden;
  border-radius: 0.45rem;
  animation: 0.4s fadeIn;
}
.cropper-container .editor.busy {
  opacity: 0;
  animation-delay: 0.4s;
}
.is-mobile .cropper-container .editor {
  max-width: 100%;
}
.cropper-container .editor canvas {
  width: 100%;
  height: auto;
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 5rem);
}
.is-mobile .cropper-container .editor canvas {
  max-width: 100%;
}
.cropper-container .editor cropper-canvas {
  width: 100%;
  height: auto;
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 5rem);
}
.is-mobile .cropper-container .editor cropper-canvas {
  max-width: 100%;
}
.cropper-container .toolbar {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1px;
  animation: 0.4s fadeInUp;
  bottom: 0;
  padding: 0.5rem;
  width: 100%;
}
.cropper-container .toolbar .actions {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: 0.4s fadeInUp;
  gap: 0.5rem;
}
.cropper-container .toolbar button {
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  cursor: pointer;
  appearance: none;
}
.cropper-container .toolbar button.toolbar-button {
  font-size: 3rem;
  width: 1em;
  height: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.2s;
  color: var(--color-border, #C8C7CC);
  background-color: rgba(var(--color-default-rgb, 155, 155, 155), 0.3);
  border-radius: 50%;
}
.cropper-container .toolbar button[disabled] {
  cursor: wait;
}
.cropper-container .toolbar button:hover {
  background-color: var(--color-link-lucid, #e3eafd);
  color: var(--color-link-shade, #3863ce);
}
.cropper-container .toolbar button:hover[disabled] {
  background-color: transparent !important;
}
.is-dark-mode .cropper-container .toolbar button:hover {
  background-color: var(--color-link-shaded, #2e52a9);
}
.cropper-container .toolbar button:active i {
  transform: translateY(2px);
}
.cropper-container .toolbar button x-icon {
  transition: 0.1s;
  font-size: 0.5em;
}
.cropper-container .toolbar .sizes {
  display: block;
  background-color: var(--color-border-lucid, #f7f7f7);
  border: 1px solid var(--color-border-tinted, #d9d8db);
  list-style: none;
  margin: 0 0 2px;
  padding: 0.25rem;
  min-width: 14rem;
  max-width: 100%;
  z-index: 9999;
  box-shadow: 0px 12px 10px -8px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
}
.is-dark-mode .cropper-container .toolbar .sizes {
  background-color: var(--color-dark-shade, #1a1a1a);
  border: 1px solid var(--color-dark-tint, #414141);
}
.cropper-container .toolbar .sizes:empty {
  display: none !important;
}
.cropper-container .toolbar .sizes:before {
  content: "";
  position: absolute;
  bottom: calc(-0.6rem + 4px - 1px);
  right: 1rem;
  width: 1.2rem;
  height: 1.2rem;
  display: block;
  background-color: var(--color-border-lucid, #f7f7f7);
  border: 1px solid var(--color-border-tinted, #d9d8db);
  border-left: none;
  border-top: none;
  transform: rotate(45deg);
  border-bottom-right-radius: 0.25rem;
  border-top-left-radius: 1.2rem;
}
.is-dark-mode .cropper-container .toolbar .sizes:before {
  background-color: var(--color-dark-shade, #1a1a1a);
  border: 1px solid var(--color-dark-tint, #414141);
  border-right: none;
  border-bottom: none;
}
.cropper-container .toolbar .sizes li {
  color: var(--color-text, #4A4A4A);
  border-bottom: 1px dashed rgba(var(--color-default-rgb, 155, 155, 155), 0.2);
  border-radius: 0.2rem;
  line-height: 1em;
  cursor: pointer;
  transition: 0.3s;
}
.is-dark-mode .cropper-container .toolbar .sizes li {
  color: var(--color-text-light, #FEFEFE);
}
.cropper-container .toolbar .sizes li span {
  flex: 1;
}
.cropper-container .toolbar .sizes li span b {
  color: var(--color-primary-shade, #3863ce);
}
.cropper-container .toolbar .sizes li:hover {
  background-color: rgba(var(--color-default-rgb, 155, 155, 155), 0.2);
  border-color: transparent;
}
.cropper-container .toolbar .sizes li:last-of-type {
  border-bottom: none !important;
}
.cropper-container .toolbar .sizes li button {
  width: 100%;
  padding: 0.6rem 0.25rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.cropper-container .toolbar .separator {
  margin: 0 0.5rem;
  width: 1px;
  display: block;
  height: 2rem;
  border-right: 1px solid var(--color-border, #C8C7CC);
}
.cropper-container .toolbar .spacer {
  flex: 1;
}