.image-watermark-drop-zone {
  border: 2px dashed #dee2e6;
  border-radius: 0.5rem;
  padding: 2.5rem 1.5rem;
  transition: all 0.2s ease;
  background: #fafbfc;
}

.image-watermark-drop-zone.is-dragging {
  border-color: #007bff;
  background: #f0f7ff;
}

.image-watermark-drop-icon {
  font-size: 2.75rem;
}

.image-watermark-item {
  overflow: hidden;
}

.image-watermark-thumb {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 0.35rem;
  border: 1px solid #dee2e6;
  background: #f8f9fa;
}

.image-watermark-preview {
  width: 100%;
  height: 230px;
  border: 1px solid #e9ecef;
  border-radius: 0.35rem;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-watermark-preview img {
  max-width: 100%;
  max-height: 220px;
  display: block;
}

.image-watermark-preview-wrap {
  position: relative;
}

.image-watermark-result-card {
  overflow: hidden;
}

.image-watermark-result-preview {
  width: 100%;
  height: 180px;
  border: 1px solid #e9ecef;
  border-radius: 0.35rem;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-watermark-result-preview img {
  max-width: 100%;
  max-height: 170px;
  display: block;
}

.form-control-color {
  min-height: 38px;
  padding: 0.2rem;
}

.image-watermark-logo-preview {
  width: 180px;
  height: 100px;
  border: 1px solid #dee2e6;
  border-radius: 0.35rem;
  background-image:
    linear-gradient(45deg, #f1f3f5 25%, transparent 25%),
    linear-gradient(-45deg, #f1f3f5 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f1f3f5 75%),
    linear-gradient(-45deg, transparent 75%, #f1f3f5 75%);
  background-size: 16px 16px;
  background-position:
    0 0,
    0 8px,
    8px -8px,
    -8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-watermark-logo-preview img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.image-watermark-individual-logo {
  width: 130px;
  height: 74px;
  border: 1px solid #dee2e6;
  border-radius: 0.35rem;
  background-image:
    linear-gradient(45deg, #f1f3f5 25%, transparent 25%),
    linear-gradient(-45deg, #f1f3f5 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f1f3f5 75%),
    linear-gradient(-45deg, transparent 75%, #f1f3f5 75%);
  background-size: 14px 14px;
  background-position:
    0 0,
    0 7px,
    7px -7px,
    -7px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-watermark-individual-logo img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.image-watermark-individual-file {
  max-width: 100%;
  display: block;
}

.image-watermark-item .per-logo-only {
  min-width: 0;
}

.image-watermark-item .per-logo-file {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.image-watermark-item .individual-logo-name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-watermark-item .individual-logo-preview-wrap {
  max-width: 140px;
}

.image-watermark-item .individual-logo-preview-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Image Watermark v1.0.2c */
.image-watermark-file-column {
  min-width: 0;
}

.image-watermark-file-block {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.image-watermark-upload-preview {
  display: block;
  margin-bottom: 10px;
}

.image-watermark-file-name {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.35;
}

.image-watermark-file-size {
  line-height: 1.3;
}

@media (max-width: 991.98px) {
  .image-watermark-file-column {
    margin-bottom: 18px;
  }
}

/* Image Watermark v1.0.5 - real-time browser preview */
.image-watermark-live-preview-wrap {
  width: 100%;
}

.image-watermark-live-preview {
  width: 100%;
  min-height: 150px;
  max-height: 300px;
  border: 1px solid #dee2e6;
  border-radius: 0.35rem;
  background: #f8f9fa;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-watermark-live-canvas {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
}

.image-watermark-live-preview-wrap .text-muted {
  font-size: 0.82rem;
}
