body {
  min-height: 100vh;
}

.search-box {
  max-width: 360px;
}

.drop-zone {
  border: 2px dashed var(--bs-border-color);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.drop-zone:hover,
.drop-zone.dragover {
  border-color: var(--bs-primary);
  background-color: rgba(13, 110, 253, 0.06);
}

.file-row-name {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.file-row-name:hover {
  text-decoration: underline;
  color: var(--bs-primary);
}

#preview-body img,
#preview-body video {
  max-width: 100%;
  max-height: 70vh;
  display: block;
  margin: 0 auto;
}

#preview-body iframe {
  width: 100%;
  height: 70vh;
  border: 0;
}

#preview-editor {
  width: 100%;
  min-height: 60vh;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
}

[data-bs-theme="dark"] .table-light {
  --bs-table-bg: var(--bs-tertiary-bg);
  --bs-table-color: var(--bs-body-color);
}
