.fileActions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.handle {
  cursor: grab;
  color: var(--muted);
  font-size: 16px;
}
.splitFields {
  margin-top: 16px;
}
.splitFields label:not(:first-child) {
  margin-top: 12px;
}
.splitFields .check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.splitFields .check input {
  width: auto;
}
.warning {
  margin: 12px 0 0;
  color: #8a4b00;
  font-size: 12px;
  line-height: 1.5;
}
.hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.compressionInfo {
  margin-top: 8px;
  line-height: 1.5;
}
.pageThumb {
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}
.pageThumb:hover,
.pageThumb.selected {
  border-color: var(--red);
  box-shadow: 0 0 0 2px #e6353520;
}
.pageThumb.selected {
  background: #fff5f5;
}
.fileList:has(.mergeFile) {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 18px 0;
}
.mergeFile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 5px 18px #0000000a;
}
.mergePreview {
  height: 190px;
  display: grid;
  place-items: center;
  background: var(--soft);
  border-radius: 9px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
}
.mergePreview canvas {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  box-shadow: 0 2px 10px #0002;
}
.fileInfo {
  min-width: 0;
  padding: 12px 2px 8px;
}
.fileInfo > span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
}
.fileInfo small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}
.mergeFile .fileActions {
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.pageDelete {
  z-index: 3;
}
.pageThumb.excluded .pageDelete {
  background: #555;
  font-size: 18px;
}
.pageThumb.excluded:after {
  content: "EXCLUÍDA";
}
