/* Mobile Drag & Drop Styles */
@media (max-width: 768px) {
  /* Improve touch targets */
  .flow-step-card {
    min-height: 80px;
    touch-action: manipulation;
  }

  .add-step-button {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }

  /* Enhanced visual feedback for mobile */
  .mobile-drag-preview {
    position: fixed;
    background: #3b82f6;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    animation: dragPreviewPulse 2s infinite;
  }

  @keyframes dragPreviewPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
  }

  /* Drop zone highlighting */
  .drop-zone-active {
    background-color: rgba(59, 130, 246, 0.1) !important;
    border: 2px dashed #3b82f6 !important;
    border-radius: 8px;
  }

  /* Drag overlay */
  .drag-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(59, 130, 246, 0.05);
    z-index: 1;
    pointer-events: none;
  }
}

/* Touch-specific improvements */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects on touch devices */
  .MuiCard-root:hover {
    box-shadow: inherit !important;
    transform: none !important;
  }

  /* Improve active states for touch */
  .MuiCard-root:active {
    transform: scale(0.98) !important;
  }

  .MuiButton-root:active {
    transform: scale(0.95) !important;
  }
}