/* Merge PDF Tool Styles */
#drop-zone {
  background: var(--bs-light-bg-subtle);
  border: 2px dashed var(--bs-primary);
  transition: background-color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

#drop-zone.dragover {
  background: var(--bs-primary-bg-subtle);
  border-color: var(--bs-primary-border-subtle);
}

/* PDF List Cards style */
.pdf-merge-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
}

.pdf-merge-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.drag-handle {
  cursor: grab;
  padding: 0.5rem;
  color: var(--bs-secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.drag-handle:hover {
  color: var(--bs-primary);
}

.drag-handle:active {
  cursor: grabbing;
}

/* SortableJS Ghost/Chosen classes */
.sortable-ghost {
  opacity: 0.4;
  background-color: var(--bs-primary-bg-subtle) !important;
  border: 2px dashed var(--bs-primary) !important;
}

.sortable-chosen {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Custom alignment and styling for mobile optimization */
@media (max-width: 576px) {
  .pdf-merge-card {
    padding: 0.75rem !important;
  }
  
  .pdf-merge-card .btn-outline-danger {
    padding: 0.25rem 0.5rem;
  }
}
