/* PDF to JPG specific styles */
.img-format-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
}

.img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.img-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.img-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.img-card canvas {
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
}

.img-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.img-card-btn {
  width: 100%;
  padding: 6px 10px;
  font-size: 0.8rem;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.img-card-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
