/* 在线拼图工具特有样式 */

.image-list-panel {
  background: #111116;
  border: 1px solid #24242a;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.image-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
  justify-content: center;
}

.thumbnail-item {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #24242a;
  background: #1a1a20;
  cursor: move;
  transition: all 0.2s ease;
}

.thumbnail-item:hover {
  border-color: #7aa2ff;
  transform: translateY(-2px);
}

.thumbnail-item.dragging {
  opacity: 0.5;
  transform: scale(0.95);
}

.thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumbnail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.thumbnail-item:hover .thumbnail-overlay {
  opacity: 1;
}

.remove-btn {
  background: #ff4d4d;
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

.stitch-controls {
  text-align: center;
}

.sortable-placeholder {
  border: 2px dashed #7aa2ff;
  background: rgba(122, 162, 255, 0.1);
  border-radius: 8px;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .thumbnail-item {
    width: 80px;
    height: 80px;
  }
  
  .image-thumbnails {
    gap: 10px;
  }
}