.pdf-container, .image-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 200px);
  min-height: 600px;
  width: 100%;
}

.pdf-toolbar, .image-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

.pdf-controls, .image-controls {
  display: flex;
  gap: 5px;
}

.pdf-page-info, .image-info {
  font-size: 14px;
  color: #495057;
}

.pdf-download-btn, .image-download-btn {
  white-space: nowrap;
}

.pdf-viewer-iframe {
  flex-grow: 1;
  width: 100%;
  height: 100%;
  border: none;
}

.image-viewer {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: auto;
  background-color: #f8f9fa;
}

.image-viewer img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .pdf-toolbar, .image-toolbar {
    flex-direction: column;
    gap: 10px;
  }
  
  .pdf-container, .image-container {
    height: calc(100vh - 250px);
  }
}