/**
 * DC Image — drop + host pod Filerobot Image Editor
 */

.tool-workspace--full {
  display: block;
  grid-template-columns: 1fr;
}

.tool-main--image {
  min-height: auto;
}

.tool-main--image .tool-toolbar {
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  align-items: center;
}

.img-hint {
  margin: 0;
  flex: 1;
  min-width: 200px;
  color: var(--dc-text-muted);
  font-size: 13px;
  font-weight: 500;
}

.img-hint .fa {
  color: var(--dc-brand);
  margin-right: 0.35rem;
}

.img-hint a,
.tool-article__card a {
  color: var(--dc-brand);
  font-weight: 700;
}

.img-status {
  margin: 0;
  padding: 0.65rem 1.5rem 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--dc-brand);
}

.img-status.is-error {
  color: #f87171;
}

.img-empty {
  padding: 1.25rem 1.5rem 1.75rem;
}

.img-drop .dc-drop__zone {
  min-height: 240px;
  padding: 2.25rem 1.5rem;
}

.tool-main--image .dc-drop.dc-dragover .dc-drop__zone {
  border-color: var(--dc-brand);
  background: var(--dc-brand-subtle);
}

.img-editor-wrap {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.img-editor-meta {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--dc-text-muted);
}

.img-editor-frame {
  border: 1px solid var(--dc-line);
  border-radius: var(--dc-radius);
  overflow: hidden;
  background: #0e1117;
  min-height: 560px;
}

.img-editor-host {
  width: 100%;
  min-height: 560px;
  height: min(78vh, 820px);
}

.img-editor-host > div,
.img-editor-host [class*="FIE_root"],
.img-editor-host .SfxModal-Wrapper {
  min-height: inherit;
}

.pdf-busy,
.img-busy {
  opacity: 0.7;
  pointer-events: none;
}
