/* --- Preview Thumbnails Wrapper --- */
.preview-wrapper {
  display: inline-block;
  margin: 6px;
  cursor: grab;
  transition: transform 0.15s ease-in-out;
  position: relative;
  padding: 5px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.preview-wrapper:active {
  cursor: grabbing;
  transform: scale(0.98);
}

/* --- Preview Thumbnail Image --- */
.preview-wrapper img,
.preview-image {
  width: 100px;
  height: auto;
  max-height: 140px;
  border-radius: 6px;
  border: 2px solid #ccc;
  object-fit: contain;
}

/* --- When dragging preview --- */
.sortable-ghost {
  opacity: 0.4;
  transform: scale(0.9);
}

/* --- Preview Grid (uses your comparison-section) --- */
.comparison-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  padding: 10px;
  border: 1px dashed #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
}

/* Optional: Upload label and button spacing */
.browse-btn {
  margin-bottom: 15px;
}

.action-row {
  margin-bottom: 20px;
}

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

