/* Wrapper for each converted page */
.preview-wrapper {
  display: inline-block;
  margin: 12px;
  text-align: center;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.preview-wrapper:hover {
  transform: translateY(-4px);
}

/* Preview JPG image */
.preview-wrapper img,
.preview-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 6px;
  border: 2px solid #ccc;
  object-fit: contain;
  margin-bottom: 10px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.05);
}

/* Download button */
.download-btn {
  display: inline-block;
  padding: 6px 14px;
  background-color: #007bff;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.download-btn:hover {
  background-color: #0056b3;
}

/* Container for all previews */
.comparison-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  padding: 10px;
  background-color: #f8f8f8;
  border: 1px dashed #ddd;
  border-radius: 10px;
}

/* Responsive support */
@media (max-width: 768px) {
  .preview-wrapper img {
    max-width: 150px;
  }

  .download-btn {
    font-size: 13px;
    padding: 5px 12px;
  }
}

