.file-preview-dialog {
  width: 90vw !important;
  max-width: 90vw !important;
  height: 90vh !important;
  max-height: 90vh !important;
}

/* Mobile responsive */
@media (max-width: 640px) {
  .file-preview-dialog {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    margin: 0 !important;
  }
}

.file-preview-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.file-preview-body {
  flex: 1;
  overflow: auto;
  min-height: 0;
}

