/**
 * Custom Quill Image Resize Module CSS
 * Styles for the secure replacement of quill-image-resize-module
 */

.image-resize-overlay {
  pointer-events: none;
}

.image-resize-overlay div {
  pointer-events: auto;
}

/* Make sure images in the editor are selectable */
.ql-editor img {
  cursor: pointer;
}

/* Add a subtle highlight to selected images */
.ql-editor img.selected {
  outline: 2px solid #4CAF50;
}

/* Image alignment classes */
.ql-editor img.align-left {
  float: left;
  margin-right: 1em;
  margin-bottom: 0.5em;
}

.ql-editor img.align-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1em;
}

.ql-editor img.align-right {
  float: right;
  margin-left: 1em;
  margin-bottom: 0.5em;
}

/* Image size classes */
/*
.ql-editor img.img-small {
  width: 25%;
  height: auto;
}

.ql-editor img.img-medium {
  width: 50%;
  height: auto;
}

.ql-editor img.img-large {
  width: 75%;
  height: auto;
}

.ql-editor img.img-full {
  width: 100%;
  height: auto;
}*/

/* Clear float after images */
.ql-editor p.clear-float {
  clear: both;
}

/* Alignment popup styles */
.image-alignment-popup {
  min-width: 300px;
  max-width: 90%;
}
